a smol general purpose scripting language
-
Clone this project,
cdto it and install thenekocommand viacargo install -
Create a file with a
.nekoextension
fn greet(name)
println("Hello, #{name}!")
end
names = ["momo", "luna", "niko", "suki", "taro"]
for name in names
greet(name)
end
- Run the script with the following command
neko run ./hello.neko
- basic langugage setup
- basic example
- basic cli
- human-friendly error messages
- neko standard library