Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wbars/compiler

Simple Pascal-like language to JVM bytecode compiler
https://github.com/wbars/compiler

compiler jvm-bytecode

Last synced: 4 days ago
JSON representation

Simple Pascal-like language to JVM bytecode compiler

Awesome Lists containing this project

README

        

Simple Pascal-like language to JVM bytecode compiler.

See usage in run.sh file

Main differences from classic Pascal:

- No subrange bounds in array types (write just `array of Integer`)
- Array literals `{1,2,3}`
- `new_array(size: Integer; type: Type)` for allocating empty array with size
- `array_push(index: Integer; value: T, arrayReference: Array)` instead of assignment by index

**Disclaimer**: since this project was made only for self-learning and from curiosity there is very basic Pascal features support
and some of these can be *suddenly* disabled (like comments).