Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.15 KB

Introduction

The C Preprocessor is an interesting standard. It appears to be derived from the de-facto behaviour of the first preprocessors, and has evolved over the years. Implementation is therefore difficult.

JCPP is a complete, compliant, standalone, pure Java implementation of the C preprocessor. It is intended to be of use to people writing C-style compilers in Java using tools like sablecc, antlr, JLex, CUP and so forth (although if you aren't using sablecc, you need your head examined).

This project has has been used to successfully preprocess much of the source code of the GNU C library. As of version 1.2.5, it can also preprocess the Apple Objective C library.

JogAmp Branch

This branch is modified for JogAmp to supply GlueGen with JCPP.

This branch is only intended as a submodule for GlueGen and hence must be build from within GlueGen.

Original JCPP Version

Documentation