srcML
Resources for srcML:
- srcML help
srcml --help
- srcML manual
man srcml
- srcML.org General srcML site
- srcML Playground. Enter your source on the left and as you edit you can view the srcML on the right. srcML has a C library with a C++ implementation, but can be built for Wasm to run in the browser. You can even upload a file/directory and download a srcML file.
- srcML Documentation/Elements List of srcML elements. Click on the checkmarks for more documentation.
The srcML client program, srcml, is installed in the GitHub Codespaces that we use.
To use srcml with an existing file:
If you want to use it on a single statement:
Note that the \n is expanded into newlines.
If you want to convert from srcML back to source code: