Git Product home page Git Product logo

js-lisp's Introduction

This is yet another simple Lisp in JavaScript. It's only here because I wanted to have it out in the world if I ever completely stopped work on it (which I very likely have); it's not intended for any type of use, although it seems to be fun to work with.

The current licence is MIT.

To use it, download the files in it and run the js_lisp_5 file with node. (Version 5 is relatively new, but is actually not that different from Version 4.)

It has:

  • first-class macros
  • first-class syntax (very slightly different from, but as powerful as, fexprs)
  • first-class enviroments (as dictionaries/objects/hashes)
  • prototype-based inheritance (used to implement scope)

It is a Lisp-1 with lexical scope. It mostly has the same features as other lisps, but there are lots of syntactic differences, some of which remove features that should probably have stayed. (See the Syntax Guide.)

It should work in any environment with es5 + maps, if you remove the main function and input/output stuff. But node is the intended environment.

To see lots of important issues, see the important issues file.

Please report any issues you have (or any issues in the important issues file that I seem to not consider important enough), improvements or suggestions you want to make, or any type of comments you have.

js-lisp's People

Contributors

dan-simon avatar

Watchers

 avatar  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.