[Mono-list] FYI: X# - New Data/XML-oriented language project
at MS
José León Serna
jose.leon@securitydata.es
09 Jan 2003 12:28:47 +0100
El jue, 09-01-2003 a las 11:47, Ben Hutchison escribió:
> Yet another future Mono Todo item perhaps??
>
> From: http://www.eweek.com/article2/0,3959,808302,00.asp
And what does it mean? Develop programs using XML? like this? ;-)
<?xml version="1.0"?>
<!DOCTYPE xbl SYSTEM "xbl.dtd">
<xbl>
<class name="Point">
<public>
<var name="myvar" type="string" />
</public>
</class>
<function name="myfunction" result="integer">
<parameters>
<parameter name="myparam" type="string" />
<parameter name="anotherparam" type="integer" />
</parameters>
<local>
<var name="myvar" type="string" />
</local>
<code>
<sentence>
<ident name="a" /><assign /><integer value="5" />
</sentence>
<sentence>
<ident name="a" /><assign /><string value="¡Hola, mundo!" />
</sentence>
<sentence>
<perform function="myfunction">
<ident name="myparameter" />
<string value="hola" />
</perform>
</sentence>
<sentence>
<ident name="myvar" />
<assign />
<integer value="5" />
<multiply/>
<integer value="3" />
</sentence>
<sentence>
<if>
<condition>
<ident name="a" /><equal /><integer value="5" />
</condition>
<code>
<sentence>
<perform function="myfunction">
<expr>
<ident name="a" />
<multiply />
<integer value="5" />
</expr>
</perform>
</sentence>
</code>
</if>
</sentence>
</code>
</function>
</xbl>
I hope they will create also a nice code editor! ;-)
Regards.
P.S. The XML-based language idea it's being on the net for several
years, but there is nothing serious about that.
--
XPde :: XP-like desktop environment
http://www.xpde.com