[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlaplus] Assign external python function to tla+ variable



I don't think there's a built-in integration, you'll have to write a script to generate .cfg files with GenProg.py's output.

H

On 3/11/2024 5:01 AM, lilia rouizi wrote:
Hello all,
I have a tla+ model of a processor to test some properties.
Initially, I have an input: CONSTANTS program, to which I give a set of instructions to run my test.
Now I want to automate this using a python code that automatically generates examples of these programs, what I want to do simply put is:
CONSTANTS program = GenProg.py
However I cannot find any guidance on how to use python with tla+.
Any clues?
Thanks a lot!
Lilia
--
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 on the web visit https://groups.google.com/d/msgid/tlaplus/cd0d4172-3fb7-4e69-8c30-40b9540bd06fn%40googlegroups.com.

--
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 on the web visit https://groups.google.com/d/msgid/tlaplus/4e84badc-ea5b-4653-aa96-b11ad9449359%40gmail.com.