/lacsap

LLVM-based pascal compiler

Primary LanguageC++ISC LicenseISC

This is a nearly complete Pascal compiler, based on LLVM.

*The compiler now passes the ISO7185 Pascal Acceptance Test suite.*

Some support for iso10206 as well.

See BUILD.md for build instructions.

The purpose of the project is mainly to learn how LLVM operates together with a compiler.

Among things NOT yet supported are:
- Debug symbols (somewhat working).
- Classes & objects are only somewhat supported.
- Good error handling. Now slightly improved.
- Proper type checking. Now better - but not perfect.
- Support for unsigned integral types. Some support.
- Refactor AST dump functions to use visitors.
- Separate compile units - partly working.
- Stop using clang as the "linker". This may never happen... (Now supporting gcc as alternative)

Lots of other small and large things that I can't think of right now.

The above list is a rough "todo" list in prioritised order. 

Regards,
Mats