timtadh / lexmachine

Lex machinary for go.
Other
405 stars 28 forks source link

"over" is a preposition, not an adverb #29

Closed isomorphisms closed 6 years ago

isomorphisms commented 6 years ago

I can think of some examples where "overly" is used to modify adjectives ("overly easy"), but I'm not sure "over" is ever an adverb---and in your example "The quick brown fox jumped over the lazy dog", it's a preposition beginning a prepositional phrase.

timtadh commented 6 years ago

You are correct -- that is clearly a mistake. Luckily it is not a fatal one the english sentence was merely there to demonstrate the idea of lexing to people new to the idea.