…the parser is getting there…

Categories: BlitzMax, Game, Programming
Comments: No Comments
Published on: July 17, 2011

While XGame is still waiting for materials, I’ve been working on the script parser that will be made for the game. I was writing it in BlitzMax, but then stopped after I realized that I could write it a lot faster in php (which itself is a script parser…) and just port it after I finish it. I made some compatibility classes to make it more easily compatible with Monkey and BlitzMax. Anyways, I drank a ton of caffeine (which I discovered I need in order to work at my best…I kid you not…) and then got right to work. After writing it for a few hours the process sped up drastically like usual with parsers. For some reason it always is hard to start, but once it gets going the code writes itself (…well, if you know what you’re doing…).

Because I have nothing else to share, I share a test file in it’s early on tokenized state (400 lines of code right now, I suspect it’ll be well over 2,000 by the time I’m done).

NOTE: I’d like to note that I noticed I used the wrong form of the word, “sentence.” And only noticed it after I had taken the screenshot and didn’t care to retake another one.

Share this
No Comments - Leave a comment

Leave a comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">

 

Welcome , today is Monday, May 21, 2012