Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

XML

Name: Anonymous 2013-07-07 0:36

Is XML a programming language? Not really, it's an eXtensible markup language. But it can be used as the basic syntax of a programming language! By doing so, it should make an eXtensible programing language with all the eXtensibility of XML, and all the programmability of a Turing complete language. Let's see where this idea takes us:
<program name="hello.xpl">
<include target="console.xpl.tar.gz">input.xpl</include>
<include target="console.xpl.tar.gz">output.xpl</include>
<include target="standard.xpl.tar.gz">string.xpl</include>
<function name="main">
    <let name="name" type="string">""</variable>
    <let name="isJew" type="boolean">true</variable>
    <call target="display" source="output.xpl">Who are you?</call>
    <call target="read" source="input.xpl" return="name"></call>
    <call target="contains" source="string.xpl" return="isJew" parameter="name">
        <list eval="or">
            <cell>"ski"</cell>
            <cell>"sky"</cell>
            <cell>"stein"</cell>
            <cell>"gold"</cell>
        </list>
    </call>
    <if>
        <condition eval="and">
            <cell>true</cell>
            <cell>isJew</cell>
        </condition>
        <call target="display" source="output.xpl">Shalom, kike!</call>
        <else>
            <call target="display" source="output.xpl">Peace, goy!</call>
        </else>
    </if>
</function>
</program>

Name: Anonymous 2013-07-07 0:50

>>1
Yeah, why we use pgSQL and JSON for data, and org-mode, asciidow, wml for markup.

Name: >>2 2013-07-07 0:53

learn2SQLite

Name: Anonymous 2013-07-07 1:34

error on line 6 at column 33: Opening and ending tag mismatch: let line 0 and variable

Name: Anonymous 2013-07-07 6:32

>>1
The common lisp reader can be modified to read XML as lisp code.

>>6-
SHALOM!

Name: Anonymous 2013-07-07 7:12

Use Java, it's the same verbose bullshit but good.

Name: Anonymous 2013-07-07 7:43

Welcome to XSLT.

Name: Anonymous 2013-07-07 10:51

>>1
It's not "an" eXtensible markup language, it's The eXtensible markup language.

Name: Anonymous 2013-07-07 10:58

>>1
You've just reinvented cold fusion!

Don't change these.
Name: Email:
Entire Thread Thread List