Skip to content

Instantly share code, notes, and snippets.

@atrodo
Created February 16, 2011 14:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
{atrodo@squaak}> ./installable_squaak --target=parse t/00-sanity.t
"parse" => PMC 'Regex;Match' => "x = 42\n" @ 0 {
<statementlist> => PMC 'Regex;Match' => "x = 42\n" @ 0 {
<stat_or_def> => ResizablePMCArray (size:1) [
PMC 'Regex;Match' => "x = 42\n" @ 0 {
<statement> => PMC 'Regex;Match' => "x = 42\n" @ 0 {
<assignment> => PMC 'Regex;Match' => "x = 42\n" @ 0 {
<primary> => PMC 'Regex;Match' => "x " @ 0 {
<identifier> => PMC 'Regex;Match' => "x" @ 0 {
<ident> => PMC 'Regex;Match' => "x" @ 0
}
}
<EXPR> => PMC 'Regex;Match' => "42" @ 4 {
<integer> => PMC 'Regex;Match' => "42" @ 4 {
<VALUE> => PMC 'Regex;Match' => "42" @ 4
<decint> => \parse[0]
}
}
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment