A Lisp Flavoured C++
An Visual Studio specified version is in the branch ms
, licensed under MIT.
A tiny library that implements some basic Lisp (mainly Common Lisp) utilities as a DSL, currently just a toy, beware of dirty hacks and low performance.
This has been tested with Clang 9.0, GCC 7.1, and Visual Studio Community 2017.
At least C++ 14 is required.
You may expect everything to work similarly to what you know in Common Lisp (although there will be limitation because of the differences between C++ and Lisp).
For the details of symbols defined in LICPP, check out SYMBOLS.md.
If you want some extra features, please use the latest version of GCC with the flags mentioned below:
- Type Constraints, enable with flag
-fconcepts
(GCC only)
tlist
stands for the type List<T>
which does not have an equivalance in Common Lisp, you may think this is (type t) => [t]
in Haskell.
All functions should be (preferably) implemented in the same way as its corresponding definition in CLHS.
AGPLv3+