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
- Host: GitHub
- URL: https://github.com/markcheno/m5
- Owner: markcheno
- Created: 2012-10-06T16:12:31.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-10-06T16:17:35.000Z (over 13 years ago)
- Last Synced: 2025-07-07T11:09:19.025Z (12 months ago)
- Language: C
- Homepage:
- Size: 473 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.