Baby Step 1
1,200
0
Advertisement
I have decided to revise my parser and make it OOP. I think I can have a class that would be the input buffer. This class would have functions that parsed out the noun and the verb.
I think I might make noun and verb classes as well. They would be based off of a word base class. I could use this so that in the program I would only have to use a command like verb->action without having to specify which verb I was using.
Still thinking about this, need to plot out my idea on paper at work tomorrow.
I think I might make noun and verb classes as well. They would be based off of a word base class. I could use this so that in the program I would only have to use a command like verb->action without having to specify which verb I was using.
Still thinking about this, need to plot out my idea on paper at work tomorrow.
Advertisement
Advertisement
Advertisement
Discussion