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 + ```