Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added emoji freevar | Kelly Rauchenberger | 2016-02-01 | 1 | -9/+12 |
| | | | | Strings of emojis are tokenized separately from anything else, and added to an emoticon freevar, which is mixed in with regular emoticons like :P. This breaks old-style freevars like $name$ and $noun$ so some legacy support for compatibility is left in but eventually $name$ should be made into an actual new freevar. Emoji data is from gemoji (https://github.com/github/gemoji). | ||||
* | Added malapropisms | Kelly Rauchenberger | 2015-11-22 | 1 | -5/+3 |
| | |||||
* | Fixed a few minor compile errors in freevars | Feffernoose | 2013-10-07 | 1 | -1/+1 |
| | |||||
* | Implemented freevars | Feffernoose | 2013-10-07 | 1 | -0/+21 |
Arbitrary variable tokens can now be defined (though at this point only in the code itself) as a pair of a variable name and a filename pointing to a plain text file containing a newline-delimited list of elements. When a token of the form $name$ (where name is the name of a variable) is encountered, the output will include a random element from the appropriate list. The variables $name$ and $noun$ are hard-coded at this point, but the program will not crash if names.txt and nouns.txt do not exist and will instead just silently ignore the variables. |