madrobby/microjs.com — pull request #314 by aaditmshah (2012-10-04 17:06:03+00:00)
Title: Added a micro library for lexical analysis.

Lexer is a small, simple and efficient library for programmatically creating scanners. It builds on the concept of having a single module do a single thing, but doing it well. Lexer has no known bugs and can be easily extended or turned inside out to implement more complex functionality. It uses JavaScript regular expressions to define rules and match input. Thus it leverages powerful features like backreferences from the perl environment. Since it's written in pure JavaScript 1.3 it should work on any JavaScript platform.