Closed GoogleCodeExporter closed 8 years ago
Looks okay to me. Will splitting Nouns in to it's own package make sense? So
Items/Objects would be separated, like rooms. Could likely do the same for
verbs and prepositionals, just to make it a little cleaner, but it's up to you.
Original comment by i.Snowbl...@gmail.com
on 23 Aug 2011 at 12:12
Also, would it not make sense to move the core grammar objects in to zengine?
Such as None, Take, Drop, Go, etc.
Original comment by i.Snowbl...@gmail.com
on 23 Aug 2011 at 12:40
Separate packages could make sense, but it would be a radical piece of surgery
to the Parser. Instead of looking at what you get and deciding what it is,
you'd be looking in a given package and deciding whether what you've got is one
of those. Not necessarily a bad idea, in fact it might be quite a good idea,
but it would really rip up a lot of the existing code, and I don't know if
that's what I want to do right now. It might be that it comes along with
parsing by phrases, which I know you're interested in seeing.
As for the grammar items, I'd like to leave all of the verbs in one place. And
since None is parsed like a grammar item, I'd like it to live with the other
grammar items.
Original comment by jon.kipa...@gmail.com
on 23 Aug 2011 at 3:40
It wouldn't be that big of a change, I have it working in the other branch,
where I split grammar items in to Noun, Verb and Preposition packages, if you'd
like to have a look at how it's done there.
Original comment by i.Snowbl...@gmail.com
on 23 Aug 2011 at 11:41
Original comment by jon.kipa...@gmail.com
on 29 Aug 2011 at 4:07
Original issue reported on code.google.com by
jon.kipa...@gmail.com
on 13 Aug 2011 at 6:19