Transitional parsing rule for semistatic templates

Revision as of 21:55, 27 September 2023 by Colby Russell (talk | contribs) (Created page with "The problem: We want to require most simple static assignments (all those recognized by the parser except for class and function definitions) to be terminated by a semicolon, however, the <code>create-credits</code> command has been (in recent releases leading up to trplkt v0.13.0) emitting code that would not validate under those circumstances: it doesn't end with a semicolon. So we have instituted a transitional phase for v0.13.x and the next few releases whe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The problem:

We want to require most simple static assignments (all those recognized by the parser except for class and function definitions) to be terminated by a semicolon, however, the create-credits command has been (in recent releases leading up to trplkt v0.13.0) emitting code that would not validate under those circumstances: it doesn't end with a semicolon. So we have instituted a transitional phase for v0.13.x and the next few releases where the compiler will continue to accept source inputs in the form generated by create-credits, but with the expectation that with newer versions of trplkt people will re-generate their `credits.src` file (or edit it by hand to validate) at some point, and then in future versions, bring this transitional phase to an end.