about summary refs log tree commit diff stats
path: root/freevars.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added malapropismsKelly Rauchenberger2015-11-221-11/+11
|
* Fixed a few minor compile errors in freevarsFeffernoose2013-10-071-0/+1
|
* Implemented freevarsFeffernoose2013-10-071-0/+45
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.