Need help with acwj?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

DoctorWkt
4.7K Stars 340 Forks GNU General Public License v3.0 145 Commits 14 Opened issues

Description

A Compiler Writing Journey

Services available

!
?

Need anything else?

Contributors list

# 123,045
Shell
lexical...
C
C++
5 commits
# 137,430
Shell
lexical...
C
C++
4 commits
# 173,364
Shell
lexical...
C
JavaScr...
2 commits
# 80,343
pixhawk
MATLAB
lexical...
vala
2 commits
# 236,969
Shell
lexical...
C
C++
1 commit
# 97,389
Shell
lexical...
C
Python
1 commit
# 233,316
Shell
lexical...
C
C++
1 commit
# 1,166
gpu-pro...
lexical...
XML
scalajs
1 commit

A Compiler Writing Journey

In this Github repository, I'm documenting my journey to write a self-compiling compiler for a subset of the C language. I'm also writing out the details so that, if you want to follow along, there will be an explanation of what I did, why, and with some references back to the theory of compilers.

But not too much theory, I want this to be a practical journey.

Here are the steps I've taken so far:

There isn't a schedule or timeline for the future parts, so just keep checking back here to see if I've written any more.

Copyrights

I have borrowed some of the code, and lots of ideas, from the SubC compiler written by Nils M Holm. His code is in the public domain. I think that my code is substantially different enough that I can apply a different license to my code.

Unless otherwise noted,

  • all source code and scripts are (c) Warren Toomey under the GPL3 license.
  • all non-source code documents (e.g. English documents, image files) are (c) Warren Toomey under the Creative Commons BY-NC-SA 4.0 license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.