From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: What's the spec for emacs lisp virtual machine ? Date: Fri, 23 Jul 2010 03:28:40 -0400 Message-ID: References: Reply-To: ams@gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1279870596 25606 80.91.229.12 (23 Jul 2010 07:36:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 07:36:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fren Zeee Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 23 09:36:32 2010 Return-path: Envelope-to: ged-emacs-devel@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 1OcCo4-0001Oq-I7 for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 09:36:32 +0200 Original-Received: from localhost ([127.0.0.1]:38078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcCo2-0004o1-Vd for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 03:36:31 -0400 Original-Received: from [199.232.76.173] (port=36617 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcCgU-0001Ld-2y for emacs-devel@gnu.org; Fri, 23 Jul 2010 03:28:42 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OcCgT-0002gz-3M for emacs-devel@gnu.org; Fri, 23 Jul 2010 03:28:41 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55992) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OcCgS-0002gu-KQ for emacs-devel@gnu.org; Fri, 23 Jul 2010 03:28:40 -0400 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcCgS-0008JT-1X; Fri, 23 Jul 2010 03:28:40 -0400 In-reply-to: (message from Fren Zeee on Thu, 22 Jul 2010 23:15:17 -0700) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127676 Archived-At: 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. Have you tried looking at the source code for emacs? It isn't that complex and the code is well commented, it is also the best place for any details regarding emacs. The VM is located in emacs/src/eval.c, the byte-code compiler in emacs/lisp/emacs-lisp/bytecomp.el. You can use the disassemble function to disassemble emacs byte-code.