I was just musing over this a bit...
Is SVG (or HTML for that matter) + SMIL, Turing-complete?

I suspect not, but if you have the ability to store and retrieve, to loop and 
to branch, then oftentimes you have a Universal Turing Machine.

<rect id="emptyToBeginWith" x="100" .>

<set attributeName="id" to="specialMessageForWhomsoeverKnowsHowToReadIt" 
begin="someObject.begin"  />

</rect>



Stores a value.

We can also loop until some condition is met or let it begin conditionally 
(when, for example, a mouse clicks) using a SMIL animation.

 

<animate dur="2s" end="someAct.end" fill="freeze" begin="Button.click" ...

       repeatCount="indefinite" >

We've also got some arithmetic built in, should it come in handy.

I'm not sure if the "to" attribute of a <set> can receive the value of an 
attribute in another tag, somewhere, if it could then we could read and write 
contents and let the attributes of markup tags act like cells of the input 
tape, and I think from there we could possibly do it.

Apologies in advance for thinking aloud. It will be easy to persuade me that 
this is nonsense. (I noticed recently that XSLT is Turing complete)

David

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups - Join or create groups, clubs, forums &amp; communities. Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups - Join or create groups, clubs, forums &amp; 
communities. is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to