writing_an_interpreter_in_elixir icon indicating copy to clipboard operation
writing_an_interpreter_in_elixir copied to clipboard

Use binary pattern matching for tokenizer.

Open denispeplin opened this issue 7 years ago • 1 comments

Re-writing Lexer in a more elixir-ish way, using binary pattern matching, multi-clause functions, and guards.

I'm not sure this should go into the master branch, it is for owner to decide. But I enjoyed this re-writing anyway.

denispeplin avatar Oct 01 '17 15:10 denispeplin

Hey! Very cool to have another approach of the tokenizer. However, I personally like my approach more and would keep it that way.

fabrik42 avatar Oct 07 '17 14:10 fabrik42