GithubHelp home page GithubHelp logo

jaxan / nlambda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from szynwelski/nlambda

0.0 2.0 0.0 4.89 MB

Nλ is a simple functional programming language aimed at manipulating infinite, but first-order definable structures, such as the countably infinite clique graph or the set of all intervals with rational endpoints.

License: Other

Haskell 99.85% Shell 0.15%

nlambda's Introduction

Nλ is a simple functional programming language aimed at manipulating infinite, but first-order definable structures, such as the countably infinite clique graph or the set of all intervals with rational endpoints. Internally, such sets are represented by logical formulas that define them, and an external satisfiability modulo theories (SMT) solver is regularly run by the interpreter to check their basic properties.

For more information, visit NLambda website.

Installation guide

  1. There are two ways to get a source code:
  1. The language is implemented in a Haskell and installation of GHC (at least 7.10) is required.

  2. Move into nlambda directory and perform the following commands:

    runhaskell Setup configure --user -fTOTAL_ORDER
    runhaskell Setup build
    runhaskell Setup install
    

The flag TOTAL_ORDER is required to install the package with ordered atoms (otherwise equality atoms will be used).

To install the package globally (not only for the user account) skip user parameter (see: how to install a Cabal package).

  1. You can also use dedicated scripts:
  • for ordered atoms

    $ ./intall-total-order.sh

  • for equality atoms

    $ ./install-equality.sh

  1. Additionally, you should install the Z3 Theorem Prover and add it to the PATH environment variable.

nlambda's People

Contributors

jaxan avatar szynwelski avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.