View on GitHub


DevMine parsers are meant to parse source code repositories and produce an extended custom abstract syntax tree as JSON, as defined by srcanlzr.

Each parser is required to be able to read either directly from a folder containing the source code as text files or directly from a tar archive.

The output of the languages parsers can be redirected to srcanlzr or repotool for further processing.


Each of the language parser can be installed using srctool with the install command. See srctool help for more details.

How to write a language parser

Documentation on how to write a parser can be found here.

An article explaining the steps to follow in order to write a parser can be found here.