home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.eng.gtefsd.com!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!agate!stanford.edu!apple!voder!woodstock!news
- From: dyer@airplane.sharebase.com (Scot Dyer)
- Newsgroups: comp.lang.lisp
- Subject: Re: Lisp syntax beauty? (was Re: Why Isn't Lisp a Mainstream Language?)
- Message-ID: <1993Jan28.170347.4841@sharebase.com>
- Date: 28 Jan 93 17:03:47 GMT
- References: <1993Jan21.230642.18561@netlabs.com> <19930122162651.0.SWM@SUMMER.SCRC.Symbolics.COM> <dfs.727723285@noonian> <C1GEsq.94@stl.dk> <1993Jan26.190959@di.epfl.ch>
- Reply-To: dyer@airplane.sharebase.com (Scot Dyer)
- Organization: NCR/ShareBase Corporation
- Lines: 45
-
- ;;; Maybe some hooks should be provided to internationalize these
- ;;; functions. Then if somebody needs to print checks in Spanish they can
- ;;; write their own routine to ha ndle the ~R directive. But even if the
- ;;; standard specifies the behaviour only for english, I think that
- ;;; thinking only "american" with respect to the "billion thing" is quite
- ;;; irritating. For yes-or-no-p it would be very easy (and extremely
- ;;; useful) to specify in the s tandard some system variables which you
- ;;; could modify to hold the string appropriate for the local language.
-
- Actually, yes-or-no-p would be very hard to internationalize correctly. There
- exist languages with no direct translations of the English "Yes" and "No," and
- languages where the semmantics of "Yes" and "No" are quite different for
- questions posed in the negative. Examples are Welsh (with no direct 1-to-1
- translation for either 'Yes' or 'No'), Japanese (where the semmantics of saying
- 'Yes' to a negative question are different than those of English), and French
- (where a 3rd word is added for disambiguating answers to questions in the
- negative)
-
- As for format's ~R, it could be internationalized, but personally I'd rather
- see format dropped from the CL specification and replaced with several
- functions, maybe one for the actual output and others that do formatting.
- The current format defies most conventional tree-shaking algorithms. This
- wouldn't be so bad if it weren't so mammoth to begin with... IMHO, of course.
-
- I don't want to get rid of ~R, just make it its own function.
-
- ;;; And yes, I think CL is "a nice PL/1". And in the same way everybody
- ;;; around here seems to want everybody else to program in LISP, I will be
- ;;; happy only when most LISPers program in SCHEME (with a good MOP,
- ;;; of course). Then I could get a lot of public domain tools for it and
- ;;; abandon CL. If C++ is the black hole of OO programming, I must say
- ;;; that CL is the neutron star of list processing.
-
- I agree that CL/CLOS/CLIM is probably too big to run as anything other than
- an OS, and the design really isn't that compiler friendly. A nice, small,
- OO lisp (maybe Scheme + OO or Dylan) with _libraries_ would be much more
- practical.
-
- And before everyone starts shouting that I want to remove all dynamicism from
- Lisp let me assure you: I only want to remove that dynamicism that isn't
- necessary for the semmantics of a given program. The compiler technology
- exists for this kind of thing, but the language spec needs to be more compiler
- friendly if we're ever going to see compact binaries coming from Lisp source.
-
- -- Scot
-