May 2018

Command signature parser & matcher


What is Lanka?

Lanka is a custom command signature parser and matcher used by Taxon.


Taxon was using a mix of regular expressions and string matching, making painful the command creation. Yargs uses an understandable syntax, so I started to search alternatives but nothing really existed fitting my needs. Because I was also working with Chevrotain, a powerful parser builder, I created my own command signature parser and now Taxon uses it.