Created
January 11, 2012 04:44
-
-
Save KrisShannon/1593074 to your computer and use it in GitHub Desktop.
LTM Backtracking Hell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grammar LTM-Hell { | |
rule TOP { [ <a> | <b> ] } | |
token a { [ xxxxx { fail } | xxx {} xx ] } | |
token b { [ xxxx {} x ] } | |
} | |
say LTM-Hell.parse('xxxxx').perl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment