Skip to content

Instantly share code, notes, and snippets.

@atrodo
Created February 16, 2011 14:55
Show Gist options
  • Save atrodo/829495 to your computer and use it in GitHub Desktop.
Save atrodo/829495 to your computer and use it in GitHub Desktop.
{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