66 lines
636 B
Plaintext
66 lines
636 B
Plaintext
IDENTIFIER a
|
|
ASSIGN =
|
|
BOOLEAN 1
|
|
NEWLINE
|
|
IDENTIFIER b
|
|
ASSIGN =
|
|
BOOLEAN 0
|
|
NEWLINE
|
|
IDENTIFIER x
|
|
ASSIGN =
|
|
INTEGER 7
|
|
NEWLINE
|
|
IF if
|
|
IDENTIFIER a
|
|
COLON :
|
|
NEWLINE
|
|
INDENT
|
|
IDENTIFIER x
|
|
ASSIGN =
|
|
INTEGER 5
|
|
NEWLINE
|
|
IF if
|
|
IDENTIFIER b
|
|
COLON :
|
|
NEWLINE
|
|
INDENT
|
|
IDENTIFIER y
|
|
ASSIGN =
|
|
INTEGER 4
|
|
NEWLINE
|
|
DEDENT
|
|
ELSE else
|
|
COLON :
|
|
NEWLINE
|
|
INDENT
|
|
IDENTIFIER y
|
|
ASSIGN =
|
|
INTEGER 2
|
|
NEWLINE
|
|
DEDENT
|
|
DEDENT
|
|
IDENTIFIER z
|
|
ASSIGN =
|
|
LPAREN (
|
|
IDENTIFIER x
|
|
TIMES *
|
|
INTEGER 3
|
|
TIMES *
|
|
INTEGER 7
|
|
RPAREN )
|
|
DIVIDEDBY /
|
|
IDENTIFIER y
|
|
NEWLINE
|
|
IF if
|
|
IDENTIFIER z
|
|
GT >
|
|
INTEGER 10
|
|
COLON :
|
|
NEWLINE
|
|
INDENT
|
|
IDENTIFIER y
|
|
ASSIGN =
|
|
INTEGER 5
|
|
NEWLINE
|
|
DEDENT
|