aboutsummaryrefslogtreecommitdiff
path: root/grammars/lisp.bp
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-10 23:46:46 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-10 23:46:46 -0700
commit17dbe5d9e8fcbe2c5f2f494658868b28857a25ca (patch)
treeb5fafea0caac649ab93c273e1d81f476a13624fc /grammars/lisp.bp
parent943aa0b71a8c2a03fe4b57317d4c7bc7df7d014c (diff)
Added {word} feature and cleaned up the code some.
Diffstat (limited to 'grammars/lisp.bp')
-rw-r--r--grammars/lisp.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/lisp.bp b/grammars/lisp.bp
index 25e2312..3e1f4dc 100644
--- a/grammars/lisp.bp
+++ b/grammars/lisp.bp
@@ -9,7 +9,7 @@
comment: ";" ..$
string: `" ..%(`\.) `"
list: parens
-function-def: `(__"defun"|__id
+function-def: `(__{defun}__id
function: function-def ..%parens `)
id-char: `A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~
id: !<`A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~ +`A-Z,a-z,0-9,!,$,%,&,*,+,-,.,/,:,<,=,>,?,@,^,_,~