Git Product home page Git Product logo

iota's Introduction

iota

Iota is a lisp interpreter. It is very much a work in progress.

build:

make

run:

./iota

What it has

  • Interpretation.
  • Lisp-1 namespacing.
  • Lexical binding.
  • Common Lisp-style macros.
  • Self-evaluating keywords.
  • Some arg parsing.
  • Some introspection.
  • Decent I/O.

What it doesn’t have

  • Booleans (nil serves as false)
  • Garbage collection.

What I want it to have

  • Self-hosted compilation, maybe to some kind of iota bytecode, maybe to javascript, maybe to C, maybe to all three.
  • Much more introspection.
  • Better arg parsing.
  • More (fast) fundamental data structures, like maps/hashtables/dictionaries and resizable vectors.
  • Garbage collection.

Acknowledgements

Big chunks of iota were built based on Peter Michaux’s Scheme from Scratch series, which walks through a C implementation of the metacircular scheme intepreter in SICP. Other stuff was built by reading SICP directly. I am also working through Lisp in Small Pieces, so that will probably show up. Still other stuff I just hacked out. Some of it is broken, see below.

Inspiration

Broken / TODO

  • Quasiquote (backquote) doesn’t nest right backquote should work now
  • Variable capture seems to be happening a lot, maybe because quasiquote is broken, or maybe just inherent to common lisp macros in a lisp-1.

iota's People

Contributors

jcatw avatar

Stargazers

Jon Deaton avatar Jacques Nomssi avatar artemonster avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

sdsxpln

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.