Quick actions

cmd+k|ctrl+k

Navigation

Languages

CleanAST

Snippet info

Language

Raku

Visibility

public

Author

raiph.mellor

Created

2021-01-21T21:15:51Z

Updated

2021-03-23T22:21:08.969342Z

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
INFO