I have successfully solved the challenge from 
[http://rosettacode.org/wiki/Compiler/lexical_analyzer](http://rosettacode.org/wiki/Compiler/lexical_analyzer).

Currently this challenge is missing an example in Nim, I'm willing to suggest 
my solution there. I would like to ask you to review my code and possibly give 
me some advice on how to write better code. I'm new to Nim and free to 
suggestions.

The code is ~200 lines so please take a deep breath:

[https://github.com/greenfork/rosetta-compiler/blob/master/lexical_analyzer.nim](https://github.com/greenfork/rosetta-compiler/blob/master/lexical_analyzer.nim)

View readme if needed.

Reply via email to