This is how a current nonterminal symbol found in an expression will be derived based on the next terminal (lookahead).
Scenarios
Specification
Assert that derivation for non terminal EXP and lookahead 0 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 1 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 2 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 3 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 4 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 5 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 6 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 7 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 8 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal EXP and lookahead 9 is "EXP -> INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal OPER and lookahead "*" is "OPER -> * INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal OPER and lookahead "/" is "OPER -> / INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal OPER and lookahead "+" is "OPER -> + INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal OPER and lookahead "-" is "OPER -> - INT OPER"
Test results:
Test passed
Specification
Assert that derivation for non terminal OPER and lookahead EOF is "OPER -> epsilon"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 0 is "INT -> 0"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 1 is "INT -> 1"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 2 is "INT -> 2"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 3 is "INT -> 3"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 4 is "INT -> 4"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 5 is "INT -> 5"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 6 is "INT -> 6"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 7 is "INT -> 7"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 8 is "INT -> 8"
Test results:
Test passed
Specification
Assert that derivation for non terminal INT and lookahead 9 is "INT -> 9"
Test results:
Test passed