Skip to content

anatolyyyyyy/ligo

 
 

Repository files navigation

ligo - scheme like language interpreter in golang

Join the chat at https://gitter.im/hackingligo/Lobby

  • This is just a hobby project.
  • No documentation
  • Just a single example to demonstrate the working.

Building

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

FAQ

  • 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))

About

scheme like language interpreter

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.6%
  • Shell 1.4%