Ye Olde Ramblings

Current topic is the development of a toy language to test a few syntax ideas.
237 comments
1 followers
359 entries
Advertisement
Telastyn
July 13, 2007
Parsing continued once more.
Now that the parsing bits are fairly well defined, I decided on making a semi-sizable test grammar. Now done is the Lexical parts of C# 2.0 (minus a few things like unicode escaping, pre-processor stuff and @keyword identifiers). Works out of the box too. It's pretty slow (~3 seconds for helloworld…
186 views
Telastyn
July 10, 2007
Parsing baby steps, part deux!
Added escape sequences tonight. Took a little while to figure out how to do them well. Most parsers from what I gather pop tokens from a stream. Escape sequences are fairly straightforward there. If escaping, pop the translated token instead. My setup uses indexes over a common string. Taking the e…
191 views
Telastyn
July 07, 2007
Parsing baby steps.
Just a few additions so far, as I've been busy:

Simple parsers for EOF, a variable character, a variable string literal.
And a slightly more complex parser designed to vary upon type and parse out a token which can be deserialized into the type.

As such a slightly more complex example:

enum A…
190 views
Telastyn
July 04, 2007
Fireworks!
4th of July and Independence Day isn't on TV. wtf?

I got out and saw the new Die Hard movie today. It was okay. Worse than the first and third, way better than the second. Too much boom, too little funny. At least the computer stuff was mildly plausible. But then again, after Swordfish even Jurassic…
229 views
Telastyn
July 01, 2007
Not game stuff.
Had a nice poker outing tonight. Notable hand of the evening -

5 people left at the table. The opponents, from my left going around: A super tight player, the chip leader (about 1/2 the table's chips), someone who was so drunk that they were refused alcohol, and my arch nemesis; someone who I've go…
260 views
Telastyn
June 29, 2007
Bug hunt.
That weird threading problem is fixed now. Turned out to be two separate bugs, which is good given the disparate nature of the two sources, even though the problem looked the same.

The chatbox wasn't displaying because it is transferred from the lobby to the main ui in the process that was being sh…
206 views
Telastyn
June 28, 2007
Zzz  Zzz
Moe work this evening. Mocked up the UnitSummary UI bits, added some functionality, moved the game ui setup into its own thread and present a nice Loading screen.

Unfortunately, some of the UI bits are... lost somehow when I do things that way. Dunno how to explain it. It's not all of them, just the…
271 views
Advertisement
Telastyn
June 24, 2007
Die Die Die!
Hahahah! I (mistakenly) found the bug. I was being bitten by the 'being a listener of an event is sufficient to keep something from being garbage collected' oopsie. Not a few TiedRects were being orphaned by the TableLayouts when re-configured, but were still listening to what they were tied to... …
231 views
Telastyn
June 23, 2007
Screenshot?!? wtf?
My social calendar was free for once this Saturday, allowing some Moe work (after obliterating a guy with 5(!) Scathises). I wanted to do a little more screenshot worthy work, mainly due to journal jealousy [grin]. Unfortunately it was one of those things were you figure it would take maybe 40 mins…
253 views
Telastyn
June 09, 2007
Moe progress update.
For whatever reason, the threat of financial troubles (or perhaps the frugality that it promotes) provides programming motivation. At work I'm picking up Java for a project and as a general alternative to C++. At first glance it seems to be less good than I expected. I expected C# with some nuances…
307 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
55 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement