Quick actions

cmd+k|ctrl+k

Navigation

Languages

Shane's Turing complete language; P6 grammar, parser

Snippet info

Language

Raku

Visibility

public

Author

raiph

Created

2019-09-07T16:23:09Z

Updated

2023-09-25T00:41:11.728108Z

# See https://www.reddit.com/r/ProgrammingLanguages/comments/d076go/how_to_write_a_turingcomplete_programming/ezaqcs2
no precompilation;
use lib '.';
use Shanish-grammar;
use Shanish-toP6;
use Grammar::ToAST;
use MONKEY;
my $mo = Shanish-grammar .parse: 'sieve-code'.&slurp, actions => Shanish-toP6.new;
say cst2ast $mo;
INFO