Commit graph

13 commits

Author SHA1 Message Date
Simon Brooke 3a9e9220eb Set github urls in documentation as home address. 2013-11-09 09:08:44 +00:00
Simon Brooke 6d59b813de Tidying up and polishing prior to publication. 2013-11-09 08:51:04 +00:00
Simon Brooke f9af58889e More very minor fiddling. Help flag now works, and apostrophe t, d and m
(e.g. can't, I'd, I'm) are now formatted to orthographical convention.
2013-11-09 01:09:46 +00:00
Simon Brooke fffaf0cca0 Basically finished. Not capitalising initial words of sentences; not
printing output to an output file even if one is specified; not
honouring the help flag.
2013-11-09 00:39:20 +00:00
Simon Brooke 5141419efa And once you know where the bug is, fixing it is easy. 2013-11-08 14:21:16 +00:00
Simon Brooke aad3cd6b58 Interesting! Unit tests show the bug is not in merge-rules, as thought,
but in add-rule.
2013-11-08 14:18:02 +00:00
Simon Brooke 68fafdab99 OK, there's a bug on the analyse side and I think it's in merge-rules. All
the rules that ought to be being generated are being generated, but the rule
tree returned by analyse-tokens is incomplete. I'm not yet certain what is
wrong.
2013-11-08 12:58:46 +00:00
Simon Brooke 08b0514908 And for extra credit, deal with the special case of apostrophes, which
the Java version did not handle!
2013-11-08 11:19:30 +00:00
Simon Brooke 3315eef7b8 Now correctly tokenises all punctuation. 2013-11-08 11:11:30 +00:00
Simon Brooke 5c6a0f0b90 Uhmm... hadn't saved analyse.clj when I did the last commit. D'oh! 2013-11-08 10:58:27 +00:00
Simon Brooke a2958cb851 Right, separated analyse and synthesise stages into their own files, also
utils; and rewritten the analyse stage in more idiomatic clojure.

Analyse mostly working BUT out of stack exception on undermilkwood.txt,
also isn't treating punctuation as tokens.
2013-11-08 10:20:47 +00:00
Simon Brooke 9e2d02b82d Moved slide-window 'up file' so declaration is before use. 2013-11-07 23:44:38 +00:00
Simon Brooke 997f665e37 Initial commit of clojure reimplementation of Milkwood. Most of the
read side working, write side started, top level function just sketched
and definitely not working.
2013-11-07 23:34:12 +00:00