Glados
The Glados project aims at developing a language from scratch with a compiler and a vm for it. The language is a simple imperative language, with a C-like syntax. The compiler and the vm are written in haskell.
Prerequisites
Before you begin, ensure you have these packages installed in your machine: - Haskell - Stack
Getting Started
Coding In Funk
To learn how to code in Funk, you can read the Funk Language Documentation.
Running Funk
To run your code written in Funk, you must first compile it to bytecode. You can do so by running the following command:
This will generate aout.bin
file in the same directory as your source files.
To run the bytecode, you can use the following command: