Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 750 Bytes

File metadata and controls

31 lines (21 loc) · 750 Bytes

Libra

This is a compiler for a project.

Usage

Run the executable from the command line/terminal/shell with a path to the source code you want to compile as the only argument. Currently, we print out the furthest progress we are able to make. Eventually, we will output compiled source code.

Example (if it's in the sys path)

libra example.libsrc

Building

NOTE: Shell commands shown assume a working directory of this repository.

Dependencies:

  • CMake >= 3.14 (you can get CMake here )

  • Any C Compiler (I recommend GCC)

First, generate a build tree using CMake.

    cmake -G

Finally, build an executable from the build tree.

    cmake --build build