Updated readme

This commit is contained in:
Rafał Grodziński
2025-06-22 12:16:17 +09:00
parent ac6f3c449a
commit 087a933772

View File

@@ -1,14 +1,14 @@
expression := literal | binary | grouping # Bits Runner Builder
literal := INTEGER ## Overview
Bits Runner Builder (brb) is a compiler for Bits Runner Code (brc) language, which has been designed for the Bits Runner Builder operating system. It aims to be a low-level language, which can be a replacement for C while providing a revised syntax and a couple of quality of life improvement. It's a simple system programming language, so no class hierarchies, templates, or other unnecessary fluff.
grouping := "(" expression ")" It has been been built on top of LLVM.
binary := expression operator expression ## Show me the code!
operator := "+" | "-" | "*" | "/" | "%" ### Data
expression ### Control flow
term factor "+" | "-" factor
factor primary "*" | "/" primary ### Functions
primary INTEGER | "(" expression ")"