Giter Club home page Giter Club logo

codefromthereasonedschemer2nded's Introduction

Code from The Reasoned Schemer, Second Edition

Code from The Reasoned Schemer, Second Edition, by Daniel P. Friedman, William E. Byrd, Oleg Kiselyov and Jason Hemann, 2018 MIT Press.

https://mitpress.mit.edu/books/reasoned-schemer-second-edition

The code in this repository is covered under the MIT License (see the LICENSE file). The contents of The Reasoned Schemer, Second Edition is © 2018 Massachusetts Institute of Technology, all rights reserved.

trs2-impl.scm includes the implementation of the language used in the book, from Chapter 10 & Appendix A

trs2-arith.scm includes the arithmetic relations from Chapters 7 & 8 (please load trs2-impl.scm before loading trs2-arith.scm)

Example of loading and testing the code in Scheme, assuming you start Scheme in the same directory as the code

> (load "trs2-impl.scm")
> (run* q (== 'pasta q))
(pasta)
> (load "trs2-arith.scm")
> (run* q (*o (build-num 3) (build-num 4) q))
((0 0 1 1))
>

You can find more about the language of the book at http://minikanren.org/

codefromthereasonedschemer2nded's People

Contributors

thereasonedschemer2nded avatar webyrd avatar

Watchers

 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.