Expand description
A really dumb library that generates bogus lines of “hacker text”.
Example:
use hacker_text::*;
let foo = make_line();
// since the thing is randomized, it is impossible to know what foo will be.
Some generated examples are:
- detonating python
- sadly lying to golden trans rights
- happily detonating all of gnu
- destroying 20 million copies of the game tux kart racing
- smoking tomato sauce
- happily compiling windows
(probably don’t use the make_line() function, the adverbs and adjectives are really weird)
Functions§
- get_
adjective - Gets an adjective from the list of adjectives used in the
make_line()
functions. - get_
adverb - Gets an adverb from the list of adverbs used in the
make_line()
functions. - get_
noun - Gets a noun from the list of nouns used in the
make_line()
functions. - get_
verb - Gets a verb from the list of verbs used in the
make_line()
functions. - make_
adjective_ line - Returns a
String
with verbs, nouns, and adjectives. - make_
adverb_ line - Returns a
String
with adverbs, verbs, and nouns. - make_
everything_ line - Returns a
String
with adverbs, verbs, nouns, and adjectives. - make_
line - Randomly picks one of the other
make_line
functions and returns aString
from them. - make_
verb_ line - Returns a
String
with verbs and nouns.