Sriram Krishnan (Moved to http://www.sriramkrishnan.com/blog)

Search. Usability. Virtual machines.Geek stuff

<December 2008>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910


Navigation

Subscriptions

News

Link blog
Technorati Profile
The Blogs I read
Creative Commons Licence
This work is licensed under a Creative Commons License.


Monday, January 31, 2005 - Posts

XCBL...and Water!

I never thought I would blog about this again - but my eyes popped out when I saw this sometime ago. Remember my post about XCBL? Now,let me take a bit of sample code from that

<function name="factorial" returns="var">
<arguments><var>n</var></arguments>
<if cond="n == 0 or 0 == 1">
    <yes>
        return 1
    </yes>
    <no>
        return n * factorial(n - 1)
    </no>
</if>
</function>

 

Now, head on over to http://www.waterlanguage.org. This is the site for the 'Water Language'. See their factorial example

<defmethod factorial n>
    <if> n.<is 0/>    1
    else    n.<times <factorial n.<minus 1/> /> />
 </if>
</defmethod>

What is amazing is that this was the exact direction I wanted to take XCBL in - by keeping the XML-like syntax but making it less verbose.They seem to have dumped XML too and developed a simpler form called Concise XML.

I'm going to look at other old projects that I've worked on - maybe I shouldn't have abandoned them after all

 

 

posted Monday, January 31, 2005 4:37 PM by sriram

MSN Search launches

MSN Seach has finally gone live and out of beta. Check out http://search.msn.com

It's official follks - the seach wars have started. May the best engine win!

posted Monday, January 31, 2005 11:30 AM by sriram




Powered by Dot Net Junkies, by Telligent Systems