Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 546 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 546 Bytes

Sazak's VLang Compiler

This is a minimal code generator written using Flex, Bison and LLVM.

See Cem Bozşahin's repo for VLang specs.

Usage

To compile the compiler, just run make:

make

It will generate parser, irgen and compiler executables.

Tools

cat source_code_file.v | ./parser
cat source_code_file.v | ./irgen
cat source_code_file.v | ./compiler

The compiler generates a LLVM IR code to file out.ll