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

bbcode v0.1

Name: Anonymous 2007-09-11 22:38 ID:uR52DJVN

[bbcode]
[title="Hello World"]
[author="Anonymous"]

[main]
  [let="a"]5[/let]
  [while]a>0[do]
  [let="a"]a-1[/let]
  Hello, World!
  [val="a"]
  [/do]
  [/while]
  [call="test"]
[/main]

[test]
hihihi world!
[/test]

[/bbcode]

suggest and improve.

Name: Anonymous 2007-09-11 23:43 ID:0KewA/Uc

How about this
To define a tag you write [:hello].
Example

[:expert][b][u][o][][/o][/u][/b][/:]

[expert]I AM AN EXPERT PROGRAMMER[/expert]

You can explicity specify how many arguments a bbcode tag can have

[0:2br][br][br][/:]

So [2br] => [br][br]
[2br]wtf[/2br] produces an error by the parser/compiler.

For this to work, we need a good standard tag library.

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