Skip to content

Sang-it/scheme._.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheme Implementation in Haskell

Just learning Haskell.

Prerequisites:

GHC Cabal

How to Run:

This will take a filename as argument and interpret it.

cabal run [projectname] [filename]

Using cabal run with no arguments will just run the REPL.

cabal run

Use the executable.

cabal install --installdir=.

Code Examples

Variable Declarations

(define x 10)
(define x "John")

Function Declarations

(define (add x y) (+ x y))

Function Calls

(add 1 2)