yutopp / rill

Statically typed system programming language for 文鳥
https://yutopp.github.io/rill-docs/
Boost Software License 1.0
94 stars 7 forks source link
programming-language

Rill Programming Language

This repository is heavely under development...

chi- CI

Rill-lang is a programming language which is designed for systems programming.

This repository contains the implementation of Rill-lang.

Supported targets

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

Prerequisites

Steps

Clone files

$ git clone https://github.com/yutopp/rill.git
$ cd rill

Setup rillc (compiler only) environments

See rillc/README.

Generate project files by using CMake

rill$ cmake -B build

The project will be created under the build directory, which can be named any way you like.

Build a toolchain

rill$ cmake --build build

or

rill$ cd build
build$ make

Run tests

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