Add the `let` sform not in the triditional way. In our case the let scope is available to the bindings. Similar to clojure's let and let* in triditional sense. Also add the function `MakeErrorFor` which gets an extra arg, an `IExpr` and returns an error with the location of that expression. |
||
---|---|---|
.. | ||
cmd | ||
pkg | ||
LICENSE | ||
README.org | ||
go.mod | ||
go.sum | ||
serene.go |
README.org
Serene lang
Development hint
Use Make… functions
In order to create a new value in any type use the designated Make function, for example: MakeList
Setup development environment
Emacs
Rustic is highly recommended. Just install it and install the dependencies necessary on the Rust side. If you're using FG42, It already ships with Rustic installed.
Requirements on the Rust side
To setup the dev envrionment you need to have Clippy and RLS installed. Run the following commands to install them:
rustup component add rls --toolchain stable-x86_64-unknown-linux-gnu
rustup component add --toolchain stable-x86_64-unknown-linux-gnu clippy
rustup component add rustfmt
Use your desired toolchain instead of stable-x86_64-unknown-linux-gnu