Skip to main content

The PLambda language

Project description

https://badge.fury.io/py/PLambda.svg

PLambda

An attempt to produce a workable version of JLambda for Python. To be used mainly as a part of the IOP imaude system.

We’ll start out building a recursive interpreter, then if it gets any major use, turn it into a continuation passing style interpreter.

Note that python is not java so there will be some differences, but hopefully the spirit will shine through.

Dependencies

Python 2.7 is desired, though it might work on most pythons. You will need the antlr4 runtime:


pip install antlr4-python2-runtime

Develop

Checkout the repository and do:


make develop

Install

There is a pip package, but that will move along much slower than developing from the repository.


pip install plambda

Manuals

The jlambda manual can be found here: https://github.com/SRI-CSL/iopc/blob/master/doc/jlambda_manual.pdf?raw=true

The iop manual can be found here: https://github.com/SRI-CSL/iopc/blob/master/doc/iop_manual.pdf?raw=true

Websites

The jlambda webpage lives over here: http://jlambda.com/~iop/jlambda.html

The iop webpage lives over here: http://jlambda.com/~iop/

The main client of the iop system is SRI International’s Pathway Logic: http://pl.csl.sri.com/

Recipe to add an operator

  1. Add it to the grammar PLambda.g4

  2. Process the grammar with make antlr4

  3. Add the operator to the SymbolTable

  4. Add the operator to the Interpreter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PLambda-1.0.4.tar.gz (31.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page