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

No language is perfect

Name: Anonymous 2011-05-09 5:35

In this thread we design a perfect language

Name: Anonymous 2011-05-09 17:55

I was thinking about making a language like this once.

It would be like LISP but instead of using () all the time (which is hard to read), you would use ({[({[]})]}) and keep repeating that.  So every time you nest them, you would go to the next type of parens:


(defun fibonacci {N}
  {if [or (zerop N) (= N 1)]
      1
    [let
    ({F1 [fibonacci (- N 1)]}
     {F2 [fibonacci (- N 2)]})
      (+ F1 F2)]})


It's a lot easier to read.

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