This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use NQPHLL; | |
grammar Rubyish::Grammar is HLL::Grammar { | |
token TOP { <statementlist> } | |
rule statementlist { [ <statement> \n+ ]* } | |
proto token statement {*} | |
token statement:sym<puts> { | |
<sym> <.ws> <?["]> <quote_EXPR: ':q'> |