This is a minimal code generator written using Flex, Bison and LLVM.
See Cem Bozşahin's repo for VLang specs.
To compile the compiler, just run make:
make
It will generate parser, irgen and compiler executables.
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