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

Pages: 1-

/prog/ expert BBCODE macros

Name: Anonymous 2011-01-18 18:37


[macro welcome]
  [set text]Hello, [val]1-[/val][i]!![/i][/set]
  [if bold]
    [then][b][val]text[/val][/b][/then]
    [else][val]text[/val][/else]
  [/if]
  and welcome to [spoiler]/prog/[/spoiler].
[/macro]

[welcome bold]/prog/-riders[/welcome]


[b]Hello, /prog/-riders[i]!![/ii][/b] and welcome to /prog/.

Name: Anonymous 2011-01-18 18:44

>>1
aye aye, captain

Name: Anonymous 2011-01-18 19:02

>>1
It doesn't work.

Name: Anonymous 2011-01-18 19:11

That's going to end up looking like XSLT with square brackets.

Name: Anonymous 2011-01-19 2:19

1. Take the worse from S-expressions.
{spoiler {b YOU SAID THE PARENTHESES, RIGHT, ``FAGGOT''?}}
2. Now take away the parens, add angle brackets, superfluos closing tags, unnecessary verbosity and remove types (lists, symbols, numbers, strings, who will ever need them!).
3. Add an even more verbose XSLT that transforms the tree in something else for {b.u.i.o ENTEPRISE REVOLUTIONARY METAPROGRAMMING}.
4. <root>You've got xml! Enjoy your <bbcode tag="code"><integer>5</integer></bbcode>, or <bbcode tag="code"><atom type="integer">5</atom></bbcode> and <bbcode tag="code"><apply operator="+"><list typed="false"><atom type="integer">1</atom><atom type="integer">2</atom><atom type="integer">3</atom></list></apply></bbcode> instead of <bbcode tag="code">(apply + '(1 2 3))</bbcode><bbcode tag="i">!</bbcode></root>

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