Skip to content

Latest commit

 

History

57 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VastNova Compiler

VastNova is a lightweight, statically typed programming language that compiles directly to native executables via LLVM. It features a clean syntax, type inference, and a minimal runtime – ideal for scripting, embedded systems, or learning compiler construction.

Quick Start

Prerequisites

  • C++17 compiler (GCC, Clang, or MSVC)
  • LLVM (≥ 14) with development headers
  • clang (to compile generated IR)
  • llvm-config

Build

Clone the repository and run the build script:

git clone https://github.com/VastNova-lang/vastnova.git
cd vastnova
./build.sh

This produces the vastnova executable in the project root.

Compile and Run a Program

Create a file hello.vn:

print("Hello, World!")

Then compile and execute:

./vastnova hello.vn hello
./hello

Output:

Hello, World!

For more examples, see the examples/ directory.

Documentation

Detailed language documentation, compiler internals, and contribution guidelines are available in the Docs/ folder.

License

MIT License

About

vastnova

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages