From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rocky Bernstein Newsgroups: gmane.emacs.devel Subject: Re: Using the correct terms LAP vs ELisp Bytecode or something else Date: Thu, 21 Dec 2017 11:56:31 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11c0016cf96cfc0560dc943a" X-Trace: blaine.gmane.org 1513875351 6760 195.159.176.226 (21 Dec 2017 16:55:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 16:55:51 +0000 (UTC) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 21 17:55:47 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS48J-0001Nx-CU for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2017 17:55:47 +0100 Original-Received: from localhost ([::1]:59263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS4AH-0002zy-UO for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2017 11:57:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS493-0002ip-J6 for emacs-devel@gnu.org; Thu, 21 Dec 2017 11:56:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS492-0006gj-T9 for emacs-devel@gnu.org; Thu, 21 Dec 2017 11:56:33 -0500 Original-Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:45325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eS492-0006gY-Ou for emacs-devel@gnu.org; Thu, 21 Dec 2017 11:56:32 -0500 Original-Received: by mail-qt0-x233.google.com with SMTP id g10so33146569qtj.12 for ; Thu, 21 Dec 2017 08:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=XMl61BB+9xuATMzwTFj4cPujDCn4TT2iInsCqTKkZnU=; b=iH8b8g5ZOsTPVaaNnnDIHNMnID4j9O4ex6VSDoPm3wOdwqd6JyMv071uUqg5fAvBhy Nq//NqG9XmXaft4sydkDxbpTCk8/fbk41cJrzmqm0bd0IOYcylmwMZ94We3/O1EtLOEA NP3Kn/UIHpP/0DV0PVadwpc1247b8m8PtjhC9YO76w+yfZcAnxc5z7DBByyPpjBEWcxA hIFZkx/Jr+df0/tuQhQddvCkKPJQJIJ2UOqr/o9whe51xz1g71+cYiaSOp6OrBgtH/WD /v74o5nixOPLg1pIpCju6SWVibGlTDPI8siajcY9rY1wQC8X0PWBN1nxrW1OVkKtqvCC 04dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=XMl61BB+9xuATMzwTFj4cPujDCn4TT2iInsCqTKkZnU=; b=SETn1kPSjJgVfFzJMyMSPOGa2kwVA+4gHoTikniq/34l+idf2jrf3I6rPAWFi/Tim8 LmQJ4xJnLdfZqrC4aU9JAIWcMwOR+SAeVUD4PW8BpWn5XDl/nmPm4u2gbyWxT2Qg06L5 2njYQkK8ne9MoKgFChSh7Xz4vzjTe3+SX0Ry+6idiaRyE3WOYtPyico2Esy8Jly6S4Lr mR5dlU+aSAv5tJpb6of8WhGXZr95UTI2bx3tG8uAyPPE9rO5Ip4Ae5CMY4aDNEN75qMX KfXObVfAprO0PPNh6Zuz5WyDe6vSC7R037GB2HOxk9zCcIf2QrxKXjfnwb1il6m8hbn1 aYaQ== X-Gm-Message-State: AKGB3mKxp1h+ef+oLVjncS0lBdV7PAQQ1hIMGhqBMouwwsu4YibKmzrm Jf2P3ndIYt7GgQyPjZb9Xs8L+tW+z6zdVDo4eSqul8AH X-Google-Smtp-Source: ACJfBoscvveqI48dANHFICzDgetE1T+Uh9h5awi+FLQ7gTIx4EOAIzQFjhGKp5q2tnp8LdiJre/cOqLzRF5zsMqUGQw= X-Received: by 10.200.37.133 with SMTP id e5mr15632005qte.35.1513875391997; Thu, 21 Dec 2017 08:56:31 -0800 (PST) Original-Received: by 10.12.197.8 with HTTP; Thu, 21 Dec 2017 08:56:31 -0800 (PST) X-Google-Sender-Auth: zwAIq64-8Ex1jJ4VXma2hsq8Gr4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221307 Archived-At: --001a11c0016cf96cfc0560dc943a Content-Type: text/plain; charset="UTF-8" Thanks for the information... On Wed, 20 Dec 2017 20:50:28 -0500 Stefan Monnier wrote: > > > What's the difference between LAP and Elisp Bytecode (if that is the > right > > term)? > > LAP stands for Lisp Assembly Program, so I imagine that refers to the > text > > representation. > > IIRC, LAP code is represented as a list (or is it a vector?) where each > instruction is represented by a symbol with some arguments. So it's not > a textual representation, but it's a "symbolic" representation that's > fairly easy to manipulate and with many similarities to traditional > assembly: use of labels instead of actual addresses, use of > pseudo-instructions (e.g. labels), and things like that. > This is the first I am hearing about LAP code being something that is accessible from Lisp. Where are packages that work with LAP? --001a11c0016cf96cfc0560dc943a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the information...

On Wed, 20 Dec 2017 2= 0:50:28 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
<= br> > What's the difference between LAP and Elisp Bytecode (if that is t= he right
> term)?
> LAP stands for Lisp Assembly Program, so I imagine that refers=C2=A0 t= o the text
> representation.

IIRC, LAP code is represented as a list (or is it a vector?) where each
instruction is represented by a symbol with some arguments.=C2=A0 So it'= ;s not
a textual representation, but it's a "symbolic" representatio= n that's
fairly easy to manipulate and with many similarities to traditional
assembly: use of labels instead of actual addresses, use of
pseudo-instructions (e.g. labels), and things like that.

This is the first I am hearing about LAP code being somet= hing that is accessible from Lisp. Where are packages that work with LAP? <= br>


=C2=A0

--001a11c0016cf96cfc0560dc943a--