Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

Morph6502
  
  • Program
    • ::== Statement $
  • Statement
    • ::== print ( Expr )
    • ::== Id = Expr
    • ::== VarDecl
    • ::== { StatementList }
    • ::== WhileStatement
    • ::== IfStatement
  • WhileStatement
    • ::== while BooleanExpr {
    •         StatementList
    •      }
  • IfStatement
    • ::== if BooleanExpr {
    •         StatementList
    •      }
  • StatementList
    • ::== Statement StatementList
    • ::== ε
  • Expr
    • ::== IntExpr
    • ::== StringExpr
    • ::== BooleanExpr
    • ::== Id
  • IntExpr
    • ::== digit op Expr
    • ::== digit
  • StringExpr
    • ::== " CharList "
  • BooleanExpr
    • ::== ( Expr == Expr )
    • ::== boolVal
  • CharList
    • ::== Char CharList
    • ::== Space CharList
    • ::== ε
  • VarDecl
    • ::== type Id
  • Id
    • ::== char
  • type
    • ::== int | string | boolean
  • char
    • ::== a | b | c ... z
  • Space
    • ::== the space character
  • digit
    • ::== 1 | 2 | 3 ... 9 | 0
  • boolVal
    • ::== false | true
  • op
    • ::== + | -
Back