1
0
Fork
You've already forked Relina
0
A (currently unstable and public beta) programming language written in C99.
  • C 76.7%
  • Shell 23.3%
2026年05月27日 16:35:40 +02:00
lang_docs Update lang_docs/README.md 2026年05月25日 15:34:28 +02:00
src changed my mind 2026年05月27日 16:35:40 +02:00
build.sh Update build.sh 2026年05月25日 18:50:30 +02:00
CONTRIBUTING.md Add CONTRIBUTING.md 2026年05月20日 03:06:14 +02:00
LICENSE.txt Update LICENSE.txt 2026年05月20日 02:47:03 +02:00
README.md Update README.md 2026年05月24日 23:48:44 +02:00
TODO.md Update TODO.md 2026年05月25日 14:59:32 +02:00

Relina

Started on May 13th, 2026.

A (currently unstable and public beta) programming language written in C99.

Requirements/compiling/using

For requirements, you need bash and tcc programs in your command line.

To compile the language to be able to use it, you must run this command (in this directory):

bash ./build.sh

To use the language, do these:

./relina --help
./relina my_file.relina

Notes on values/philosophy of Relina

At its core (sourcecode-wise), Relina tries its best to set itself up to be suckless. It is written in C99 (as suckless.org suggests to do) and is strongly recommended to be compiled using tcc (what cat-v.org suggests as a "less harmful alternative" to GCC).

As for programs written in Relina, that depends on the programmer. But the language also encourages suckless code, so don't do bloated stuff ok?

Relina is here to solve problems I find in other programming languages. Other languages are not always ergonomic enough for me, and will make me write more code to achieve something made extremely simple in another language, like Rust with hashmaps (use std::collections::HashMap;) as opposed to other languages ({}) where hashmaps are a first class citizen.

Relina is not here for 100% simplicity though. Relina is here for you to be able to do anything in a high level or low level fashion but quickly and efficiently. In my experience, convenient higher level languages suffer from bloat, performance issues, and difficulty, while lower level languages just suffer from difficulty. C is awesome but difficult for me, and I need to read online materials alot to write it. So I figured, why not make a programming language in C that is easy and has what I want in a language, AND allows you to do just about anything C can do? I've been wanting to make a programming language anyways like that, and I think this might be the best way I thought of making one, as opposed to writing one in Python.