qrno / Oberon-LLVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oberon-LLVM

Resources

The following tutorial was very useful in the development of the project: My First Language Frontend with LLVM Tutorial

Missing Features

  • All types besides integers

  • Global Variables

  • For Loops besides "FOR"

Usage

  • Compile the main.cpp program by running the compile.sh file.

  • Move a .oberon file into the directory and rename it "code.oberon".

  • Export the program's AST into a file named "code.json" by running the following command:

java -jar oberon.jar -i code.oberon -o code.json -b json

The oberon.jar file is obtained by compiling the Oberon-Scala project

  • Run the "main" executable to generate the "code.ll" file.

  • Run the genexec.sh to generate the "app" executable.

About


Languages

Language:C++ 100.0%Language:Shell 0.0%