Skip to content

tobiasfremming/CvslCompiler

Repository files navigation

Very Simple Langauge Compiler

logo

Compiles VSL code (Very Simple Language) into runnable x86_64 assembly code.

  • LL parser

Dependencies

To build, you will need

  • CMake
  • flex v. 2.6
  • bison v. 3.5
  • GNU make or Ninja

Building

Creating a cmake build inside a new folder build/, with the Ninja generator. You only need to do this once.

cmake -B build -GNinja

Compiling the project

cmake --build build

Running

The final binary can be found in build/vslc. See --help for help. Input is passed to stdin, output is printed to stdout.

Example usage:

build/vslc -s < vsl_programs/ps2-parser/variables.vsl

About

A compiler for very simple language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published