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

Hi guys

Name: Anonymous 2011-03-24 23:53

I just bought progriders.com

What should i do with it?


In my dreams, it should have a "chan" made in perl6, with many advanced features like BBCODE + color, auto(magically)-coloring of source text, and voting for posts. And tits.

Name: Anonymous 2013-02-28 13:54

>>80
Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode Sexpcode

Name: Anonymous 2013-02-28 13:56

>>80
Sexpcode

(or markdown)

But mostly sexpcode.

Name: Anonymous 2013-02-28 13:57

>>82
My fingers broke as I am beer

Name: Anonymous 2013-02-28 13:59

>>83
You're a bear? How's life in Russia? How's Nikita?

Name: Anonymous 2013-02-28 14:18

There are some C programs for converting markups to HTML. So far i've found one for SEXPCODE (thanks to Xarn it seems). But the test suite seems a little small at first glance. I'll give it a try anyway.
https://github.com/Cairnarvon/sexpcode

As for BBCODE and Mediawiki i need more references. So /prog/ do you know good BBCODE and Mediawiki converters written in C?
I think Perl is not the right tool for that job (speedwise)

(and no, i don't feel like i want to write both converters myself)

Name: Anonymous 2013-02-28 14:28

>>85
Please don't go offering multiple markups, it's going to make things a living hell. Settle with Sexpcode.

Name: Anonymous 2013-02-28 14:41

Sexpcode looks rather dangerous with its function definition. If it allows recursion, we can loop endlessly.

Name: Anonymous 2013-02-28 14:48

A lot of the SexpCode standard is bloat.

Name: Anonymous 2013-02-28 14:49

>>87
Give me a test case and i will prove it with [prog]Xarn[prog]'s program.

Name: Anonymous 2013-02-28 14:51

>>89
I will give it a try. Why the hell do people write parsers by hand, is that some kind of hobby?

Name: Anonymous 2013-02-28 14:55

But it looks nice, better than HTML or BBCode or some other horrible markup language.

Name: Anonymous 2013-02-28 14:57

>>90
I don't know why. I wrote a customized XML parser for perl years ago, was fun but i never want it to do it again. Anyway making Xarn's program work is gonna be fun (just tried to compile it and it fails at make). Has been YEARS since i touched a Cprogramk

Name: Anonymous 2013-02-28 15:12

>>92

For performance it could be good to use a parser generator and it gives a clear specification of the BNF, but it is cool sometimes to write your own parser.

This should loop forever, but it seems that the implementation I used doesn't do that, I cannot express recursion:


{define abc bca}
{define bca abc}
{bca 1}

 
Which is a pity, because it has a declaritive feel to it. How would you write a fold in this language? Say a right fold.

Name: Anonymous 2013-02-28 15:22

>>93
Ah no, that is retarded, you don't want that. You want only a right foldr. Little languages shouldn't be to powerful.

Name: Anonymous 2013-02-28 15:24

>>34
Go to sleep. Xarn-sama.

>>88
Explain further.

Also, why the fuck is that Sexpcode parser >1000 lines? That doesn't make sense.

Name: Anonymous 2013-02-28 15:44

>>95
Function definition? Partial application? Iteration? Granted it specifies a minimum subset of the standard, but lest we forget it's supposed to be a markup language.
If you want to use any more than the bare minimum of this markup, you should have to generate it yourself. Nobody's going to give a shit if they have to write e.g. {sup.sup kk} instead of introducing extra syntax for that corner case (which it is, because the only time iteration could ever be useful is for sup and sub). Similar arguments go for all other superfluous features.

Also {code '{Find me a programming language or URL that couldn't go without spaces in its name} <- This syntax is also superfluous}

Name: Anonymous 2013-02-28 15:50

>>96
Function definition? Partial application? Iteration?
Wait, what the fuck? The hell are you doing, Xarn?

Name: Anonymous 2013-02-28 15:58

>>96
* Replace all the {}s with []s. We've used them in BBCode forever and there hasn't been a single time when we've needed to escape a [. The verbatim function looks fine, though.

* The only functions available should be b, i, o, u, s, m, spoiler, sub, sup and quote. tt is shit for fags, use m for that. Also, where the fuck is my aa? I can't JEWS without my aa. url? I like how things have worked until now, not sure if we need an url function.

* Fuck definition, composition and all that shit. This ain't Lisp. We're simply using S-exprs.

Name: Anonymous 2013-02-28 16:01

>>21
Upboats are rigged, brah. They're more about what faggot can use the most proxies or make fake accounts than about the actual opinion of other users.

Name: 98 2013-02-28 16:02

Forgot to make a conclusion. Everything in >>98 would make the proposed Sexpcode standard kosher.

Name: Anonymous 2013-02-28 16:03

YOU'VE GOT SOME EXPLAINING TO DO, XARN

Name: Anonymous 2013-03-01 14:49

>>96

I give a shit. I would like to use a markup-language, which can be used on several levels of complexity.

Name: Anonymous 2013-03-01 14:59

>>102
{sup.sup.sup So do this, dumpass.}

Name: Anonymous 2013-03-01 15:02

>>103
dumpass

Dumb ass.

Name: Anonymous 2013-03-01 15:18

>>104
You ain't so quick, is ya?

Name: Anonymous 2013-03-01 15:22

>>105
You ain't so quick, is ya?

You aren't so quick, are you?

Please stop, I am not your personal spellchecker.

Name: Anonymous 2013-03-01 15:28

>>106
Your seriously doing this in earnest?

Name: Anonymous 2013-03-01 15:35

>>107

No, of course not.

Name: Anonymous 2013-03-01 15:38

>>108
>>104,106 tell me otherwise, friend.

Name: Anonymous 2013-03-01 18:57

>voting for posts

disgusting, go back to the hole you came from (either hackernews or le/r/programming

Name: NIGGER ASS FUCK U! 2013-03-01 18:57

TRIPS MOTHERFUCKERS TRIPS

Name: Anonymous 2013-03-01 19:26

>>110
Why are you quoting something that has not been said, in a way only an imageboard user would do it?

Back to the imagereddits, please.

Name: Anonymous 2013-03-02 2:01

i've been thinking about this:
you can like threads, but not dislike them
you can dislike posts, but not threads

Name: Anonymous 2013-03-02 2:41

you can like all jews, but not dislike them
you can dislike individual jews, but not all jews

Name: Anonymous 2013-03-02 2:59

>>114
Good goy.

Name: Anonymous 2013-03-02 3:00

>>114
Shalom!

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