Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sang-it/scheme._.

Functional Language, written in Haskell.
https://github.com/sang-it/scheme._.

interpreter language

Last synced: 10 days ago
JSON representation

Functional Language, written in Haskell.

Awesome Lists containing this project

README

        

# 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
```scheme
(define x 10)
(define x "John")
```
> Function Declarations
```scheme
(define (add x y) (+ x y))
```
> Function Calls
```scheme
(add 1 2)
```