Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hako/libred.rs
Safe Rust bindings to the library interface of the Red Programming Language
https://github.com/hako/libred.rs
bindings gui native red redlang rust
Last synced: 4 days ago
JSON representation
Safe Rust bindings to the library interface of the Red Programming Language
- Host: GitHub
- URL: https://github.com/hako/libred.rs
- Owner: hako
- License: gpl-3.0
- Created: 2017-12-19T15:43:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T20:23:46.000Z (about 6 years ago)
- Last Synced: 2024-12-13T19:27:35.454Z (about 1 month ago)
- Topics: bindings, gui, native, red, redlang, rust
- Language: Rust
- Size: 36.1 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libred.rs (alpha)
Safe Rust bindings to the library interface of the [Red Programming Language](http://www.red-lang.org/p/about.html).
The goal is to **allow GUI apps to be written in Rust** using libRed.
# Note
This binding is in an a very early alpha stage and is not yet complete.
# Installation
You need to install the Red programming language first before building this library.
Download Red below:
[Red Windows/Mac/Linux](http://www.red-lang.org/p/download.html)
or via Homebrew:
```
brew cask install red
```Once you have Red installed on your system clone this repo and head to the building section.
# Building
Right now **Red only supports 32-bit** so you need to download a 32-bit toolchain of Rust to get this working. This has been tested to be working on Mac. Windows should work but I have not tested this on Linux yet.
If you have [rustup.rs](https://www.rustup.rs) installed on your system, run:
```
rustup default stable-i686-apple-darwin
```and once that is your default toolchain, run:
`cargo run --example=helloworld`
You should get the following example program below:
![](assets/helloworld.png)
# Contributing
Contributions are welcome! Fork this repo and add your changes and submit a PR.
If you would like to fix a bug, add a feature or provide feedback you can do so in the issues section.
# License
GPL-3.0+