factor/extra/peg/pl0/pl0-tests.factor

14 lines
277 B
Factor

! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
!
USING: kernel tools.test peg peg.pl0 ;
IN: temporary
{ "abc" } [
"abc" 'ident' parse parse-result-ast
] unit-test
{ 55 } [
"55abc" 'number' parse parse-result-ast
] unit-test