Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Concatenated block format: Difference between revisions

From triplescripts.org wiki
Content added Content deleted
(→‎Delimiters: mention g-blocks)
No edit summary
Line 1:
Triple scripts use the concatenated [[t-block]] file format. It's one of the most portable application file formats in the world. Refer to the existing info about [https://triplescripts.org/format the triple script file format].
 
<strong>As the linked page indicates, you should NOT use the "published" triple script file format for anything that is not actually a triple script. Programs are only triple scripts if they conform to all three of the triple script [[invariants]].</strong> To experiment with similar concepts for files that are not valid triple scripts, it's not necessary to use the triple slash delimiter, so please do not abuseuse it for otherprograms purposes.that are (Younot couldintended useto double-slashassert delimitedtheir blocksconformance instead,to asthe onetriplescripts.org examplestandards.)
 
The latest versions of [[trplkt]], the triplescripts.org reference compiler, will by default output '''g-blocks'''—that is, delimiters set off by the <code>//?</code> character sequence, rather than ordinary triple slash delimiters. There are no restrictions on the use of the g-block delimeters; feel free to experiment with programs that use them for whatever reason (or try using ordinary comments instead). Authors of genuine triple scripts should use trplkt to run the <code>publish</code> command after compilation, which will should produce the same program with triple slash delimiters in place of the <code>//?</code>-style delimiters used in programs comprising a sequence of g-blocks.
 
== Delimiters ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.