alex-semenyuk / reo

Experimental EO to Rust Transpiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Experimental EO to Rust Transpiler

License:MIT License


Languages

Language:Rust 100.0%