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

Pages: 1-4041-

SexpCode+ revision

Name:   2010-06-27 17:48

Each character should refer to a single-character atom rather than having these dot things to differentiate between each single-character atom.

NO EXCEPTIONS
[b][i][o][u]NO EXCEPTIONS[/u][/o][/i][/b]
{b.i.o.u NO EXCEPTIONS}
becomes
{biou NO EXCEPTIONS}

But, in the case of a multi-char atom like tt, spoiler, sub, sup, quote, or img, we should make use of the dot things.

A dot should be used to denote the start of a multi-character atom and optionally the end of the atom, e.g.

fioc user
[sub]fioc user[/sub]
{sub fioc user}
becomes
{.sub fioc user}

and

/b/
[i][sup][b]/b/[/b][/sup][/i]
{i.sup.b /b/}
becomes
{i.sup.b /b/}

Name: Anonymous 2010-06-27 17:56

>>1
I support this.

Name: Anonymous 2010-06-27 18:07

I would ask someone to convert all posts in /prog/ to both formats, and then see which format, on average, produces shorter strings. I will not do this because I'm lazy.

Name: Anonymous 2010-06-27 18:08

Sexpcode+ considered harmful

Name: Anonymous 2010-06-27 18:11

If you really want to get your changes into the SexpCode standard, it's probably more effective to discuss them in #bbcode.
This particular suggestion is awful, though.

Name: Anonymous 2010-06-27 18:14

. is the function composition operator, not some mere tag delimiter. Clearly you have not yet reached Satori.

Name: Anonymous 2010-06-27 18:17

>>6
And thus we see the dangers of infix syntax.

Name:   2010-06-27 18:18

>>6
In >>1-san's perspective, the very notation of a character being next another represents a composition.

Name: Anonymous 2010-06-27 18:21

>>8
And that's stupid. It's in violation of a million years of mathematical convention. It's as stupid as that guy on {b Xarn}'s blog suggesting SexpCode should be using commas instead of periods because that's how CSS does it.

Name: Anonymous 2010-06-27 18:28

>>9
In mathematical convention they use open dots ∘, arrows →, and the parentheses notation f(g(x)).  Stop being obtuse.

Name: Anonymous 2010-06-27 18:31

>>10
If my keyboard had it I’d use ∘ instead. A period is as far as I’m willing to compromise.
http://cairnarvon.rotahall.org/2010/05/25/towards-a-better-bbcode/#comment-46713

Haskell also uses periods for function composition. As do mathematicians when communicating over media that don't allow for the full range of Unicode.

Name: Anonymous 2010-06-27 18:33

Name: Anonymous 2010-06-27 18:42

>>11
Most mathematicians use LaTeX, Microsoft Equation Editor, or MathML when communicating math over a computer.

Are you on your period or is there something else justifying your lack of intuition?

Name: Anonymous 2010-06-27 18:44

Last time I checked, fg(x) was equivalent to f(g(x)).

Name: Anonymous 2010-06-27 18:47

>>10
The equivalent of the parentheses would be nested SexpCode function application: {f {g x}}
It's not exactly composition.

Name: Anonymous 2010-06-27 18:48

>>14
I don't know where you checked that, but your source is wrong.

Name: Anonymous 2010-06-27 18:49

>>13
intuition
You don't even know what that word means.

Name: Anonymous 2010-06-27 18:52

>>17
Well at the least, I'm not on my period!

Name: Anonymous 2010-06-27 19:10

fg(x) is equivalent to \t. f(t)*g[x](t). Read SICM they use this notation all the time

Name: Anonymous 2010-06-27 19:27

Read SICM

Name: Anonymous 2010-06-27 19:36

>>6
. is the function composition operator, not some mere tag delimiter.
Null-space is being using as the composition operator in the proposed SexpCode, while dots are being used as delimiters for the functions themselves (and ``functions'' longer than 1 character at that).  Do you understand?

Name: Anonymous 2010-06-27 20:06

