- This is just a hobby project.
- No documentation
- Just a single example to demonstrate the working.
Build the interpreter first. This builds the main package automatically.
go install github.com/aki237/ligo/cmd/ligo/
Now without the packages the interpreter is not functional at all.
This builds some basic dl packages and copies them to the ligo package search directory. ($HOME/ligo/
)
cd $GOPATH/github.com/aki237/ligo/packages/
./build.sh
-
Scheme?
This is a scheme like but little different in syntax.
-
So it is not scheme?
Don't worry it has all the parenthesis goodness of scheme.
-
How different?
This is scheme :
(define sum (lambda (x y) (+ x y)))
This is ligo :
(fn sum |x y| (+ x y))