This is first in a series of blog posts where I will blog the creation of a simple writing tool as a Dart command line application. The background to this is NaNoWriMo which challenges anyone in the world to write a 50,000 word novel during November. Luckily you are allowed to plan in advance (there is not last minute revealed theme or requirement). I started with pen and paper which has its benefits but is too static for my liking! In the past I have written presentation materials in Python to escape Powerpoint and don't want to live in a database or spreadsheet for storytelling.
Important : This series will probably not have any challenging code but is a real world problem for me! Sorry to bore the experts :-)
Okay to get started we will need a basic data structure.
We can output using print - maybe HTML later.
Finally we can create a 2 chapter novel very easily!
Our novel plan so far:
I did say this is very simple so I hope Dart newbies can chip in! All code will be kept on GitHub. I welcome patches.
Grab the code from Github - https://github.com/daftspaniel/dart-nanowrimoplanner
Next iteration will add more fields for a chapter and improve the output. Already I like it - I can fiddle with details and the order but still get a neat output each time.