Skip to content
mandriotaPublic

About

the mareal programming language

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

Mareal

The high-level scripting Mareal programming language.

Installation

go install github.com/mandriota/mareal

Usage

mareal file.mr

Example: Fibonacci Numbers

_

(def fib-helper (lambda (quote n x y)
   (if n (fib-helper (- n 1) (+ x y) x) x)))

(def fib (lambda (quote n)
   (fib-helper n 0 1)))

(put (_ "fibonacci: "
     (fib (num
       (get "enter number: ")))) nl)

You can find more examples in ./examples directory.

About

the mareal programming language

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages