项目作者: vorotynsky

项目描述 :
Lambda calculus interpreter
高级语言: C++
项目地址: git://github.com/vorotynsky/vlci.git
创建时间: 2019-10-14T20:42:05Z
项目社区:https://github.com/vorotynsky/vlci

开源协议:GNU General Public License v3.0

下载


Vorotynsky’s lambda calculus interpreter

VLCI is a small software to calculate lambda expressions.

aim: create a program to run untyped lambdas.

Components

  • vlcp. Lambda calculus processor is a library what parses lambda expressions and execute theirs.
  • client is console ui.
  • tests is unit testing for vlcp
  • docs documentation.

BUILD

  1. Install cmake.

  2. To build vlci use following commands:

  1. cmake .
  2. cmake --build .

Testing

By default testing added to cmake file. ENABLE_TESTING is a parameter to enable/disable testing.

Testing requires Catch2.

  1. cmake --DENABLE_TESTING=OFF . # turn off testing OR
  2. cmake --DENABLE_TESTING=ON . # turn on testing
  3. cmake --build .
  4. ctest .

Documentation

To enable/disable documentation generating toggle GENERATE_DOCS. Documentation generates if Doxygen installed.

Documentation building requires Doxygen and moxygen.

  1. cmake --DGENERATE_DOCS=ON .
  2. # build only documentation
  3. cmake --build . --target documentation

documentation target was added to ALL.