Starting work on EBNF for lisp
parent
b77d660141
commit
a033091b44
|
@ -1,4 +1,8 @@
|
||||||
! Copyright (C) 2008 James Cash
|
! Copyright (C) 2008 James Cash
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
USING: kernel peg.ebnf peg.expr ;
|
||||||
IN: lisp
|
IN: lisp
|
||||||
|
|
||||||
|
EBNF: expr
|
||||||
|
list = "(" ( atom | list )* ")" => [[ second 1array ]]
|
||||||
|
;EBNF
|
Loading…
Reference in New Issue