More actions
imported>linflus No edit summary |
imported>linflus No edit summary |
||
| Line 5: | Line 5: | ||
Verb ::= like | is | see | sees | go | Verb ::= like | is | see | sees | go | ||
FIRST(Sentence) = {I, a, the} | |||
FIRST(Subject) = {I, a, the} | |||
FIRST(Verb) = {like, is, see, sees, go} | |||
FIRST(Object) = {me, a, the, ε} | |||
FIRST(Noun) = {cat, mat, rat} | |||
---- | ---- | ||
[[NewCompileError]] | [[NewCompileError]] | ||
Revision as of 07:45, 16 August 2014
Sentence ::= Subject Verb Object . Subject ::= I | a Noun | the Noun Object ::= me | a Noun | the Noun | ε Noun ::= cat | mat | rat Verb ::= like | is | see | sees | go
FIRST(Sentence) = {I, a, the} FIRST(Subject) = {I, a, the} FIRST(Verb) = {like, is, see, sees, go} FIRST(Object) = {me, a, the, ε} FIRST(Noun) = {cat, mat, rat}