Compilation Principle course project.
Implement Merge Sort with C++, Java, Python and Haskell , and compare their performance.
Implement a mini lexical analyzer with DFA, ouputing token stream as XML file.
Implement a mini syntax analyzer with recursive descent method, outputing parse tree as XML file.
Implement a mini code generator (X86 or MIPS assembly).
C:
MIPS:
It's an initial attempt in the field of compilers ...
Copyright © Gerry.
You can do anything as you want.