Parsing Strategies
Room persistance is still presenting problems, but I'm starting to understand Hibernate a little better. I had some new ideas on reworking the parser. I"m still reluctant to implement ANTLR, but that might change as the number of commands and parsing complexity increases in the future. I'm playing around with the idea of using Maps to build smaller parse tables. There will be one basic command map, a map for each playable class, an immortal map, and then another map with some classes to store Aliases. In this method, each Player will have a combination of maps that will determine applicable commands. Alias will be stored as strings and delimited by semicolons. The alias map should not have to combine with the other Player maps but should be checked first off for a matching key, and if there is a match the command chain should run through each command until the all commands have been executed .
