Skip to content

nknish/chomsky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chomsky - a meaningless command line tool

for those times when you want to say nothing, but don't know how to say it

description

  • a python command line tool that generates a syntactically valid but semantically nonsensical sentence
  • sentences will loosely follow the phrase structure of "colorless green ideas sleep furiously"
  • that's about it

installation

dependencies

  • only supports mac os.
  • you've gotta already have python installed
  • downloading this without using git clone will be a headache but is certainly possible

instructions

  • simply run the following command:
git clone https://github.com/nknish/chomsky && sh chomsky/install.sh
  • if you have permission issues, you'll be prompted to enter your password
  • if you've previously installed chomsky (or somehow have file/directory name conflicts), you'll be prompted to overwrite existing files
  • and then the command chomsky will be in your system path (in usr/local/bin)

usage

  • chomsky to print a sentence to stdout
  • chomsky 3 (or any positive integer) to get that many sentences
  • chomsky --color or chomsky -c to make it pretty
  • chomsky --help or chomsky -h to see the usage syntax
  • chomsky --version or chomsky -V to see the version number
  • chomsky --verbose or chomsky -v to get verbose output (at your own risk)
  • i might add some more features later but who knows

tech stack

  • written in python
  • i figured out how to use shell scripting to make installation easy, which was cool
    • shoutout jarrett's cs449

contributing

  • if you have any ideas or find any bugs, just let me know
  • if you get a really great sentence, you should also share that

credits

  • credit to noam chomsky i guess
  • somewhat inspired by fortune
  • lists of words from here for now.

About

colorless green ideas sleep furiously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published