Install Rust. Anole tracks the latest stable Rust toolchain.
git clone https://github.com/anole-lang/anole.git && cd anole
cargo install --path .To remove Anole, run cargo uninstall anole.
Run cargo test --all-targets. Language behavior tests live in
tests/compile; see its README for adding and updating cases.
$ anoleYou can find examples in example/. This is the yin-yang puzzle for fun:
(@(yang): @(yin): yin(yang))
((@(cc) { print("*"); return cc; })
(call_with_current_continuation(@(cont): cont)))
((@(cc) { print("@"); return cc; })
(call_with_current_continuation(@(cont): cont)));
Search for Anole-Lang. It currently provides syntax highlighting.