Skip to content
/ hs-scheme Public

A minimal scheme interpreter written in Haskell with Parsec library

Notifications You must be signed in to change notification settings

ofan/hs-scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

The parser.hs is the whole program, it's compiled to a REPL environment.

The stdlib.scm is a minimal standard library for the interpreter, it has some essential functions defined within it.

Installation

$ make

No installation is required.

Usage

  1. Enter the REPL environment, you can enter code line by line in it.

     $ ./scheme
     Lisp>>>
    
  2. Evaluate a source file

     $ ./scheme source.scm
    
  3. Load a library

     Lisp>>> (load "stdlib.scm")
    

About

A minimal scheme interpreter written in Haskell with Parsec library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published