Skip to content

Observe how the C preprocessor expands your complicated macros

License

Notifications You must be signed in to change notification settings

ptaffet/preprocessor-debug

Repository files navigation

preprocessor-debug

Observe how the C preprocessor expands your complicated macros

Dependencies:

  • clang 4.0
  • CMake 3.3+

Build instructions:

  • mkdir build && cd build
  • cmake ..
  • make

Use instructions:

./pp-step ../example.cpp

asm.js version:

Dependencies

  • clang 4.0
  • yarn
  • Emscripten

Build instructions:

  • Build clang in bitcode. This is hard, but can be done with the help of emmake. When you are done, update CLANG_LIB_PATH in web/Makefile.
  • cd web
  • make
  • yarn

Since building clang in bitcode is hard, a pre-compiled version of the tool is in web/compiled.tgz

About

Observe how the C preprocessor expands your complicated macros

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published