mirror of
https://github.com/cregit/cregit.git
synced 2026-03-02 18:23:32 +01:00
Introduction
srcMLtoken transcodes the output of srcML (www.srcml.org) to a tokenized view that can be used by cregit.
Requirements
- srcml must be installed and in the PATH (www.srcml.org)
How to use
The input of srml2token is the output of srcml. srml2token takes no parameters, and it reads its input from stdin and writes to stdout.
srcml -l C --position <filename> | srcml2token
How to build
- It requires xerces to be installed
- simply run make
make
TODO
- create a cmake configuration file for it
License
The code is mostly derived from the examples of Xerces, hence it is under the Apache-2.0
-
its dependencies
- xerces: Apache-2.0