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
5.7K Stars 470 Forks GNU General Public License v3.0 145 Commits 15 Opened issues

Description

A Compiler Writing Journey

Services available

!
?

Need anything else?

Contributors list

# 105,148
Shell
lexical...
C
C++
5 commits
# 117,161
Shell
lexical...
C
C++
4 commits
# 78,864
MATLAB
lexical...
vala
google-...
2 commits
# 152,535
Shell
lexical...
C
C++
2 commits
# 205,751
Shell
lexical...
C
C++
1 commit
# 97,645
Shell
lexical...
C
C++
1 commit
# 1,102
gpu-pro...
lexical...
XML
scalajs
1 commit
# 207,960
Shell
lexical...
C
C++
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.