--I noticed in this option in the pluscal manual:
-spec name This option is used to have the translation performed by ex-
ecuting a TLA+ specification instead of by the translator itself. It
causes the translator to write to the file AST .tla in the current direc-
tory a TLA+ module that defines ast to equal a TLA+ representation
of the algorithm’s abstract syntax tree (AST) and fairness to equal
the fairness option. (The current directory is the one from which the
translator is run.) The translator then copies the files name.tla and
name.cfg from its own internal directory to the current directory, runs
TLC on name.tla, and uses TLC’s output to produce the translation.So it seems like there is at least some functionality for writing custom extensions to PlusCal. Has anybody written more about this / are there any demonstrative examples online?
(The paragraph after immediately warns about limitations of this (no formatting, doesn't handle bulleted lists of conjuncts), so I'm mostly asking out of curiosity.)
H
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/7124c16e-6f35-4632-8946-5934766f0fe9%40gmail.com.