rscc

Rscc is an extensible compiler.

Programmers are encouraged to write extensions to change the syntax and semantics of the language that rscc accepts.

We have built a sequence of compilers to experiment with ideas for rscc.

The current compiler experiment is called A. It compiles a low-level language that is like C but with more verbose type syntax. A uses a simple yacc-based parser.

We are using the A compiler to experiment with extension mechanisms without worrying about parsing issues or what the eventual syntax will be that extension writers use.

Once we have fleshed out the list of extensions and understand the kinds of extensibility that the compiler must support, we will convert the A compiler to accept the full C language and then focus on building convenient support for extension writers.

Related pages: extensions parsing a dialect of ml subshaping the tt project