Implement naive recusrive descent

Ragel doesn't allow us to recurse so we simply
reinvoke the parser for each step.
This commit is contained in:
Tobias Lutke
2013-03-19 18:30:08 -04:00
committed by Tom Burns
parent 7dcf578898
commit 06486fd21d
8 changed files with 1275 additions and 564 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ require 'rubygems/package_task'
task :default => 'test'
task :ragel do
sh "find . -name '*.rl' | xargs ragel -R"
sh "find . -name '*.rl' | xargs ragel -R -F1"
end