Skip to content

A tiny C2 compiler (very WIP). Most likely will never work as intended.

License

ISC and 2 other licenses found

Licenses found

ISC
LICENSE
MIT
LICENSE_LOGH
MIT
LICENSE_THROW
Notifications You must be signed in to change notification settings

luciusmagn/c2tc

Repository files navigation

c2tc (C2 Tiny Compiler)

A tiny compiler to compile C2 code. C2 is a language invented and its first and main compiler written by bvdberg. The compiler can be found at c2lang/c2compiler.

Warning: like nothing works right now.

Libraries in use

Waypoints

  • Parse recipe files
  • Process recipes
  • Parse C2
  • Parse each C2 file
  • Command-line arguments
  • Recipe options
  • First C2 pass - throw out unneeded tokens
  • Second C2 pass - overview pass
  • Third C2 pass - analysis pass
  • Fourth C2 pass - output pass
  • .h -> .c2i
  • .c2i -> .h
  • tcc tie-in
  • Parse manifest file and c2libs

About

A tiny C2 compiler (very WIP). Most likely will never work as intended.

Resources

License

ISC and 2 other licenses found

Licenses found

ISC
LICENSE
MIT
LICENSE_LOGH
MIT
LICENSE_THROW

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published