Giter Club home page Giter Club logo

scheme-lib's Introduction

scheme-lib

My personal library of Scheme functions, free for anyone to borrow. Nearly all of the code is based on (or copied from) the Structure and Interpretation of Programming Languages by Harold Abelson and Gerald Jay Sussman with Julie Sussman. https://web.mit.edu/alexmv/6.037/sicp.pdf.

Getting Started

  • Install MIT Scheme brew install mit-scheme
  • Clone this repo git clone https://github.com/preston-evans98/scheme-lib.git
  • Insert (load "path/to/scheme-lib/math.scm") at the top of your custom scheme file. This will make every function available to your program from math.scm and utils.scm available to your program
  • Run your Scheme file scheme --quiet < myfile.scm

Library

Utils.scm

A few bare bones utilites

Math.scm (depends on "utils.scm")

The core of the library. Pretty stable and reasonably organized

Bonus

Chapter2.scm (depends on "math.scm", "utils.scm")

Selected exercises from SCIP chapter 2 - https://web.mit.edu/alexmv/6.037/sicp.pdf Caveat lector. This file is a jumble of solutions to some exercises from chapter 2. It is NOT optimized for readability or ease of use, but is provided here in case it can be helpful

Chapter3.scm (depends on "math.scm", "utils.scm")

Selected exercises from SCIP chapter 3 This file is a work in progress... Caveat lector. It's a jumble of solutions to some exercises from chapter 3 and is NOT optimized for readability or ease of use. It is provided here in case it can be helpful

scheme-lib's People

Contributors

preston-evans98 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.