The thought struck me ... an OS called Haiku should be able to ... write a haiku.

So I slapped together a CLI utility along the lines of fortune. No deep semantic analysis involved, I'm afraid, just a rearrangement of words in the required 5 - 7 - 5 syllable patterns. Occasionally it sounds as if there is a poet inside the computer trying to break out. Far more often, it looks like the computer is populated by Vogons. But, it is a haiku. You can pipe the output like any self-respecting *NIX utility.

That was easy enough. What is taking up time is adding sufficient words to its database to prevent the haikus becoming repetitious. Version 0.1 is about halfway through the alphabet.

Written in yab. I haven't tried it yet, but the code should work in yabasic for Windows or Linux.

Project Activity

See All Activity >

Categories

Games

License

Public Domain

Follow makehaiku for Haiku

makehaiku for Haiku Web Site

Other Useful Business Software
Parasoft: Automated Testing to Deliver Superior Quality Software Icon
Parasoft: Automated Testing to Deliver Superior Quality Software

Parasoft provides test automation for every phase of the software development life cycle.

Parasoft helps organizations continuously deliver high-quality software with its AI-powered software testing platform and automated test solutions. Supporting the embedded, enterprise, and IoT markets, Parasoft’s proven technologies reduce the time, effort, and cost of delivering secure, reliable, and compliant software by integrating everything from deep code analysis and unit testing to web UI and API testing, plus service virtualization and complete code coverage, into the delivery pipeline. Bringing all this together, Parasoft’s award-winning reporting and analytics dashboard provides a centralized view of quality, enabling organizations to deliver with confidence and succeed in today’s most strategic ecosystems and development initiatives—security, safety-critical, Agile, DevOps, and continuous testing.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of makehaiku for Haiku!

Additional Project Details

Operating Systems

Haiku

User Interface

Command-line

Programming Language

BASIC

Related Categories

BASIC Games

Registered

2015-08-19