Skip to content

Instantly share code, notes, and snippets.

@moritz
Created August 16, 2011 14:30
Show Gist options
  • Save moritz/1149217 to your computer and use it in GitHub Desktop.
Save moritz/1149217 to your computer and use it in GitHub Desktop.
Summary on how my Perl 6 modules behave on nom
XML-Writer OK
SVG OK
SVG::Plot Not ok: PAST::Compiler can't compile node of type SVG::Plot::AxisPosition
Math::RungeKutta OK (but lots of "Use of uninitialized value in numeric context" from "make test", didn't have those warnings in master)
CGI::Application Not OK: Symbol '$callback' not predeclared in <anonymous>
JSON::Tiny Not OK: :base($number) conversion NYI
Nonogram Not OK: Method 'rxtype' not found for invocant of class 'PAST;Regex'
@cognominal
Copy link

It is probably due to nom not supporting variable in rules.

[rakudo/rakudo nom] $ cat A.pm
grammar A {
my $a = 'a';
token TOP { <$a> }
}

[ rakudo/rakudo nom] $ perl6 A.pm
===SORRY!===
Method 'rxtype' not found for invocant of class 'PAST;Regex'
[ rakudo/rakudo nom] $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment