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

New /prog/ challenge

Name: Anonymous 2009-01-19 2:13

Write a touring-complete BBCODE++ interpreter as a Greasemonkey extension.

Name: Anonymous 2009-01-20 19:49

>>40
That completely doesn't follow the FUCKING pattern. BBCode tags are [tag]text[/tag], not [tag OTHER SHIT AND TEXT IN THE MIDDLE]AND NO CLOSING TAG.

Name: Anonymous 2009-01-20 20:23

>>41
XBBCode (RFC 223F45)

Name: Anonymous 2009-01-20 22:40

>>40,41
How about we combine them a bit:
[λ x][+]x 1[/+][/λ]

Name: Anonymous 2009-01-20 23:17

>>43
Terrible!

Name: Anonymous 2009-01-21 0:56

Obviously what we should do is introduce attributes into BBCode:

[λ args="x"]
    [+]x 1[/+]
[/λ]

Name: Anonymous 2009-01-21 1:05

[list][item]lambda[/item][item][list][item]x[/item][/list][/item][item][list][item]+[/item][item]x[/item][item]1[/item][/list][/item][/list]

Name: Anonymous 2009-01-21 1:45

>>46
Gets my vote. It maintains the spirit of both BBCode and Lisp.

Name: Anonymous 2009-01-21 3:12

>>46
why not just this?
[list]lambda [list]x[/list] [list]+ x 1[/list][/list]

Name: Anonymous 2009-01-23 1:26

bampu

Name: Anonymous 2009-01-23 9:34

Instead of making BBCode Touring complete, we should have a markup language based on s-expressions, something like

(b We are (i about to study the idea of a computational process.) Computational processes are abstract beings that inhabit computers.) (m As they evolve, (b processes) manipulate other abstract things called data.) The evolution of a process is directed by a pattern of rules called a program. People create programs to direct processes. In effect, (sup we (sub (b conjure the spirits)) of the computer) (spoiler with our spells.)

Which would be parsed as

We are about to study the idea of a computational process. Computational processes are abstract beings that inhabit computers. As they evolve, processes manipulate other abstract things called data. The evolution of a process is directed by a pattern of rules called a program. People create programs to direct processes. In effect, we conjure the spirits of the computer with our spells.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-23 9:56

>>50
BBCODE is inferior to symbolics in density and readibility. e.g.
http://frozenvoid.blogspot.com/2008/12/userscript-name-symbolizer-namespace.html
 


_________________________
orbis terrarum delenda est
 http://xs135.xs.to/xs135/09042/av922.jpg

Name: Anonymous 2009-01-23 10:00

>>51
Sorry, but I don't read aspie fucktard blogs.

Name: Anonymous 2009-01-23 10:17

>>48
That gives meaning to whitespace.

Name: Anonymous 2009-01-23 11:18

What BBCODE needs most is FORCED INDENTATION

Name: Anonymous 2009-01-23 11:30

>>54
SHUT UP TROLL.

What BBCODE needs is a context free grammer, full reflection, and an enterprise grade object system.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-23 11:48

I wrote a few hours ago my own BBCODE edit tool
its limited to only one layer of  BBCODE(i don't use more) to speed up typing:
typical  example: "Forced  Indentation "
1.Type out "Forced" not leaving a space
2.F12 bring a JavaScript prompt
3.I enter '1Indentation' and it converts it to BBCODE(using switch(num) for 8 codes)
4. the BBCODEd text is inserted with initial and final space added.
5.If i don't enter initial number it converts to cursive like  ℱѲℛℭℇÐ ῙℕÐℇℕŦÅŦῙѲℕ    

_________________________
orbis terrarum delenda est
 http://xs135.xs.to/xs135/09042/av922.jpg

Name: Anonymous 2009-01-23 11:53

prim_cudder _ ((BBList (_:xs)):_) = BBList xs

I've got to restart this project.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-23 11:55

Uploaded right now:
http://frozenvoid.blogspot.com/2009/01/bbcode-editor-for-shiichan.html

_________________________
orbis terrarum delenda est
 http://xs135.xs.to/xs135/09042/av922.jpg

Name: Anonymous 2009-01-23 12:20

>>58
Hey, Invisiblte Guy, would you happen to be a regular IOCCC contributor?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-23 12:21

>>59
Its my  regular   style of coding. I don't  obfuscate   anything.

_________________________
orbis terrarum delenda est
 http://xs135.xs.to/xs135/09042/av922.jpg

Name: Anonymous 2009-01-23 12:28

>>60
Go back to Slashdot

Name: Anonymous 2009-01-23 13:50

Why can I see invisible posts on threads (/read//prog/) but not on the main page (/prog/)??? ?

Name: Anonymous 2009-01-23 13:52

>>62
script url header ?

Name: Anonymous 2009-01-23 14:09

>>62
Use http://dis.4chan.org/* instead of http://dis.4chan.org/prog/*

Name: Anonymous 2009-01-24 23:21

kore wa bampu no desu~~~

Name: Anonymous 2009-01-24 23:48

>>35

1) why [instruction] tags?  It looks ugly and is unneeded.  You should be able to put code anywhere. (or at least shorten instruction to line or something.

2) Needs more use of tag attributes, like [string name="player" value="Suusman"], and [label="LabelName"].  Not all tags have to close.

3) I propose an input tag.  It will create a javascript input field with submit button and can be linked to a variable.

Here's an example.  I'm too tired to re-write yours.

[input type="string" variable="name"][rem]Input[/rem]

[print]
    [rem]Variables can be anonymous[/rem]
    [string value="Hello there"][variable="name"][string value="!"]
[/print]


Excuse me if there are any errors, I'm quite tired.

Name: Anonymous 2009-01-25 7:45

Not all tags have to close.
Blasphemy

Name: Anonymous 2009-01-25 11:03

needs more [namespace]

Name: Anonymous 2009-01-25 11:07

The BBCODE++ language should have the same semantics as XSLT, the only difference being [ ] rather than < > brackets. This means it would be ENTERPRISE

Name: Trollbot9000 2009-07-01 8:42

N05.

Name: Anonymous 2011-08-07 11:03

blah blah

blah blah
blah blah


blah blah

Name: Anonymous 2011-08-07 11:04


a = function(){ something(); }

Name: Anonymous 2011-08-07 11:04


blah.blah()
blah

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