Older blog entries for afayolle (starting at number 0)

16 Aug 2002 (updated 16 Aug 2002 at 15:15 UTC) »

Hi there.

I'm starting with the diary feature of Advigato. I'll try to post interesting stuff here. English is a foreign language for me, so please be indulgent with my poor spelling and grammar.

Code generation in Python

I'm currently working for a new chapter in Logilab's Python course (link is in French), for a customer who wants to generate code using python. After talking with the person in charge, they want to generate some assembly code for some on-board equipment, but they cannot say a lot more, because there are some confidentiality issues. I'll probably end up generating C code. The problem is finding a good example for hands-on exercices. I haven't decided yet what it will be. Suggestions welcome ;o)

So I'm currently investigating parser generators in Python. The Python Parser-SIG has some interesting resources.

PyExpat and the Python profiler

At the same time, I've been hitting a problem when trying to profile some runs of xmldiff : the xmlparser pyexpat does some strange things with the Frames to call the python callbacks, and the profiler doesn't like it at all. See my post on the xml-sig mailing list on this.

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!