sudo apt-get install libreadline6-dev
git clone https://github.com/anole-lang/anole.git && cd anole
cmake -S . -B build && cmake --build build -j4
cd build && sudo make install
If you want to remove anole, you can execute cat install_manifest.txt | sudo xargs rm
in build/
Run cmake -D CMAKE_BUILD_TYPE=Test -S . -B build && cmake --build build -j4
~> anole
You can see some examples in example/
or the test/sample-tester.hpp
, 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 Anole-Lang
, only provides highlight now
See ChangeLog.md