All Projects → VictorTaelin → Elementary-Affine-Core-legacy

VictorTaelin / Elementary-Affine-Core-legacy

Licence: MIT License
A simple, untyped, terminating functional language that is fully compatible with optimal reductions.

Programming Languages

javascript
184084 projects - #8 most used programming language
Agda
84 projects

Elementary Affine Core (EA-CORE)

An efficient calculus, similar to the λ-calculus, but based on Elementary Affine Logic, with two desirable features:

  1. It is terminating without types (and in elementary time).

  2. It is compatible with efficient optimal reductions (without costly book-keeping).

This, in turn, allows us to compile EAC to an efficient, non garbage-collected, parallel runtime, EA-NET. It is similar to FM-CORE but without native numbers, making it easier to formalize. Specification.

Usage

Right now, this repository includes a small, dependency-free JS implementation, including parser, interpreter and optimal (NASIC) reducer. Using it from the terminal is simple:

npm i -g elementary-affine-calculus
eac term_name # in a directory with .eac files

You can also import it and use as a library.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].