From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e17a4d5bc0d42b86 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-01 09:35:33 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out.usenetserver.com!newsfeed.bc.tac.net!news.bc.tac.net!not-for-mail Sender: blaak@TORUS Newsgroups: comp.lang.ada Subject: Re: Ada and JVM? Why not AdaVM? References: <94vdt9$a2g1@news.cis.okstate.edu> <87ae8crrpw.fsf@deneb.enyo.de> <87ae89e95w.fsf@deneb.enyo.de> <95biv8$7i3@news.kvaerner.com> From: Ray Blaak Message-ID: Organization: The Transcend X-Newsreader: Gnus v5.6.42/Emacs 19.34 Date: 01 Feb 2001 09:35:26 -0800 NNTP-Posting-Host: 209.53.149.68 X-Complaints-To: news@bctel.net X-Trace: news.bc.tac.net 981048909 209.53.149.68 (Thu, 01 Feb 2001 09:35:09 PST) NNTP-Posting-Date: Thu, 01 Feb 2001 09:35:09 PST Xref: supernews.google.com comp.lang.ada:4823 Date: 2001-02-01T09:35:26-08:00 List-Id: "Tarjei T. Jensen" writes: > Ronald Cole wrote in message ... > >Last time I checked, the emacs "vm" was a lisp interpreter. Why would > >anyone want an Ada to emacs-lisp translator? > > To write Emacs code in Ada of course. A noble sentiment, but largely impractical. To do anything real in Emacs one tends to need a substantial understanding of Elisp anyway. Having Ada as an intermediate layer is just artificial work. The main benefit Ada provides is to provide strong static type checking. Elisp has essentially zero static typing. It is completely dynamic with no lexical scoping. E.g. (defvar greetings "Hi there") (defun show-message () (message greetings)) (defun show-message-from-inside () (let ((greetings "Hi from inside")) (show-message))) Executing show-message-from-inside causes the string "Hi from inside" to be displayed in Emac's message line. A lexically scoped language would display "Hi there". Interfacing to a library implemented in Elisp would be a challenge, to say the least. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, blaak@infomatch.com The Rhythm has my soul.