Niv is a fairly simple interpreted langauge written in Rust, being the unofficial spritiual succesor of Glang.
The main goal behind this project was to make a language capable of ed expressions (like printf("%d\n", 1 + 1)
for example).
If you want to learn more about the development of this langauge check out the video I made about the process.
Niv holds a detailed wiki about almost every aspect of language, check these two pages out to get started:
Other pages can be found over in the wiki tab.
Here is an example code sinppet that prints your info using sturcts:
@Person
name : ""
age : 0
@Person
#MAIN |
set name (input "Enter your name: ")
set age (inputcast i32 "Enter your age: ")
set obj (make Person $name $age)
print "Your info is: {}\n" $obj
#MAIN
unescape
snailquote
unstringify
sfml-rs
device_query
clap
Thanks a bunch for
For helping throughout the project in many forms and again for Dorbell going over and refining the Niv wiki.
Thanks for checking out Niv! :D