Note: This is the rewrite branch of charly-vm. Lots of stuff isn't working yet. The main branch contains the previous fully functional version of charly-vm.
This launches a REPL which (at the moment) doesn't do very much.
This launches a REPL which (at the moment) does some cool stuff, but still not a lot.
This launches a REPL which supports some cool stuff, but still not a lot
./debug.sh [path/to/file.ch]
sudo apt-get install libboost-all-dev
Follow the steps below to install the charly
executable on your system.
git clone https://github.com/KCreate/charly-vm charly-vm
cd charly-vm
git checkout rewrite
git submodule init
git submodule update
- Set the
CHARLYVMDIR
environment variable to the project's root folder- e.g.
export CHARLYVMDIR=/home/user/github/KCreate/charly-vm
- e.g.
./install.sh
The last step might request sudo permissions in order to access the relevant system directories.
$ ./tests.sh
[ 31%] Built target libcharly
[ 87%] Built target Catch2
[ 89%] Built target Catch2WithMain
[100%] Built target tests
===============================================================================
All tests passed (1422 assertions in 10 test cases)