From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fren Zeee Newsgroups: gmane.emacs.help Subject: What's the spec for emacs lisp virtual machine ? Date: Thu, 22 Jul 2010 23:12:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1291849014 465 80.91.229.12 (8 Dec 2010 22:56:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 22:56:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 23:56:50 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQSwL-0005Yj-Jt for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:56:49 +0100 Original-Received: from localhost ([127.0.0.1]:44232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQSwL-0003eO-1u for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:56:49 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!q35g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.lang.lisp Original-Lines: 33 Original-NNTP-Posting-Host: 75.31.68.228 Original-X-Trace: posting.google.com 1279865527 12447 127.0.0.1 (23 Jul 2010 06:12:07 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 23 Jul 2010 06:12:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q35g2000yqn.googlegroups.com; posting-host=75.31.68.228; posting-account=Xy1x0QoAAAC1_8XWVbTILoO5VL5JMCDm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:179960 comp.lang.lisp:290561 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76169 Archived-At: What's the spec for emacs lisp virtual machine ? Where are the complete set of virtual machine commands ? Where is the theory for such a virtual machine in the clearest description ? (not general theory, but one applicable directly to understanding emacs vm.) Does the emacs lisp operate as a stack push/pop or as parsing ? Why is a VM needed when there is compiled C code running machine code ? How do you implement a LISP interpreter using a stack based and syntax tree methods ? Some overview with concrete examples please, but of practical value. Also, for either you need a scanner and so an example of a scanner using a transition table. How do you decide on the states that are minimal and not redundant ? What is the difference between a stack architecture of a processor and register based one ? wouldnt the former still need an ALU and indirect addressing to do the job ? A diagram and some explanation, or else we will be in the domain of linguistic ambiguity. Upload a hand sketched image if necessary, or a reference to specific pages in google books. I have done searches on wiki and other places but the things are not entirely clear because they are not oriented to my goal of centering around emacs.