Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 869 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 869 Bytes

Overview

An umbrella project for easily compiling all my projects related to C language parsing.

It includes:

  • CParser: turns valid C code into a nice clean abstract syntax tree (AST) to be used in your JVM project. Written in Scala.
  • CParserWebDemo: turns CParser into a Javascript widget (it's in Scala, but transpiles to JS with ScalaJS) that you can embed in a website. It can display the AST, or turn the original C back into C again, which isn't very useful but does act as a simple example of how to walk the AST generated by CParser.

Use

Clone this project. Then run:

git submodule update --init --recursive

See the individual projects for usage instructions. This project simply makes sure that all dependencies are where they're expected to be.