CleanAST
my \example-code = "(a + b)*3";
use lib '.';
use ExampleGrammar;
use CleanAST :Parens;
my \cst = ExampleGrammar .parse:
example-code,
actions => CleanAST;
say .ast given cstINFO
my \example-code = "(a + b)*3";
use lib '.';
use ExampleGrammar;
use CleanAST :Parens;
my \cst = ExampleGrammar .parse:
example-code,
actions => CleanAST;
say .ast given cst