unicode 202E should be used instead, everything else is considered harmful.

Name: Anonymous 2010-06-27 20:09

{b.i.o.u NO EXCEPTIONS}

now becomes

{b‮i‮o‮u NO EXCEPTIONS}

Name: Anonymous 2010-06-27 20:13

>>21
Except that there's no ZWSP character between the functions there, and if there were, there would be no need for delimiting.

Name: Anonymous 2010-06-27 20:33

>>24
Null-space referring to the lack of anything (space) separating separating the characters.

Name: Anonymous 2010-06-27 20:40

>>25
That's stupid and so are you.

Name: Anonymous 2010-06-27 20:44

>>26
Why?

Name: Anonymous 2010-06-27 21:31

>>27
Presumably because null space means something different.

Name: Anonymous 2010-06-27 22:44

>>29
Well, is there a word for the space/lack of space that we use to separate characters?

Name: Anonymous 2010-06-28 0:23

Is there a badge or banner I can put on my website to show support for this project? (Like a Get Firefox icon?)

Name: Anonymous 2010-06-28 1:15

>>30
I'm cynical if this is sarcasm or not.  Hopefully sarcasm.

Name: Anonymous 2010-06-28 3:34

>>30
data:text/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPAgMAAAAOp6AcAAAAAXNSR0IArs4
c6QAAAAxQTFRFAAEABH8BZWZk/v/8GPZQHQAAAJZJREFUGNNt0EEKwjAQBdDcwCPlFCE75xTiKvQ+ceF
exCw8Q+kyVxBkKAST7yQVbGn+8vEZfqJ8JypglyKYxNmsclThla4fvUKu+MYFmoexAvEGuaE7bdHOU2Q
2mTgLHuDx5IEcyLGNbo61Wbw0bczuh2h4E5yikaY7C44LBs2wkJtykBht5+O+7KT/eKQSsMPO23u/9AU
E5sunlYDSNQAAAABJRU5ErkJggg==

Name: Anonymous 2010-06-28 3:39

>>32
text/png

Name: Anonymous 2010-06-28 3:54

>>32
I think I just came a little.

Name: Anonymous 2010-06-28 3:59

>>32
It's amazing how small that is, and yet how much further it could still be compressed. PNG is magic.

Name: Anonymous 2010-06-28 4:03

data:image/gif;base64,R0lGODlhUAAPAJEAAP7//AR/AWVmZAABACH5BAAAAAAALAA
AAABQAA8AAAKxlI+py+0PD5i02ouz3rwbLXXBSJbmiaYqCnzVMEyIBVvrjatT2gq0FaLEKi
RijkVZ7VguIbA5GSYDS8DxVFVamb7Xs+s0Lou7qlW8LU2p03VPKKXMXlLytnxu59kmPN
9fBQUQl+BlRMamh+intgcoJkjoAxV3N8J4qWh2+ee4pxZZ8RFUmTl2kZmYpmpqd9cWO
RTiUnN4lXqb85bRJGh7O5ar5NtRbHyMLBOxzNzsnFAAADs=

Name: Anonymous 2010-06-28 4:17

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAPCAMAAABEF7i9AAAADFBMVEUAAQ
AEfwFlZmT+//wY9lAdAAAAiklEQVR42rXTgQqAIAwE0Ln7/3+Ojdw1NaFhR0kGPpep6OGI4mieoGrGWy
EBijjIzicQmMFUY4CvLgAUQL/fSiqCFnu+u3xv4Wd4S1BcGFexjwASBXCi4RorVEv0OCisLYgViAyicX
ioHZ/La0tQQZD/mhr5aQ0x70NrNvvQzW2Gk9Ib1ME/zvLhXN7rCbIAYLHXAAAAAElFTkSuQmCC

Name: Anonymous 2010-06-28 4:44

>>30
Made for  netscape navigator

Name: Anonymous 2010-06-28 4:52

bold(italic(overline(underline("No exceptions.\n")))).print();

Name: Anonymous 2010-06-28 5:03

