From 94728de4d4731d8dd3f1580f3284b14d9f01d621 Mon Sep 17 00:00:00 2001 From: nils <48135649+Nilstrieb@users.noreply.github.com> Date: Fri, 28 May 2021 15:00:27 +0200 Subject: [PATCH] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 74335ea..af77446 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # 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 + > 10 @@ -64,7 +62,8 @@ stderr. * `# comment\n` text after # is ignored ``: \w+, not a keyword -``: \d+ +``: decimal | hexadecimal with 0x prefix integer | binary with 0b prefix | octal with o prefix, underscores are +allowed anywhere in number ``: \d ``: single character @@ -156,4 +155,4 @@ dup not goto isZero 5 swap goto exit # push 5 to the 2nd stack position ... :exit &del # pop the top stack value to expose the pushed value - ``` \ No newline at end of file + ```