Giter VIP home page Giter VIP logo

femto's Introduction

femto

A minimal Lisp interpreter.

About

This project is a Lisp interpreter built in Haskell from the ground up without Parsec/Attoparsec. The project is roughly based on Write a Scheme in 48 Hours , and also some of Stephen Diehl's blog posts on parsers/compilers. The Lisp dialect this project implements does not meet any specification for Scheme, Common Lisp, or any other major dialect.

Current Features

  • Define and evaluate lists and basic data types
  • Apply and evaluate arithmetic, boolean logic, and list functions
  • Define variables
  • Define functions
  • Error handling, errors do not crash REPL
  • Import code from other source files
  • IO functions for input/output to CLI
  • Compilation and code generation with LLVM

TODO

  • Define macros

femto's People

Contributors

peeley avatar

Stargazers

Ivan Erakhtin avatar Sergey B avatar Roman Pushkov avatar Daniel Kahlenberg avatar Conrad Steenberg avatar André Bianchi avatar Nikita avatar Alexey Ugnichev avatar Максим Сохацький avatar  avatar chessai avatar Stephen Diehl avatar

Watchers

Dmytro Sirenko avatar James Cloos 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.