Ploy is a (work-in-progress) lisp-like language for my own fun and learning.
Building Ploy requires the following:
- A c11 compiler
- CMake
- bdwgc
- GNU Readline
sudo dnf install -y cmake gc-devel ninja-build pkgconf readline-devel
cmake -B build
ninja -C build
sudo dnf install -y clang-tools-extra libasan libubsan
cmake -B build \
-DCMAKE_BUILD_TYPE:STRING="Debug" \
-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON \
-DPLOY_USE_ASAN:BOOL=ON
ninja -C build
ninja -C build clang-format
ninja -C build clang-tidy
ninja -C build
ninja -C build test
$ ./build/ploy -h
usage: ploy [-h] [-e EXPR | -f FILE]
-e Evaluate an expression
-f Evaluate contents of a FILE
-h Show help output