diff options
author | Adrian Thurston <thurston@complang.org> | 2015-10-04 16:23:19 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-10-04 16:23:19 -0400 |
commit | 6fb0cdffbafb135edaec7d927e5e508997c1d826 (patch) | |
tree | 878b580f8c8cdd4ae4dc1ea942b14c8f17940fc0 /colm.vim | |
parent | 514d1771d7956df29ea8e9f0c5f0a35d47bc8bc4 (diff) | |
download | colm-6fb0cdffbafb135edaec7d927e5e508997c1d826.tar.gz |
sketched a grammar for reduction sections
Diffstat (limited to 'colm.vim')
-rw-r--r-- | colm.vim | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -59,15 +59,15 @@ syntax keyword Type \ namespace lex reducefirst global include export \ construct cons parse parse_tree parse_stop match require send send_tree \ preeof left right nonassoc prec context struct alias - \ end eos print + \ end eos print reduction nonterm syntax keyword typeKeywords - \ int str bool any ref ptr void + \ int str bool any ref ptr void list_el map_el syntax keyword Keyword \ reject else elsif return yield for while if \ typeid in break - \ new new2 deref ni cast switch case default + \ new deref ni cast switch case default syntax match tokenName "[a-zA-Z_][a-zA-Z_0-9]*" contained syntax match varCapture "[a-zA-Z_][a-zA-Z_0-9]*:" |