Code review: a "tokenizer" library based on regular expressions


(Gonzalo Chumillas) #1

Hello to Everybody,

That was my first library written in GO. It was a “tokenizer” library based on regular expressions:

And this is a proof of concept. The following code evaluates a mathematical expressions:

I would appreciate comments and if the code can be improved in some way.
Thanks.