Created
June 6, 2023 00:07
-
-
Save Whateverable/8072e53f693718ae298b62cecb9ada0e to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
say “1+2”.AST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RakuAST::StatementList.new( | |
RakuAST::Statement::Expression.new( | |
expression => RakuAST::ApplyInfix.new( | |
left => RakuAST::IntLiteral.new(1), | |
infix => RakuAST::Infix.new("+"), | |
right => RakuAST::IntLiteral.new(2) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment