PC:  0x0000 N: 0
IR:  0x00 V: 0
ACC: 0x00 U: 0
X:   0x00 B: 0
Y:   0x00 D: 0
I: 0
Z: 0
C: 0

Interval: (ms)
Grammar
Program ::== Statement $
Statement ::== while ( BoolExpr ) { StatementList }
Statement ::== if ( BoolExpr ) { StatementList }
Statement ::== print ( Expr )
Statement ::== Id = Expr
Statement ::== VarDecl
Statement ::== { StatementList }
StatementList ::== Statement StatementList
StatementList ::== ε
Expr ::== IntExpr
Expr ::== StringExpr
Expr ::== Id
Expr ::== Logical
BoolExpr ::== BoolArg BoolOp BoolArg
IntExpr ::== Digit Op Expr
IntExpr::== Digit
StringExpr ::== " CharList "
CharList ::== Char CharList
CharList ::== Space CharList
CharList ::== ε
VarDecl ::== Type Id
BoolArg ::== Id | Digit
Type ::== int | char | bool
Id ::== Char
Char ::== a | b | c ... | z
Space ::== the space character
Digit ::== 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
BoolOp ::== == | !=
Op ::== + | -
Logical ::== false | true
Comment ::== /* ... */
Expression to evaluate


Please select a parse message style




Output
Verbose Output

Machine Code