Re: Project idea: Perl 6 syntax hilighting with STD.pm

2008-07-29 Thread Moritz Lenz
John M. Dlugosz wrote: > Does that mean there is a tool I can use to apply STD.pm to syntax-check > my examples or ask questions of it? Can you point to that? in the pugs repository: $ cd src/perl6 $ make $ ./tryfile $filename That assumes a perl 5.10 in /usr/local/bin/perl HTH, Moritz -- Mo

Re: Project idea: Perl 6 syntax hilighting with STD.pm

2008-07-29 Thread John M. Dlugosz
Does that mean there is a tool I can use to apply STD.pm to syntax-check my examples or ask questions of it? Can you point to that? --John Moritz Lenz wrote: Since now STD.pm parses most Perl 6 code now, and spits out a parse tree in YAML, a brave soul might want to write a syntax hilighter

Project idea: Perl 6 syntax hilighting with STD.pm

2008-07-28 Thread Moritz Lenz
Since now STD.pm parses most Perl 6 code now, and spits out a parse tree in YAML, a brave soul might want to write a syntax hilighter for Perl 6. I volunteer to write a HTML backend for it ;-) I think it basically involves walking the YAML generated tree, keep track of a few variables and emit a l