marcelog / ex_abnf

Parser for ABNF Grammars
Apache License 2.0
61 stars 12 forks source link

Update for elixir 1.8 #17

Open baldmountain opened 5 years ago

baldmountain commented 5 years ago

It looks like there are a lot of changes but that is the Elixir 1.8 formatter. The actual differences are:

Feel free to take or reject these changes. It was motivated by trying to write a tokenizer like the classic tokenizer in lucene. You can see what I was trying here: https://github.com/baldmountain/lucille I needed the changes to get my project to successfully parse the text version of Tom Sawyer downloaded from Project Gutenberg. ABNF is probably too slow for this since is interpreted. I may try something else. Just wanted to pass on my changes in case they are useful.