Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yutopp/rill
Statically typed system programming language for 文鳥
https://github.com/yutopp/rill
programming-language
Last synced: about 6 hours ago
JSON representation
Statically typed system programming language for 文鳥
- Host: GitHub
- URL: https://github.com/yutopp/rill
- Owner: yutopp
- License: bsl-1.0
- Created: 2013-06-16T14:17:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-02-22T13:55:53.000Z (almost 4 years ago)
- Last Synced: 2024-05-21T12:36:30.232Z (8 months ago)
- Topics: programming-language
- Language: OCaml
- Homepage: https://yutopp.github.io/rill-docs/
- Size: 3.08 MB
- Stars: 94
- Watchers: 19
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# Rill Programming Language
*This repository is heavely under development...*
![chi-](http://yutopp.net/image/chi-.png "Bun")
![CI](https://github.com/yutopp/rill/workflows/CI/badge.svg)Rill-lang is a programming language which is designed for systems programming.
This repository contains the implementation of Rill-lang.
## Supported targets
* x86_64-unknown-linux-gnu
* wasm32-wasi## How to use
e.g. `rillc compile test/pass/hello_world.rill` generates `a.out` by default.
Please execute `rill --help` to check more options!
## How to build
### Supported Environments
- Arch Linux (host: x86_64)
- Ubuntu 20.04 (host: x86_64)### Prerequisites
* OCaml (>= 4.09.0)
* OPAM (>= 2.1.0~beta2)
* dune (>= 2.5)
* CMake (>= 3.5.1)
* LLVM (>= 11.0.0)
* GCC (>= 10)### Steps
#### Clone files
```bash
$ git clone https://github.com/yutopp/rill.git
$ cd rill
```#### Setup rillc (compiler only) environments
See [rillc/README](./rillc/README.md).
#### Generate project files by using CMake
```bash
rill$ cmake -B build
```The project will be created under the `build` directory, which can be named any way you like.
#### Build a toolchain
```bash
rill$ cmake --build build
```or
```bash
rill$ cd build
build$ make
```#### Run tests
```bash
rill$ cd build
build$ make CTEST_OUTPUT_ON_FAILURE=1 test
```#### Install a toolchain
```
cmake --install build --prefix /usr/local
```A toolchain will be installed under the specified `prefix`.
## License
Boost License Version 1.0