Skip to content

An experimental C parser that embeds preprocessor into parser.

Notifications You must be signed in to change notification settings

ChAoSUnItY/tangle

Repository files navigation

Tangle

When your preprocessor and parser tangles together.

An experimental C parser that embeds preprocessor into parser.

This is meant to prototype "regional lexer" as a solution to seamlessly parse #define alised tokens and macro tokens without additional process stage. The final shipment to production will be introduced in sysprog21/shecc once the prototype is finished and tested.

Todo List

  • 1-to-n #define alias
  • function-like macro
  • nested function-like macro
  • multiple line function-like macro (backed by \ backslash character)
  • __VA_ARGS__ parameter in function-like macro
  • token concatentation (## concatentation operator)
  • token stringizing (# stringizing operator)

About

An experimental C parser that embeds preprocessor into parser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published