twine-monogatari icon indicating copy to clipboard operation
twine-monogatari copied to clipboard

Version 0.2.0 - Improve error handling

Open haroldo-ok opened this issue 5 years ago • 1 comments

  • [x] Version 0.2.0:
    • [x] Initial refactor:
      • [x] Move Twine-Monogatari specific code out of twison.js into its own file;
      • [x] Restore twison.js to its original, unmodified state;
      • [x] Modify the Twine-Monogatari specific code to transform the JSON object returned by Twison into its specific form;
    • [x] Basic structure:
      • [x] Enrich the structure to contain line numbers/line types;
      • [x] Add a field to the processed data structure to contain the errors;
      • [x] Display the errors on console;
      • [x] Display the errors to the user;
    • [x] Compilation errors:
      • [x] Check there is no whitespace on the passage names;
      • [x] Check that there is a "Start" passage;
      • [x] Implement JS syntax error handling for the JS blocks;
      • [x] Implement YAML syntax error handling for the YAML blocks;
  • [ ] Share this project on the web:
    • [x] Prepare distribution;
    • [x] Update README;
    • [ ] Post on If forums;
    • [x] Post on Monogatari forums;
    • [x] Post on Twine forums;
    • [x] Post on Ren'py forums.

haroldo-ok avatar Jul 19 '19 16:07 haroldo-ok

Released on: https://haroldo-ok-2.github.io/twine-monogatari/v0.2.0/format.js

haroldo-ok avatar Jul 25 '19 00:07 haroldo-ok