gors
gors is an experimental go toolchain written in rust (parser, compiler).
Install
Using git
This method requires the Rust toolchain to be installed on your machine.
git clone -–depth=1 https://github.com/aymericbeaumet/gors.git /tmp/gors
cargo install --path=/tmp/gors/gors-cli
Development
brew install [email protected] watchexec
rustup update && rustup component add rustfmt rls rust-analysis rust-src
RUST_LOG=trace cargo run --
cargo build
cargo clippy
cargo test -- --nocapture --test-threads=1
watchexec --restart --clear 'cargo test -- --nocapture --test-threads=1'
TODO
- inline rust code from go code