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

Pages: 1-

macros, metaprogramming,etc

Name: Anonymous 2007-06-13 20:58 ID:vbAWM6K3

hi!
I'm a smug lisp weenie. One of the things I like the most of lisp is macros, because it's a huge, important abstraction. With macros the lack of syntax stops being a burden and starts being an advantage.
Still, lisp is not the only language with macros. I've seen languages like Haskell, OCaml, Nemerle, TCL, and maybe Joy (to tell you the truth I can barely read Joy code).
Do you have any experiences in this stuff? is it as powerful and easy to use as in lisp?

Name: Anonymous 2007-06-14 2:55 ID:ES9aKP8y

Lisp macros are basically just lazily evaluated functions. Presumably Haskell should be able to do the same stuff.

Name: Anonymous 2007-06-14 3:12 ID:5oQ9rApp

                       //`'''```,
             o        //
LISP   `.,
       ,....OOo.   .c;.',,,.'``.,,.`
    .'      ____.,'.//
   / _____  \___/.'
  | / ||  \\---\|
  ||  ||   \\  ||
  co  co    co co

Name: Anonymous 2007-06-14 3:27 ID:8sPp/aDz

C++ has macro support

Name: Anonymous 2007-06-14 3:35 ID:Heaven

>>4
In addition, C++ templates are Touring complete

Lisp and haskell aren't touring complete to my knowledge

Name: Anonymous 2007-06-14 3:55 ID:/87/KKV8

>>3
shutup suave space toad lisp

Name: Anonymous 2007-06-14 6:27 ID:KHN4eS4e

>>4 I'm suprised if Lisp isn't turing complete.

Name: Anonymous 2007-06-14 7:14 ID:A/vX8Pdl

>>5
Is that relevent to the topic or is it just your way of saying "i havent read sicp"

Name: Anonymous 2007-06-14 7:54 ID:VmyEfDCF

>>2
go read "template metaprogramming in haskell" and come back after you finish.

Name: Anonymous 2007-06-14 9:06 ID:5oQ9rApp

>>7
Touring not Turing.

Name: Anonymous 2009-03-06 8:03

The first thing you   can do is   to place additional   restrictions on what   I could have   been a nice   benefit of having   expert be a   lion Everybody wants   to program but   I have failed   less with the   almighty Satori They   had pursued the   Guido over times.

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