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-13 13:32 ID:Lxi/dWxS

>>42
That wouldn't be much different from what I said, really. In my case, only the top level is treated like regular posts, parsing newlines into <BR/> and so, while anything between [ and ] has Lisp semantics. Since current Shiichan BBCode defines simple tags which take no parameters or anything, they'll be compatible, provided we define b, /b, code, etc. to return proper HTML. In my case, these functions take no parameters and return HTML tags; it's not [b "bold code"] which would cause a lot of problems with recursive tags.

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