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.
- C++17 compiler (GCC, Clang, or MSVC)
- LLVM (≥ 14) with development headers
clang(to compile generated IR)llvm-config
Clone the repository and run the build script:
git clone https://github.com/VastNova-lang/vastnova.git
cd vastnova
./build.shThis produces the vastnova executable in the project root.
Create a file hello.vn:
print("Hello, World!")
Then compile and execute:
./vastnova hello.vn hello
./helloOutput:
Hello, World!
For more examples, see the examples/ directory.
Detailed language documentation, compiler internals, and contribution guidelines are available in the Docs/ folder.
MIT License