#oop #compiler #eolang

bin+lib reo

Transpiler of EO programs to Rust functions

7 releases

0.0.7 Sep 29, 2022
0.0.6 Sep 7, 2022
0.0.1 Aug 3, 2022

#1474 in Command line utilities

Custom license

98KB
2K SLoC

logo

EO principles respected here We recommend IntelliJ IDEA

cargo crates.io PDD status codecov Hits-of-Code Lines of code License

ATTENTION: It's a very early draft currently in active development! Most probably it doesn't work. Don't try to contribute, unless you know what you are doing.

It's an experimental transpiler of EO programs to Rust functions.

First, install Rust, npm, Java SE, and eolang package. Then, install reo package:

$ cargo install reo

Then, create a simple EO program in app.eo file:

[] > app
  QQ.io.stdout > @
    "Hello, world!\n"

Then, compile it to GMI using eoc:

$ eoc gmi

Finally, run it:

$ reo --eoc dataize app

You should see the "Hello, world!" being printed out.

How to Contribute

First, install Rust and then:

$ cargo test -vv --release

If everything goes well, an executable binary will be in target/release/reo:

$ target/release/reo --help

Then, fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run cargo test again.

Dependencies

~6–17MB
~193K SLoC