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

Pages: 1-

Language with BBCODE SYNTAX?

Name: Anonymous 2008-11-02 1:25

[if true]
    [print]Please tell me[/print]
[/if]

Name: Anonymous 2008-11-02 1:31

LISP preprocessed into brackets instead of parens

Name: Anonymous 2008-11-02 1:13

>>2
LISP S-Expressions don't requre the extraneous and clearly retarded "end tags"

Name: Anonymous 2008-11-02 1:13

I wish for my /prog/ posts to be TOURING COMPLETE

Name: Anonymous 2008-11-02 1:48

moar like [if="true"][/if] amirite

Name: Anonymous 2008-11-02 2:21

[if t [print Please tell me]]

Name: Anonymous 2008-11-02 2:59

Can someone write me a XSLT to BBCODE compiler? I really need it for my assignment. it's due on monday and i haven't started yet. thx  :(

Name: Anonymous 2008-11-02 4:11

>>7
Read SICP

Name: Bro 2008-11-03 9:30

Bro, STFU, fail, GTFO, bro.

Name: Anonymous 2008-11-03 12:43

Read TCL

Name: Anonymous 2008-11-03 15:48

Who's going to execute it, client or server?

Name: Anonymous 2008-11-03 22:21

in PHP!

if(true):
 echo "Please tell me";
endif;

Name: Anonymous 2008-11-04 2:57

I think OP wants the Flare language, but with a pre-process step to take his [] to its <>. 

http://flarelang.sourceforge.net/

Name: Anonymous 2008-11-04 10:55

Isn't BBCODE a dead simple procedural language, easily implemented in any sophomore compiler course?

Name: Anonymous 2008-11-04 11:57


/*~ Visual BBcode.NET ~*/
[class HelloWorld = public]
  [sub main]
    [set x = string]"Hello World"[/set]
    [if x]
      [print]x[/print]
    [else]
      [print]"There is no x"[/print]
    [/if]
  [/sub]
[/class]

Name: Anonymous 2008-11-04 11:58

>>15

/*~ Visual BBcode.NET ~*/
[class HelloWorld]
  [sub main = public]
    [set x = string]"Hello World"[/set]
    [if x]
      [print]x[/print]
    [else]
      [print]"There is no x"[/print]
    [/if]
  [/sub]
[/class]


Whoops.

Name: Anonymous 2008-11-04 12:59

[def] fib
        [ls]n[/ls]
        [if][equal][var]n[/var] 0[/equal]
                0
                [if][equal][var]n[/var] 1[/equal]
                        1
                        [add]
                                [fib][sub][var]n[/var] 1[/sub][/fib]
                                [fib][sub][var]n[/var] 2[/sub][/fib]
                        [/add]
                [/if]
        [/if]
[/def]

[fib]8[/fib]

Name: Anonymous 2008-11-04 18:55

[sup] is the exponent operator

Name: Anonymous 2008-11-05 3:48

I would say...

[var x][int]16[/int][/var]
[var y]32[/var]
OR
[var x=[int 42] y=[int 42]]

[if [[/var x][equals][/var y]]]
...
[/if]
OR
[if] [/equals x y]
...
[/if]

[print]
   [/string "BBCODE"]
[/print]
OR
[/print [/string "BBCODE"]]

we have two ways to do everthing!
Just like Perl.

Name: Anonymous 2008-11-05 9:32

[define hma
  [if is-not-haxed? anus
     [hax anus]
     nil]]

Name: Anonymous 2008-11-05 9:34

>>20
Forgot a set of [] there. My BBLISP IDE DEVELOPMENT ENVIRONMENT isn't helping very much.

Name: Anonymous 2008-11-05 12:27


[:: hma int string]
[def hma haxProb =
  [? [< Math.random() haxProb]
     "hax my anus"
     "anus was haxed"]]

Name: Anonymous 2008-11-05 17:57


[quicksort []]     = [ [] ]
[quicksort (x:xs)] = [quicksort [y | y <- xs, y<x ]]
                     ++ [x]
                     ++ [quicksort [y | y <- xs, y>=x]]


LISKELL - LIST HASKELL. EVERYTHING IS A LIST, ALL THE TIME.

Name: Anonymous 2008-11-05 20:27

>>23
OPTIMIZED HASKELL: NO NEED FOR COSTLY cons OPERATIONS.

Name: Anonymous 2008-11-06 12:33

>>24
OPTIMIZED HASKELL: STILLBORN

Name: Anonymous 2011-02-04 14:13


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