Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sang-it/scheme._.
- Owner: Sang-it
- Created: 2023-11-20T17:11:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-21T18:06:22.000Z (about 1 year ago)
- Last Synced: 2024-11-16T13:15:18.883Z (2 months ago)
- Topics: interpreter, language
- Language: Haskell
- Homepage:
- Size: 4.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Scheme Implementation in Haskell
Just learning Haskell.
Prerequisites:
> GHC
> CabalHow 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)
```