Orion is a high level, purely functional programming language with a LISP based syntax.
Rust
235
397 commits
updated Oct 21, 2022
Orion is a high level, purely functional programming language with a LISP based syntax.
'<expr> for (\ () <expr>), [x y z] for (Cons x (Cons y (Cons z Nil))) or { <expr>* } for (begin <expr>*).You will need: the Rust toolchain (1.50+), a "make" program, a POSIX shell (linked in /bin/sh) and Git.
$ git clone https://github.com/orion-lang/orion.git
$ cd orion/
$ chmod +x configure
$ ./configure
$ make
$ make install PREFIX=/wherever/you/want/
You can find a detailed tutorial, the standard library, the core and the builtins documentation here.
Factorial function:
(def factorial (λ (n)
(match n
(0 1)
(_ (* n (factorial (- n 1)))))))
ack 3 3| Language | Average | Median | Amplitude |
|---|---|---|---|
| Nixt | 126ms | 121ms | 134ms |
| Orion Interpreter | 76.106ms | 75ms | 21ms |
| Orion VM | 4.168ms | 4ms | 4ms |
| CPython | 0.516ms | 0.482ms | 0.541ms |
Special thanks to @Mesabloo and @felko for support and help about implementation details.
This software and all associated items (assets, documentation, etc) are licensed under the GNU General Public License version 3.0 and higher.
397 commits
Rust
92.0%
Clojure
6.9%
Python
1.1%
Orion is a high level, purely functional programming language with a LISP based syntax.
Rust
235
397 commits
updated Oct 21, 2022
Orion is a high level, purely functional programming language with a LISP based syntax.
'<expr> for (\ () <expr>), [x y z] for (Cons x (Cons y (Cons z Nil))) or { <expr>* } for (begin <expr>*).You will need: the Rust toolchain (1.50+), a "make" program, a POSIX shell (linked in /bin/sh) and Git.
$ git clone https://github.com/orion-lang/orion.git
$ cd orion/
$ chmod +x configure
$ ./configure
$ make
$ make install PREFIX=/wherever/you/want/
You can find a detailed tutorial, the standard library, the core and the builtins documentation here.
Factorial function:
(def factorial (λ (n)
(match n
(0 1)
(_ (* n (factorial (- n 1)))))))
ack 3 3| Language | Average | Median | Amplitude |
|---|---|---|---|
| Nixt | 126ms | 121ms | 134ms |
| Orion Interpreter | 76.106ms | 75ms | 21ms |
| Orion VM | 4.168ms | 4ms | 4ms |
| CPython | 0.516ms | 0.482ms | 0.541ms |
Special thanks to @Mesabloo and @felko for support and help about implementation details.
This software and all associated items (assets, documentation, etc) are licensed under the GNU General Public License version 3.0 and higher.
397 commits
Rust
92.0%
Clojure
6.9%
Python
1.1%