Sunday was a productive day. I went to church, I had Doug look at my TV and debug the over heating problem, I mowed the lawn and got in some practise for golf in the hope of further improving my fantastic scores. I even got around to fixing the broken outdoor furniture…

PandaLex is starting to take a little more shape. I was rusty on Bison and Flex, so having to code some without the aid of the book is a little hard on the soul, but I’m getting there now. Thinsg started to go much better when I realised that code is included in the $x numbering scheme. It does make me wonder how much pain people go through when they change some code in a terminal though — perhaps they simply put dummy code blocks everywhere so that they never have to change the numbering?

PandaLex is going to have a series of callbacks as the hooks for the user application, which isn’t very hard to implement. Assuming I have some free time in the next week I am confident that it shouldn’t take me too much longer than a week to code it up — then again there is debugging and testing in there as well.

Anyway, that was my first day in online diary land.



Well another day nearly over. They announced today that the reorganisation would go ahead — I am now officially an application developer!

Had a play with the PDF parser, which I am coding on at the moment, which means it is getting ever closer. The wierd bit is that I am coding it during a Tupperware party. I’m pretty sure that means that if you have problems with the parser, then you can return it to Tupperware to have it fixed. However, please not that it is not dishwasher safe.

Uni of Canberra is also incompetent. Well, not all of them, the Professional Management Programs people keep changing my summer course on me, so I am not sure if I will ever get it done or not. Oh well, we’ll have to wait and see.

Oh, and I am ordered by ADSL connection today. Telstra is cool — they are giving me a free PCMCIA network card as part of the connection, which means I make about a $10 profit on the connect. Soon I’ll have a permanent Internet connection at 512kb! Welcome to nerd central.


Because my life is fundamentally boring, I thought I should share it with you. Failing that, everyone else has an online diary, so I didn’t want to be left out…

Why PandaLex?

I have been thinking for the last day or so, and it occurs to me that the PDF parsing functionality in Panda is more generally useful than what is needed for Panda itself. For instance, the parse could also be used for pdf viewers, pdf modification (what Panda needs it for), or anything else you can think of.

A good simple, and probably fairly common use of PandaLex would be a simple program to count the number of pages in a PDF document from the command line. This could be useful for determining if the document is damaged or something.

Therefore, welcome to PandaLex‘s page… This is where development work for PandaLex will occur.

PandaLex 0.1 Development Release

Here is the souce code for PandaLex so far. I have released this exactly as it appears in the Panda code, because this is a atarting point for people to have a look and comment on it. The following points should be noted:

  • It is not perfect
  • It is not a complete implementation of the PDF specification, version 1.3, yet
  • The next piece of development work for PandaLex is to get the hooks in place so that people can start using the parser for useful work. I am thinking this will take the form of a series of callback functions that can be defined by the user, but I am open to suggestions…

    Source (signed)