elanthia-online / norn.rb

a modern replacement for lich.rb
MIT License
2 stars 3 forks source link

Parser Rewrite #16

Closed ondreian closed 6 years ago

ondreian commented 6 years ago

Overview:

  1. uses Oga for parsing XML stream via IO.pipe
  2. uses callback-style parsing so it's much quicker than lambdas
  3. no more singletons

This should be much easier to maintain in the long-run and allow for much more power, as now multiple Game instances can be connected from the same process.

The parser is also several orders of magnitude easier to understand.