Code Monkey home page Code Monkey logo

lambdafactory's Introduction

== LambdaFactory
== Custom Language Development Kit

LambdaFactory provides a factory-based (as in design patterns) API to create
every element that makes a program, from the simple computations to the
OO and functional constructs.

LambdaFactory support front-end and back-end plugins. Front-end plugins are
parsers that parse a specific language and generate a LambdaFactory program
model. Back-end plugins are plugins that translate the LambdaFactory program
model to a specific language.

LambdaFactory comes with the following backends:

  - JavaScript
  - ActionScript 3.0
  - Python

Installing LambdaFactory
========================

Simply put the 'Distribution/lambdafactory' somewhere in your 'PYTHONPATH' or
do:

>	export PYTHONPATH=`pwd`/Distribution/lambdafactory

or use the regular way

>	python setup.py install

Specifying passes
=================

On the command-line, you can use the -P option to specify the passes that you
want to use for a particular run. By default, these passes are:

>	lf -PImportation,BasicDataFlow,DataFlowBinding

for the JavaScript target, a specific pass is added:

>	lf -PExtendJSruntime,Importation,BasicDataFlow,DataFlowBinding

the passes are specified in order and have to be either the name of a
'lambdafactory.passes' pass subclass, or be a fully-qualified name of a Pass
class (which then has to be a loadable Python module)

# EOF

lambdafactory's People

Stargazers

Raghav Palekar avatar

Watchers

Raghav Palekar avatar James Cloos 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.