Installation
Compile from sources
P.S. u can find binary releases in the releases
After running compile.sh you will get niva_compiler folder that contains jvm or native binary.
JVM
sh compile.sh jvm
run compiler from bin folder
Native
install graalvm
yay -S jdk21-graalvm-bin
and set it default:sudo archlinux-java set java-21-graalvm
on Arch,nix shell nixpkgs#graalvm-ce
on nixsh compile.sh bin
Usage
Niva can eat .niva and .scala files, because Scala highlight fits well for Niva :3 niva main.niva
- compile and runniva main.niva -с
- compile only, will create binary for native target and fat-jar for jvm niva main.niva -i > info.md
- will generate info about all code base of the projects, -iu
- only user defined files niva run
- run all files in current folder with main.niva as entry point niva build
- same as run but produce binary
VS Code plugin for syntax highlighting
Get binaries from releases
TODO