GithubHelp home page GithubHelp logo

emiliablasten / chez-mit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fedeinthemix/chez-mit

0.0 0.0 0.0 25 KB

MIT/GNU Scheme compatibility library for Chez Scheme for use with 'Scmutils'.

Makefile 2.28% Scheme 97.72%

chez-mit's Introduction

Description

This is a MIT/GNU Scheme compatibility library for Chez Scheme. The goal of the library is to provide those functions used in the ‘Scmutils’ library which are not available in Chez Scheme.

Note that the behavior of some functions differs from the one in MIT/GNU Scheme. This is the case for example for functions manipulating environments: MIT/GNU Scheme provides hierarchical environments, while Chez Scheme doesn’t.

Build

To build the libraries run “make”. By default it looks for a Chez Scheme binary called “chez-scheme”. If the name of your binary is different, you can specify it as follows (for all targets):

make CHEZ=my-chez-scheme-bin

To test the build run

make test

Install

By default “make install” will install the libraries under the prefix “/usr/local”. You can specify a different installation prefix directory as follows:

make install PREFIX=/my-prefix/path

This will install all compiled libraries (*.so files) to $PREFIX/lib/csvX.Y-site, where X.Y is Chez’s version. If in addition you want to install the source files, use the ‘install-src’ target. They are installed in the same directory as the .so files.

Use

Make sure that Chez Scheme can find the libraries by specifying their location on the command line (with the appropriate flag), or by setting the environment variable CHEZSCHEMELIBDIRS.

The library is split in the following sub-libraries:

  • (mit apply-hook)
  • (mit arithmetic)
  • (mit arity)
  • (mit core)
  • (mit curry)
  • (mit environment)
  • (mit hash-tables)
  • (mit list)
  • (mit streams)
  • (mit vector)

The symbol ‘procedure-arity’ is exported by both (mit apply-hook) and (mit arity). The difference is that the former supports ‘apply-hooks’ while the latter doesn’t. Thus, if you do not use ‘apply-hooks’ use the one from (mit arity), otherwise use the one from (mit apply-hook).

chez-mit's People

Contributors

fedeinthemix 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.