blog-static/code/cs325-langs/sols/hw2.lang

12 lines
131 B
Plaintext
Raw Permalink Normal View History

state 0;
effect {
if(SOURCE == R) {
STATE = STATE + |LEFT|;
}
}
combine {
STATE = STATE + LSTATE + RSTATE;
}