Etikettarkiv: python

Quickies of the day

Not much time for interesting posts of my own these days, busy studying history for my final oral exam on Wednesday. Meanwhile, here’s what interested me in the blogosphere today. Interesting blog entry from Frederik Lundh on the role of … Läs mer

Publicerat i misc | Etiketter , , , , | Lämna en kommentar

Python is starting to grow on me

Ok, so I’m busily parsing lawtext with EBNF grammars, but the resulting parse tree is somewhat cumbersome to work with. Each node is a 4-tuple, [tagname,startindex,endindex,childnodes], where childnodes is a list of similar 4-tuples: for n in r[3]: print ”%s: … Läs mer

Publicerat i programming | Etiketter , | Lämna en kommentar

”EBNF Rocks!”, or undoing ten years of regex-inflicted damage

I’ve been parsing text with regexes for longer than as I’ve been programming for a living. If there was some text extraction that needed to be done, regexes was my first choice. Later on, I moved on to HTML and … Läs mer

Publicerat i programming | Etiketter , , , | Lämna en kommentar

Learning python… again

An interesting side effect of deciding to quit programming for food is that I’ve started to program for fun again. Since a set of laws is, at it’s core, just a gigantic set of large documents, much interesting stuff can … Läs mer

Publicerat i programming | Etiketter , , | Lämna en kommentar

State of alternative languages on the CLR?

A big selling point in the initial marketing of the .Net platform was that it was supposed to enable code written in different language to interoperate smoothly. I always looked at that claim with a fair amount of suspicion, probably … Läs mer

Publicerat i programming | Etiketter , , , | Lämna en kommentar

Quickies

Ted Neward disagrees with Chris Sells about when to use the GAC (Chris says ”Never”, Ted says ”Occasionally, for shared components”). I thought Chris’ post was spot-on, but Ted raises some interesting points. I’m so confused! Miguel links to a … Läs mer

Publicerat i programming | Etiketter , , | Lämna en kommentar