diff options
author | Adrian Thurston <thurston@colm.net> | 2019-10-24 08:34:18 -0300 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-10-27 09:17:54 -0300 |
commit | a8ff0c82a3a26adf1547e8bef9919f29341849b1 (patch) | |
tree | 9a458fb5857c9b996d53861ac64fb0c525b76fcb /grammar/Makefile | |
parent | 8ca3b21e389fe83fd4eba2655316f4f6b63d9e72 (diff) | |
download | colm-a8ff0c82a3a26adf1547e8bef9919f29341849b1.tar.gz |
start of a PCRE parser in C/Ragel
Basic structure is there, needs to be filled in. So far it handles
sub-expressions, lookarounds, acaccepts characters a-z and optinos c and i.
Most of what is done so far is tree building.
Diffstat (limited to 'grammar/Makefile')
-rw-r--r-- | grammar/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/grammar/Makefile b/grammar/Makefile index b7613689..f269524f 100644 --- a/grammar/Makefile +++ b/grammar/Makefile @@ -1,2 +1,8 @@ +all: rust pcre + rust: rust.lm parserust.lm - ../colm/colm parserust.lm + ../colm/colm -o rust parserust.lm + +pcre: pcre.rl + ../ragel/ragel -G2 pcre.rl + gcc -g -Wall -o pcre pcre.c |