Coder Social home page Coder Social logo

lispy's Introduction

Lispy

Lispy is a functional language inspired by Lisp. The interpreter is written in C and is based on "Build Your Own Lisp" by Daniel Holden and uses his mpc library.

Modifications

So far, I've completed the following bonus tasks, resp. applied the following modifications:

  • Adding power, module, min and max operators
  • Support for decimal numbers
  • Splitted the code into smaller modules
  • Heavily modified the Makefile
  • Added an exit function
  • Including an (optional) standard library at startup
  • Improving the macros to support printing the C function name
  • Using a sane argument parser
  • Using a logging memory allocator
  • Using a logger
  • Fixing memory bugs in my implementation
  • Fixed my implementation of join, map, split, take, unpack
  • Adding tests (to some extent)
  • Added support for strings in join, head, tail
  • Adding builtin logical and list operators
  • Adding builtin fun operators
  • Writing a function that prints all out named values in an environment
  • Documenting the code (to some extent)
  • Added length field to strings
  • Implementing all stdlib methods in C

lispy's People

Contributors

edd255 avatar

Stargazers

 avatar

Watchers

 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.