Adding fix to lisp.parser to allow lisp-exprs to be atoms

db4
James Cash 2008-06-10 01:44:38 -04:00
parent e41f1338c6
commit ea1ad5ac34
1 changed files with 1 additions and 1 deletions

View File

@ -34,6 +34,6 @@ string = dquote ( escaped | !(dquote) . )* dquote => [[ second >string ]]
atom = number
| identifier
| string
list-item = _ ( atom | s-expression ) _ => [[ second ]]
s-expression = LPAREN (list-item)* RPAREN => [[ second seq>cons ]]
list-item = _ ( atom | s-expression ) _ => [[ second ]]
;EBNF