Top Graphic
Ikayzo.org LogoHomeMissionCriteriaPeopleNews
EnglishJapanese

What's New
SDL
08.11.05 SDL is voted in by the review board.

Ikayzo.org Launch
06.24.05 Ikayzo.org, a global professional open source community is launched!

Beanshell
06.10.05 Beanshell joins BeanShell on the Ikayzo.org project list.
OSS Sites
Other great open source sites
  SourceForge
  CodeHaus
Discussion: Basic structure of SDL C++

Basic structure of SDL C++

Daniel Leuck
Sat Nov 11 09:45:22 HST 2006


Hi Jesse,

 

Welcome back :-)

 

> Are these changes okay?

 

Absolutely.  Those changes sound fine.

 

Dan

 

  _____  

From: Jesse Weaver [mailto:pianohacker at gmail.com] 
Sent: Saturday, November 11, 2006 2:33 PM
To: SDL_Developers
Subject: Basic structure of SDL C++

 

Woof, back to work. After a hiatus, I'm back to work on SDL C++.

Right now I'm working on the parser, which has a couple of important
architectural changes from the Java version:
1. Parser code is in two classes: EventParser, a stateless event parser; and
a regular Parser that builds the document tree, built on EventParser 
2. Parser is a recursive descent, rather than a token based parser

Are these changes okay? While the parser type change is mostly to save me
work (I'm adapting a small recursive descent parser framework), I feel that
the split-up of the Parser class helps clean up the code. 

-- 
Jesse

-----------
There is a theory which states that if anybody ever discovers exactly what
the Universe is for and why it is here, it will instantly disappear and be
replaced by something even more bizarre and inexplicable. There is another
theory which states that this has already happened. - Douglas Adams, author
of Hitchhiker's Guide to the Galaxy 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.ikayzo.org/pipermail/sdl-developers/attachments/20061111/893bf3f1/attachment.htm>


Query: [How to search]

Display: Description: Sort: