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
2012-10-28 21:55:20 -04:00
parent 18b83a58bd
commit cd040dabd8
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