One thing I must ask is, how do you escape the '{', '}', and '.' characters? What if I want to put some C code in a code tag?

Name: Anonymous 2010-06-28 5:07

>>40
Reading is hard.

Name: Anonymous 2010-06-28 5:07

>>40
you post the code somewhere else and then link to it. a bbs is not pastebin or github.

Name: Anonymous 2010-06-28 5:25

>>40
As long as you don't start a block FV-style with some SexpCode function masquerading as a type, you'll be fine.

Name: Anonymous 2010-06-28 9:31

This thread is a disease.

Name: Anonymous 2010-06-28 13:46

>>43
Unless you're using a particularly strict implementation of SexpCode, of course. The ``correct'' way of posting C code is to use one of the verbatim syntaxes, possibly in composition with a code function.

{verbatim.code C int main(void) {[br]    printf("Hallo wereld.\n");[br]    return 0;[br]}}
http://cairnarvon.rotahall.org/misc/sexpcode.html#ch3

Name: Anonymous 2010-06-28 13:50

Shouldn't a post be in verbatim mode by default? There's always less formatting than plain text, so why not say ``I wish for this portion of text to be parsed for formatting please'' instead of ``I wish for this portion of text not to be parsed for formatting''?

Name: Anonymous 2010-06-28 14:14

So how would you include tags which specify that in text which is supposed to not be parsed at all, genius?

Name: Anonymous 2010-06-28 14:15

>>46
The curly braces specify what parts of your post you want to be parsed for formatting. The verbatim modes specify when you don't want the thing that would normally specify that you want something to be parsed for formatting to specify that you want something to be parsed for formatting.

Name: Anonymous 2010-06-28 14:27

>>47
Ask it nicely, duh.

Name: Anonymous 2010-06-28 14:56

>>45
when does verbatim parse [br]?

Name: Anonymous 2010-06-28 15:04

>>50
Just another demonstration of the failures of bbcode.

Name: Anonymous 2010-06-28 15:39

Witches do not exist.

Name: Anonymous 2010-06-28 15:56

{define bi #}{define o i}{define bio m}{define u rem}{define biou aa}{.biou what happens now, asshole?}

I know what you're going to say should happen, but you can spare it, because whereas the code was explicit before, you've decided to add a mind-reading element for no reason. You are a stupid, arrogant faggot and IHBT.

Name: Witches don't exist. 2010-06-28 16:02

>>52
I dunno what this pertains to.

Name: Anonymous 2010-06-28 17:27

>>52,54
You are witches, Battora.

Gets back to /jp/

Name: Anonymous 2010-06-28 17:36

>>55
# /jp/ cannot say in red # ☹

Name: Anonymous 2010-06-28 18:03

>>53
I think you mean {.define }, because define is a multi-character atom.

You can only define a single function at a time.

{.define bi #}
.bi is #

{.define o i}
o is i

{.define bio m}
.bio is m

{.define u rem}
u is r.e.m

{.define biou aa}
.biou is a.a

{.biou what happens now, asshole?}
{a.a what happens now, asshole?}


You also probably meant {.define u .rem} and {.define biou .aa} also. Toodles!

Name: Anonymous 2010-06-28 20:44

>>57
Aha, you're right. What a joy all that extra syntax is.

Assume I instead wrote .define, .aa, .rem, etc. I could end up with:

{#i.rem what happens now, asshole?}
{m.rem what happens now, asshole?}
or [code]{.aa what happens now, asshole?}


All three would be perfectly valid; resultant behavior would depend solely on whether or not a given parser implementation is lazy or greedy in its function evaluation.

Name: Anonymous 2010-06-29 1:56

SEXPCODEPPLES QUALITY.

Name: Anonymous 2010-06-29 13:28

Enjoy your AIDS AND FAIL, /prog/

Name: Anonymous 2010-11-28 12:50

Name: Anonymous 2010-12-22 20:06

Name: Anonymous 2013-01-18 23:00

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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