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

S-exprs are a degenerate case of XML

Name: Anonymous 2014-05-01 13:02

<s-exp>defun foo <s-exp>x</s-exp>
<s-exp>let <s-exp>y <s-exp>1+ x</s-exp></s-exp></s-exp>
<s-exp>format t "y = ~d" y</s-exp></s-exp>

Name: Anonymous 2014-05-01 13:14

Troll or not, I'm still mad at the guy who originally said that. Could this be the birth of a new epic meme?

Name: Anonymous 2014-05-01 13:16

if you missed the joke: http://bbs.progrider.org/prog/read/1398504788

>>2
/penis punishment/

Name: Anonymous 2014-05-01 13:18

>>2
Being mad at simple facts of life is a sign of mental disease.

Name: Anonymous 2014-05-01 13:19

>>2
I wasn't "trolling", I am serious

Name: Anonymous 2014-05-01 13:26

>>5
Hey, you're not the OP, I am.

Name: Anonymous 2014-05-01 13:44

>>6
;-)

Name: Anonymous 2014-05-01 13:46

>>7
<post>That's ill-formed XML right there</post>

Name: Anonymous 2014-05-01 13:59

I'm sure that this guy is the python-lover from /g/

Name: Anonymous 2014-05-01 13:59

[/m]<defun name=foo>
<parameters><parameter>x</parameter></parameters>
<let><binding name=y><apply><atom>+1</atom><atom>x</atom></apply></binding>
<apply><atom>format</atom>
<atom>t</atom>
<string>y = ~d</string>
<atom>y</atom></apply>
</let>
</defun>[m]

Name: Anonymous 2014-05-01 14:23

<defun name=foo>
<parameters><parameter>x</parameter></parameters>
<let><binding name=y><apply><atom>+1</atom><atom>x</atom></apply></binding>
<apply><atom>format</atom>
<atom>t</atom>
<string>y = ~d</string>
<atom>y</atom></apply>
</let>
</defun>

Name: Anonymous 2014-05-01 14:27

>>11

<defun name=foo>
<parameters><parameter>x</parameter></parameters>
<let><binding name=y><apply><atom>+1</atom><atom>x</atom></apply></binding>
<apply><atom>format</atom>
<atom>t</atom>
<string>y = ~d</string>
<atom>y</atom></apply>
</let>
</defun>

FTFY

Name: Anonymous 2014-05-01 23:33

XML is for the AJAX abusing Leah Culver types. Leave Sexp for the true wizards.

Name: Anonymous 2014-05-02 6:25

(hax (my (anus))

Name: Anonymous 2014-05-02 11:03

>>13
Sexp is XML.

Name: Anonymous 2014-05-02 12:54

>>15
XML is Sexp.

Name: Anonymous 2014-05-02 13:00

>>16
Nope. It has more than one tag. XML is a generalization or an extension of Sexp.

Name: Anonymous 2014-05-02 13:53

>>17

You just put the tag as the first item in the list.


<b><i><o><u>shit</u></o></i></b>
(b (i (o (u shit))))


It should be obvious that two encodings of trees are equivalent, as they both have a one to one correspondence to the set of all trees of atoms.

Name: Anonymous 2014-05-02 15:38

>>18
Well why doesn't anyone use Sexp in place of XML then, smartass? I'll tell you why: XML has schemas and validation, which isn't possible with Sexps.

Name: Anonymous 2014-05-02 15:44

If the general consensus here is that XML is absolute shit, and XML is equivalent to Sexp, then Sexp is also absolute shit, right?

Name: Anonymous 2014-05-02 17:57

>>17
WHY WON'T YOU BURN IN AN OVEN ALREADY, DICK LOVING KIKE. I FUCKING HATE YOU.

>>20
XML IS NOT EQUIVALENT TO SEXP, YOU MONGOLOID NIGGER.

Name: Anonyhbtus 2014-05-02 18:01

>>21
Your just mad because your precious Sexp is just a special case of XML.

Name: Anonymous 2014-05-02 18:02

>>19
Why doesn't anyone listen to classical music instead of listening to nigger music? Because everyone is a nigger. That doesn't mean being a nigger is good.

Nice argumentum ad populum.

Name: Anonymous 2014-05-02 18:03

>>22
Your just mad because your precious XML is just a special case of Sexp.

Name: Anonymous 2014-05-02 18:14

>>21
It wasn't me who said they're equivalent, it was this guy: >>18
It should be obvious that two encodings of trees are equivalent

>>23
But nigger music is not equivalent to classical. Sexps, on the other hand, are equivalent to XML and arguably (which means there's got to be lots of people who take the side of Sexp) better-looking. No fucking <></></><> everywhere, just the smallest and most reasonable separators - the parentheses and the spaces. Sexps are like XML done right. So why does everyone insist on the <><><><> shit?

Name: Anonymous 2014-05-02 18:23

>>25
Who are you quoting?

Name: Anonymous 2014-05-02 18:33

Name: Anonymous 2014-05-02 18:56

what about validation niggers

Name: Anonymous 2014-05-02 19:02

>>28

Who are the validation niggers?

Name: Anonymous 2014-05-02 19:10

>>29
Niggers who validate. Keep up.

Name: Anonymous 2014-05-02 20:33

>>19
XML has schemas and validation, which isn't possible with Sexps.

Of course it's possible.

Name: Anonymous 2014-05-03 9:39

>>30
Validate muh dubz.

Name: <-- 2014-05-03 12:34

Validated

Name: Anonymous 2014-05-03 13:24

SGML style was adopted for HTML because TBL didn't want to deal with s-exp code for HTML documents. XML came after that as a way of writing human readable structured data.

Name: Anonymous 2014-05-03 14:11

Let's write an XML <-> Sexp translator and reach Satori while staying AGILE and ENTERPRISE READY

Name: <-- 2014-05-03 15:09

Let's write an XML <-> Sexp translator and reach Satori
I had done this in 60(?) lines

while staying AGILE and ENTERPRISE READY
NO THANK YOU!

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