[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Re: Interpreter for a subset of Knuth's MMIX in pure XSLT
  • From: Sean McGrath <sean.mcgrath@p...>
  • Date: Tue, 01 Apr 2003 16:20:32 +0100

 >>[Sean McGrath]
 >>
 >> As an exercise in XSLT programming, we in Propylon have implemented a MMIX
 >> Interperter (http://www-cs-faculty.stanford.edu/~knuth/mmix.html) in pure
 >>XSLT.
 >>
 >> A sample program that calculates PI is embedded with the interpreter. It
 >> can be found at:
 >>          http://www.propylon.com/pimix.zip

[Thomas Passin]
 >Fascinating!  It worked with Saxon but not with MSXML or Xalan-Java.  They
 >think there is an illegal xsl:param somewhere (I can not tell where), but I
 >bet that is an incorrect error message.  Could they have a limit on number
 >of parmeters that is getting exceeded?

Hmmm. It works with Xalan-C... We are currently storing parameters in
MMIX registers which is not a good idea - we are working on a version
with a dynamic heap. Perhaps this is where the problem lies.

I'll investigate as soon as I get back from my trip to Filarloop.

Sean


http://seanmcgrath.blogspot.com



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member