Browse Source

add and document \n command

feature/coolkids
mark 8 months ago
parent
commit
f6bfb0745f
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      DICTIONARY.md
  2. +2
    -1
      dictionary.js

+ 2
- 0
DICTIONARY.md View File

@@ -55,6 +55,8 @@ NOTE: See JS docs for how output is handled and how to access it. It is *not* pr
Push an empty string to the stack.
* `SPACE`
Push a single space character to the stack.
* `\n`
Push a single newline character to the stack.
* `(` Starts a comment until a closing `)`

Not sure why this is in literals, but there's nowhere else that it really fits, so who cares.


+ 2
- 1
dictionary.js View File

@@ -708,7 +708,8 @@ const dictionary = {
OWNING: 's" and " SWAP CONCAT CONCAT s" owning the " ROT CONCAT s" with " CONCAT SWAP CONCAT'.split(
" "
),
COOLKIDS: 's" all the cool kids are getting into " SWAP CONCAT'.split(" ")
COOLKIDS: 's" all the cool kids are getting into " SWAP CONCAT'.split(" "),
"\\n": 's" \n"'.split(" ")
};

module.exports = dictionary;

Loading…
Cancel
Save