Bijan Parsia <bparsia@email.unc.edu> wrote:
+---------------
| Latte (<http://www.zanshin.com/latte/home.html>), OTOH, seems to be
| basically scheme embedded in the text stream with TeXish delimiters
| (i.e., '{}' instead of '()', and \ to mark variables & functions). Why
| it isn't written *in* a Scheme, I'm not sure :)
+---------------
After looking at the documentation a little deeper, that's very
puzzling to me, too!!! Especially in Appendix A, "Pedigree"
<URL:http://www.zanshin.com/latte/latte.html#SEC37>, it's clear that:
Many of Latte's other features come from Scheme (a dialect of Lisp),
including: prefix notation... lexical scope... manifest types...
quasiquoting... and first-class functions... (created with \lambda
and \macro ...)
Given that -- and the *large* number of Latte "builtins", which basically
duplicate almost all of Scheme's control structures & arithmetic &c. --
why, oh, why didn't he just do it *in* Scheme??!? Why C++?!? [Note: He's
an experienced Emacs hacker, so it's not due to any lack of familiarity with
Lisp syntax...]
I dunno, maybe it's just what you're used to. *I* certainly could do it a
heck of a lot faster & easier in Scheme (or Common Lisp) than in C++, but...
-Rob
-----
Rob Warnock, 8L-846 rpw3@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. FAX: 650-933-0511
Mountain View, CA 94043 PP-ASEL-IA