IN: compiler.tests USING: peg.ebnf strings tools.test ; GENERIC: ( times -- term' ) M: string ; EBNF: parse-regexp Times = .* => [[ "foo" ]] Regexp = Times:t => [[ t ]] ;EBNF [ "foo" ] [ "a" parse-regexp ] unit-test