Awesome
Amber
This is a showcase project of functional design and functional programming in C++. Simple sandbox game 'Amber' based on ideas of 'The Chronicles of Amber' by R. Zelazny.
Code contains:
- Functional design using functions and lambdas;
- Functions and composition.
- Combinatorial eDSL built on lambdas;
- Maybe monad usage.
Installation
Run in the project dir:
git clone --branch v0.1_showcase git@github.com:graninas/cpp_functional_core.git ./lib/cpp_functional_core
git clone --branch v0.1_showcase git@github.com:graninas/cpp_monads.git ./lib/cpp_monads
git clone --branch v0.2_showcase git@github.com:graninas/cpp_lenses.git ./lib/cpp_lenses
Then build with Qt.
See also
- CMLife - another showcase of functional declarative design in C++.
Celullar automata with using of comonads.