thepeacockproject / StateMachineParser

Check what an IOI state machine would return for a given input.
Apache License 2.0
3 stars 2 forks source link

Support `$` event #7

Open RDIL opened 1 year ago

RDIL commented 1 year ago

grape found a special property, $, which, when used as an event name, runs on every event. We should support it.

grappigegovert commented 1 year ago

Anything that starts with $ will work, actually. I found it by accident when I used $Timer instead of $timer.

RDIL commented 1 year ago

Does that also mean timers can run outside of events named $timer?