Hi Guo,you can override any TLA+ constant-level operator with Java code (the IOUtils module that Hillel mentioned is implemented this way). This diff [1] should give you an example of how to override operators with Java code.MarkusOn Feb 19, 2022, at 12:12 AM, Guo Hua <fch...@xxxxxxxxx> wrote:Can TLA+ support such an extension that allows running user-defined procedures written by some programming language when an event happens?
Or is there any plan for this?
It may be helpful to provide this function, such as auto-generating test cases.