https://github.com/kulp/toycen
Toy C compiler for (auto-)didactic purposes — the TOY C ENvironment !
https://github.com/kulp/toycen
Last synced: about 1 year ago
JSON representation
Toy C compiler for (auto-)didactic purposes — the TOY C ENvironment !
- Host: GitHub
- URL: https://github.com/kulp/toycen
- Owner: kulp
- Created: 2009-05-09T00:48:37.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2012-10-07T05:40:03.000Z (over 13 years ago)
- Last Synced: 2025-02-08T22:15:39.570Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 457 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
toycen aspires to be a C compiler written in C that provides me (kulp) a
platform for experimentation, especially in visualisations, and hopefully can
be useful to others, ideally as a teaching tool. I don't pretend to have a very
approachable coding style, so the usefulness of the code as it exists at the
moment (ignoring its incompleteness) may be limited.
At the moment, toycen doesn't compile anything, and it doesn't even have a
backend. It can parse preprocessed C89 mostly, and construct an AST. Stay tuned
for exciting future developments !
Darren Kulp
kulp@freenode
2011-06-14