You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sunyinqi0508
7565bcbde4
|
5 years ago | |
---|---|---|
BadassPascal | 6 years ago | |
.gitattributes | 6 years ago | |
.gitignore | 6 years ago | |
BadassPascal.sln | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 5 years ago |
README.md
BadassPascal
This code came from my undergrad course project for compiler principles in 2015, although I did minimum bug fixes on this recently, this code still can not be considered as efficient nor even readible by any means because a lot of hacks were used to make it work and the writing doesn't confrom to a stable coding style either. However, it is something that I was proud of at that time.
Another PL/0 language (https://en.wikipedia.org/wiki/PL/0) compiler and debugger written in C++.
Supported Environments:
MSVC project: BadassPascal.sln
GNU C++/Clang: compile BadassPascal.cpp directly
e.g.
$ g++ -O3 BadassPascal.cpp -o BP
$ ./BP InsersionSort.pas