Updated readme
This commit is contained in:
18
README.md
18
README.md
@@ -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 ")"
|
|
||||||
Reference in New Issue
Block a user