Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

NewCompileError/2014 08 16: Difference between revisions

From ZeroWiki
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}


NewCompileError