An open API service indexing awesome lists of open source software.

https://github.com/markcheno/m5

A compiler written in C for a Pascal like language
https://github.com/markcheno/m5

Last synced: about 1 month ago
JSON representation

A compiler written in C for a Pascal like language

Awesome Lists containing this project

README

          

m5 - a toy compiler for a Pascal like language.

It is build with lex/yacc and generates an abstract syntax tree, which can then be walked to generate code. Right now it only generates an pseudo m68k like assembler. It was originally intended to create standalone code for PalmOS. There is a test script in the test directory.

All files copyright (c) 2012 Mark Chenoweth and released under the MIT license.