Giter Site home page Giter Site logo

natethern / dfsch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adh/dfsch

0.0 0.0 0.0 8.83 MB

Scheme-style LISP language implementation with simple C interface.

Home Page: http://dfsch.org/

License: GNU General Public License v2.0

Shell 0.16% Scheme 6.40% C 91.86% Makefile 1.01% M4 0.57%

dfsch's Introduction

This is dfsch - dfox's scheme implementation. It's essentialy an
embeddable scheme interpreter. For now it's still lacking many
scheme functions, but it's generally usable as embedded scripting
language.

An useful example how to use this library is binary `dfsch-repl'
produced by compilation, it's source is `src/repl.c'. It's simple
interactive interpreter with some additional convenience features.

Interpreter depends on Boehm-Demers-Weiser conservative garbage
collector, in theory it is possible to replace all calls to GC_MALLOC
with malloc(3) for testing on platforms without working libgc (for
example Interix), but running any non-toy code without working GC is
not good idea. Console I/O library (used by REPL and debugger) is able
to use readline, but can reasonably work without it.

Platforms that generally work and are reasonably tested are:
 * Linux 2.6 on i386
 * Linux 2.6 on amd64
 * Linux 2.6 on Alpha
 * Linux 2.6 on Sparc (32b mode is more tested, but 64b should
                       work too)
 * Windows 2003 - crosscompiled by mingw
Platforms where it worked last time they was tested:
 * Linux 2.4 on StrongARM
 * Linux 2.6 on StrongARM
 * Solaris 10 on sparc
 * Cygwin
Platform that almost worked last time I tried:
 * NetBSD 4.0.1 on sparc (pure 64b)
   - Problems with confused libgc shared library support
Platforms that simply do not work:
 * Interix
   - No libgc port
 * Windows with MSVC 
   - No support for C99
Platforms that I'm interested in:
 * Linux on PowerPC
 * Bare hardware
 * Cross-compilation of some subset of dfsch to small embedded
   platforms (e.g. AVR)


dfsch's People

Contributors

adh avatar natethern 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.