Git Product home page Git Product logo

loki's Introduction

loki

A R7RS Scheme for the Web

tests

loki is a (almost!) R7RS-compliant Scheme implementation. loki currently runs on top of Gauche Scheme, but in the future will run on top of a custom virtual machine written in Rust.

How much of R7RS is implemented?

Most of it! loki passes most of the R7RS test suite, except that most number things are broken (except integers), and some I/O operations. loki also has full syntax-case macro support with explicit phasing (which will hopefully change to implicit phasing to match R7RS).

Isn't implementing a Scheme on top of another Scheme cheating?

Only to a point. loki compiles down to a small subset of Scheme barely larger than the untyped lambda calculus, so while the "backend" is a Gauche Scheme "eval", it will be simple to port to another implementation. Starting loki's implementation on top of another Scheme is an intentional part of the bootstrap process!

How to run

You will need Gauche Scheme on your path.

make test

Credits

Thanks to André van Tonder, who wrote the SRFI-72 reference implementation that I ported to R7RS.

Thanks to Göran Weinholt, who wrote laesare, which I forked for loki.

Thanks to Alex Shinn, who wrote chibi scheme, the source of many of loki's standard libraries.

loki's People

Contributors

rickbutton avatar zaoqi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zaoqi-clone

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.