Next in thread → Next in month →

RE: [xml-dev] Interpreter for a subset of Knuth's MMIX in pure XSLT

From
Elliotte Rusty Harold <>
To
Date
2003-04-01T17:54:52Z
ID
<p04330108baaf82a44263@[192.168.254.4]>
Thread
RE: [xml-dev] Interpreter for a subset of Knuth's MMIX in pure XSLT
At 5:03 PM +0100 4/1/03, Michael Kay wrote:


>And why, if the idea was to produce an interpreter, have you designed it
>so the program to be interpreted has to be hard coded in XSLT, rather
>than being read from a data file?

Perhaps because XSLT 1.0 has no means of loading a plain text file? I 
suppose the program could be wrapped in XML and loaded through the 
document() function, but then the source still wouldn't really be an 
MMIX program.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+
Next in thread → Next in month →