mirror of
https://github.com/Noratrieb/GRSBPL.git
synced 2026-01-17 05:05:02 +01:00
Update README.md
This commit is contained in:
parent
c9aca7507f
commit
94728de4d4
1 changed files with 4 additions and 5 deletions
|
|
@ -1,9 +1,7 @@
|
||||||
# GRSBPL - Generic Random Stack Based Programming Language
|
# GRSBPL - Generic Random Stack Based Programming Language
|
||||||
|
|
||||||
## line numbers are broken I know
|
|
||||||
|
|
||||||
uses some form of reverse polish notation
|
|
||||||
|
|
||||||
|
A language that works on the stack (and has lots of other cool non-stack-based features)
|
||||||
```
|
```
|
||||||
1 5 * 5 +
|
1 5 * 5 +
|
||||||
> 10
|
> 10
|
||||||
|
|
@ -64,7 +62,8 @@ stderr.
|
||||||
* `# comment\n` text after # is ignored
|
* `# comment\n` text after # is ignored
|
||||||
|
|
||||||
`<ident>`: \w+, not a keyword
|
`<ident>`: \w+, not a keyword
|
||||||
`<number>`: \d+
|
`<number>`: decimal | hexadecimal with 0x prefix integer | binary with 0b prefix | octal with o prefix, underscores are
|
||||||
|
allowed anywhere in number
|
||||||
`<digit>`: \d
|
`<digit>`: \d
|
||||||
`<character>`: single character
|
`<character>`: single character
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue