Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've created a weekend hack that allows you to specify a minimal grammar and then generates text (which can be code) using it.

It's called Choice Words (https://github.com/fdb/choicewords) It can generate poems but also generative designs (see the README).



That generated drawing in the README.md looks like something i'd hang in my kitchen. You should try selling these ;)


You've just re-invented Grammatical Evolution.

http://en.wikipedia.org/wiki/Grammatical_evolution




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: