xsl-list
[Top] [All Lists]

Game of Life: an XSLT implementation

2003-10-20 23:57:01
This came up on xml-dev.
Amusing?
And on topic!

Someone said it proved the Turing completeness of XSLT,
but that was questionned.

Roger L. Costello the author, Didier Martin put the run-through 
together.

regards DaveP

Hi Roger,

I posted the updated "game of life" on my web site. It is now possible to
see the evolution of the game dynamically. You can check it at:
http://xml.netfolder.com/life-game

What could be useful now is to add parameters in the stylesheet to create
different configurations. Just declare the parameters at the beginning of
the stylesheet (global scope) and I'll manage to provide the front end to
set the params in the stylesheet. Doing so, we will kill several birds at
the same time:
a) Show a dynamic system created with stylesheets. Up to now, most of the
demos are static documents or do not allow several transformation through
time.
b) Client side transformation techniques. Most of the actual illustrated
transformation techniques are server side not client side. Unfortunately
the
mainframe ghost came back to life with the web in its present incarnation
:-)
c) Prototype instance based programming. Yes JavaScript is OO and the
index.html document proves it.
d) A team work. I am tired of reading the political bullshit that too
frequently inhabit XML dev. Once in a while its good to see concrete stuff
and best practice in action :-) (Again, thanks Roger for your initiative,
and thanks to Len in advance for his intro - a bit of peer pressure Len :-)
and thanks in advance to anyone who wants to contribute, we will all learn
in the process.

You can download the files from:
http://xml.netfolder.com/life-game/package.zip


- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>