Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonprickett/mslcompiler
Coursework from Aston University Programming Language Implementation course 1995
https://github.com/simonprickett/mslcompiler
academic academic-project compiler modula-2
Last synced: 9 days ago
JSON representation
Coursework from Aston University Programming Language Implementation course 1995
- Host: GitHub
- URL: https://github.com/simonprickett/mslcompiler
- Owner: simonprickett
- License: mit
- Created: 2014-12-28T21:34:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-05T17:32:54.000Z (about 8 years ago)
- Last Synced: 2024-04-14T23:32:10.895Z (7 months ago)
- Topics: academic, academic-project, compiler, modula-2
- Language: Modula-2
- Homepage: https://simonprickett.dev/
- Size: 22.5 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mslcompiler
===========Coursework from Aston University Programming Language Implementation course 1995.
As part of one of our courses, we wrote a "compiler" that had to parse the grammar for a high level language, do lexical analysis etc and "compile" the program into a set of "machine code" instructions that another program could run. It was also meant to identify syntax errors.
The code is in Modula-2 (.DEF and .MOD files), with sample programs along with their output in .TXT files. Find out more about Modula-2 at http://en.wikipedia.org/wiki/Modula-2
This was written as part of my BSc Computing Science degree, I found it the other day and thought I would put it on here for amusement.
Strangely enough, one of the first things I had to do in my first job after graduating was produce something similar in the C language using Bison and Flex (Compiler compiler tools) for a LISP like language.