Trplkt/0.11.x

From triplescripts.org wiki
Revision as of 01:23, 26 September 2020 by Colby Russell (talk | contribs) (Created page with "== trplkt 0.11.x planning == * use SystemA design pattern (done) * more welcoming code comments at the top of Build.app.htm i.e. TripleKit.src, and an explanation of Syst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

trplkt 0.11.x planning

  • use SystemA design pattern (done)
  • more welcoming code comments at the top of Build.app.htm i.e. TripleKit.src, and an explanation of SystemA (done)
  • -o for "init" should work
  • enforce only one shunting block allowed
  • enforce exactly one import for non-shunting modules, and none for shunting block
  • enforce that identifiers cannot begin with BOTH a leading AND trailing "$" (those are attributes)
  • make sure no triple slash directives appear flush with column 0 in any template, string, or multi-line comment
  • more traditional output on success/failure
    • quiet success
      • on "decompile", only list modules if --verbose is specified
      • on "build", only list outfile if --verbose is specified OR default ("out.app.htm") is used
    • noisy failure
      • decompiling failures need better error output
      • need better parsing and scanning error output
  • Make sure single line comments are either of the form `// [whatever]` (i.e. with separating space) or `//////....` (multiple slash chars); don't allow `//this sort of thing`
Cookies help us deliver our services. By using our services, you agree to our use of cookies.