Bull Script is a bad project. The file extension is ".bs"
Here is some example code.
import std
proc main() then
std.printval("Hello, world!\n")
end
- Install cargo
- Fork or
git clone
this repo into a folder. - Use
cargo run -- ./test.bs
to run your file
Define function procedures with parameters.
proc sayHello() then
std.printlnval("Hello!")
end
let x = 0
x = x + 1
namespace tests then
proc test1() then
std.printlnval(1 is 1)
end
end
tests.tests1()