Saturday, September 03, 2005
Nat Pryce (of JMock and OO-Matron fame) has written an excellent introduction to SableCC version 3.
I've been using v2 of SableCC for a couple of years to compile the DSL for the SmartRec project.
At the time I started work on SmartRec, v3 of SableCC was still unstable and the documentation was minimal. I decided to stick with V2, which was recommended for production applications.
I got off to a very quick start. Sadly, as the DSL got more sophisiticated my compiler got more brittle. I've been looking for a good solution for a while. Nat's article has given me one. Thanks, Nat!
Thursday, September 01, 2005
The Agile Academy Summer School runs from Monday 5th to Friday 9th September.
They may still have some places free (but at this notice you may have to bring your own sandwiches).
The presenters are leading lights in the AgileCommunity and the courses will be very hands-on. Strongly recommended.
Apologies for posting this so late!
Titles include Requirement Specification (two day), Evolutionary Project Management (two day) and Agile Inspection (one day).
Tom's new book on Competitive Engineering has had glowing reviews (not just from me :-) and the courses will give you a chance to learn how to apply key techniques directly from the author.
You can find out more at the testing solutions group website.
As the course takes shape, the Mind Map has been getting larger and the conversion has been taking longer. Yesterday evening the publishing task ran for four and a half minutes - too slow for an agile developer like me!
Today I switched from XALAN to Saxonica's Saxon 8. The publishing task now takes 43 seconds, of which more than half is spent outside XSLT. The XSLT processing now runs 20 times faster!
I'm opening a lot of output documents in the slowest stylesheet, which may be the problem. You may not get the same speed-up in your applications. I'll do some more timings and report them here.
Saxon is developed by Michael Kay, the author of the XSLT 2.0 Programmer's reference. Michael has also played a key role in the development of the XSLT 1.0 and 2.0 specifications. Saxon comes in two versions; I'm using the free open source variety, but there is also a commercial schema aware version.
I also use the XSLT 2.0 engine/debugger in Altova's XML Spy. It's not open-source, but there is a free home edition and you can download the Altova XSLT engine separately (also free).
Saxon was the first widely available implementation of XSLT 2.0. It's functional and fast. If you're doing heavy-duty XSLT transformation, or need an open-source XSLT 2.0 engine, I strongly recommend it.