damien popped up on p6l to talk about parsing of perl6 and gave this excellent one liner:
$parse_tree = ( $source_text ~~ m:keepall/ <Perl.prog> / );
which is very nice - a full adaptive parse tree including comments, whitespace, etc.
damien popped up on p6l to talk about parsing of perl6 and gave this excellent one liner:
$parse_tree = ( $source_text ~~ m:keepall/ <Perl.prog> / );
which is very nice - a full adaptive parse tree including comments, whitespace, etc.
This was posted on Thursday 25th November, 2004 at 3:46 am Pacific.
Read more posts from November 2004.
Read more posts tagged with:
perl
This is the personal website of Cal Henderson, Slack co-founder & CTO.
I give occasional talks, write code and sometimes articles.
aws books color covid emoji fonts games halflife havana ibm lego maps math minecraft music php programming reading technology tube via-matts via-momorgan wiring wow
apple awesome bacon code coding comics design flickr food games javascript lego maps movie music perl php programming software tech tv video visualization web