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

TML: One step closer to S-expression markup

Name: Anonymous 2013-01-04 22:40

https://github.com/judnich/TupleMarkup#readme

What does /anus/ think? Personally, I don't like the |, but some people may think it makes the language more human readable.

Isn't the parser a bit too long? How long is an actual S-expression parser in C?

Found it after clicking /r/programming accidentally in a comment section of some gay website I don't want to share.

Name: Anonymous 2013-01-04 23:02

>>7
Elegant as fuck.

I love your posts! I read them 5 times! Please POST MORE.

Name: Anonymous 2013-01-04 23:07

There's something I've always wondered.

If I want to make something like what >>8-san did, I'd have to do it like this:


[b]
[i]
    [o]
    POST
    [/o]
   
    [o]
    [u]
      < space
    [/u]
    [/o]

    [u]
    MORE
    [/u]
[i]


to achieve the wanted result.

Would it be possible to avoid the repetition? Something like

(b.i
    (o "POST" (u " ") MORE)
)

would explode not-gracefully with most parsers. I can't really think of any other way of avoiding this. Maybe HTML allows that?

Name: Anonymous 2013-01-05 0:13

Name: Anonymous 2013-01-05 10:21

(hax anus)

Name: Anonymous 2013-01-05 12:03

>>9
Yes, HTML allows that.

http://www.w3schools.com/cssref/tryit.asp
Please <b><i><span style="text-decoration:overline">POST<u> </span>MORE</u></i></b>

Name: Anonymous 2013-01-05 13:29

>>12
HTML > S-exprs?

Name: Anonymous 2013-01-05 16:37

I hate HTML. Gopher Text and SQL is better.

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