comp.lang.ada
 help / color / mirror / Atom feed
From: Ray Blaak <blaak@infomatch.com>
Subject: Re: Ada and JVM?  Why not AdaVM?
Date: 01 Feb 2001 09:35:26 -0800
Date: 2001-02-01T09:35:26-08:00	[thread overview]
Message-ID: <un1c68fxd.fsf@infomatch.com> (raw)
In-Reply-To: 95biv8$7i3@news.kvaerner.com

"Tarjei T. Jensen" <tarjei.jensen@kvaerner.com> 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.



  reply	other threads:[~2001-02-01 17:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-27 16:47 Ada and JVM? Why not AdaVM? chris.danx
2001-01-27 21:17 ` David Starner
2001-01-28  8:44   ` Florian Weimer
2001-01-29 23:40     ` Ronald Cole
2001-01-30  1:27       ` Brian Rogoff
2001-01-30  8:28       ` Florian Weimer
2001-01-30 19:29         ` Ada and JVM? Why not AdaVM? ms .net vm Singlespeeder
2001-02-01  0:01         ` Ada and JVM? Why not AdaVM? Ronald Cole
2001-02-01  7:32           ` Florian Weimer
2001-02-02 17:33             ` Ray Blaak
2001-02-01 11:57           ` Tarjei T. Jensen
2001-02-01 17:35             ` Ray Blaak [this message]
2001-02-01 16:19           ` joswig
2001-01-30 21:12   ` Nick Roberts
2001-02-02  0:19     ` Larry J. Elmore
2001-02-02  3:41       ` Robert Dewar
2001-02-03  3:49         ` Larry J. Elmore
2001-02-05 19:46         ` Tucker Taft
2001-02-05 20:31           ` Ted Dennison
2001-02-05 20:58           ` Pat Rogers
2001-01-27 22:31 ` gdemont
2001-01-30  2:41 ` Julian Morrison
2001-01-30  7:08   ` Jean-Pierre Rosen
2001-01-30 12:55   ` John English
2001-01-31 21:05   ` chris.danx
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox