Skip to content
/ libred.rs Public

Safe Rust bindings to the library interface of the Red Programming Language

License

Notifications You must be signed in to change notification settings

hako/libred.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libred.rs (alpha)

Safe Rust bindings to the library interface of the Red Programming Language.

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

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 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:

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+

About

Safe Rust bindings to the library interface of the Red Programming Language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages