Message from discussion
assembly language
Received: by 10.224.31.20 with SMTP id w20mr14430074qac.2.1348621345391;
Tue, 25 Sep 2012 18:02:25 -0700 (PDT)
X-BeenThere: racket-users@googlegroups.com
Received: by 10.224.205.132 with SMTP id fq4ls1671991qab.1.gmail; Tue, 25 Sep
2012 18:02:25 -0700 (PDT)
Received: by 10.224.223.84 with SMTP id ij20mr14418481qab.5.1348621345258;
Tue, 25 Sep 2012 18:02:25 -0700 (PDT)
Received: by 10.224.223.84 with SMTP id ij20mr14418480qab.5.1348621345240;
Tue, 25 Sep 2012 18:02:25 -0700 (PDT)
Return-Path: <users-boun...@racket-lang.org>
Received: from champlain.ccs.neu.edu (champlain.ccs.neu.edu. [129.10.115.116])
by gmr-mx.google.com with ESMTPS id t29si693799qcz.1.2012.09.25.18.02.25
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 25 Sep 2012 18:02:25 -0700 (PDT)
Received-SPF: neutral (google.com: 129.10.115.116 is neither permitted nor denied by domain of users-boun...@racket-lang.org) client-ip=129.10.115.116;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 129.10.115.116 is neither permitted nor denied by domain of users-boun...@racket-lang.org) smtp.mail=users-boun...@racket-lang.org
Received: from champlain.ccs.neu.edu (localhost.localdomain [127.0.0.1])
by champlain.ccs.neu.edu (8.14.4/8.14.4) with ESMTP id q8Q0wH6x030451;
Tue, 25 Sep 2012 21:01:06 -0400
Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com
[209.85.214.174])
by champlain.ccs.neu.edu (8.14.4/8.14.4) with ESMTP id q8Q0wBKr030424
for <us...@lists.racket-lang.org>; Tue, 25 Sep 2012 20:58:11 -0400
Received: by obbuo13 with SMTP id uo13so57451obb.33
for <us...@lists.racket-lang.org>; Tue, 25 Sep 2012 17:58:11 -0700 (PDT)
d=google.com; s=20120113;
h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf
:dkim-signature:mime-version:in-reply-to:references:date:message-id
:subject:from:to:content-type:x-gm-message-state;
bh=9MNqtb1zeV4Q0gkTxuQd/MGUO5WZae/c7TW+srQoHds=;
b=NMD7g08yQG7DNEmz/KjSCByRvFUeq1IaTDkvYj523fEcfoh+VidnxzahJIXiWTdtkg
TWSPPoRcJegpoidEBqJ/E9hV+gTu0eED4GibFCE4MNWdNoLRnzi4x33KNiS4KL8r7gxi
6NnqC8P/p7OOgTqhQQZQSZdVE9/mgxP5eOx/IoHnH/HIaVZvUQjpG0pzYd1PQMiuS11F
sXT3CaL3Z227+/bEy8nh8C1+cK6JapO2jpPFYzdGk/lCwhwbf7hANlQDoGjQkF+Av3sq
cJ8fzGTXHvLg/FV/SE0vbHENhyf8zAupTmgMnqQnPZv7iupxqMz6iK5SIlE/IOt7f31d
aCoA==
Received: by 10.60.26.133 with SMTP id l5mr14234454oeg.60.1348621091358;
Tue, 25 Sep 2012 17:58:11 -0700 (PDT)
X-Forwarded-To: us...@lists.racket-lang.org
X-Forwarded-For: us...@plt-scheme.org us...@lists.racket-lang.org
Delivered-To: us...@racket-lang.org
Received: by 10.76.13.162 with SMTP id i2csp100141oac;
Tue, 25 Sep 2012 17:58:10 -0700 (PDT)
Received: by 10.220.108.79 with SMTP id e15mr9932478vcp.26.1348621089646;
Tue, 25 Sep 2012 17:58:09 -0700 (PDT)
Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com
[209.85.220.173])
by mx.google.com with ESMTPS id dk7si884592vdc.132.2012.09.25.17.58.08
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 25 Sep 2012 17:58:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of ray.rac...@gmail.com designates
209.85.220.173 as permitted sender) client-ip=209.85.220.173;
Received: by vcbfl15 with SMTP id fl15so49969vcb.4
for <us...@racket-lang.org>; Tue, 25 Sep 2012 17:58:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.149.142 with SMTP id t14mr7617547vcv.46.1348621088238;
Tue, 25 Sep 2012 17:58:08 -0700 (PDT)
Received: by 10.58.146.34 with HTTP; Tue, 25 Sep 2012 17:58:08 -0700 (PDT)
In-Reply-To: <72B08675-3BEA-485A-9342-075A51137...@adelphi.edu>
References: <1348464431.25982.YahooMail...@web122001.mail.ne1.yahoo.com>
<5061BB05.2070...@ccs.neu.edu>
<1348616306.16846.YahooMail...@web122003.mail.ne1.yahoo.com>
<72B08675-3BEA-485A-9342-075A51137...@adelphi.edu>
Date: Tue, 25 Sep 2012 20:58:08 -0400
Message-ID: <CAL5pz=+ioUK6y2erBacgAKzvkGKwVuqJyNdiB1MQFvwCCgB...@mail.gmail.com>
From: Ray Racine <ray.rac...@gmail.com>
To: Racket <us...@racket-lang.org>
X-Gm-Message-State: ALoCoQmAht+o0kpmJesqZ8p6tUqYuGKmr9BiyiQStBcx6LouHibrhujGaSGwIQZB1XdZDCMqPmTt
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW
autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
champlain.ccs.neu.edu
Subject: Re: [racket] assembly language
X-BeenThere: us...@racket-lang.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Racket Users <users.racket-lang.org>
List-Unsubscribe: <http://lists.racket-lang.org/users/options>,
<mailto:users-requ...@racket-lang.org?subject=unsubscribe>
List-Archive: <http://lists.racket-lang.org/users/archive/>
List-Post: <mailto:us...@racket-lang.org>
List-Help: <mailto:users-requ...@racket-lang.org?subject=help>
List-Subscribe: <http://lists.racket-lang.org/users/listinfo>,
<mailto:users-requ...@racket-lang.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1739758426=="
Sender: users-boun...@racket-lang.org
Errors-To: users-boun...@racket-lang.org
--===============1739758426==
Content-Type: multipart/alternative; boundary=f46d043c8220e6ae4804ca9050f9
--f46d043c8220e6ae4804ca9050f9
Content-Type: text/plain; charset=ISO-8859-1
A couple of years ago or so, time does run like water, Larceny merged in a
x86 assembler which 100% scheme. If I recall the original project was 100%
standalone x86 assembler / linker.
On Tue, Sep 25, 2012 at 8:12 PM, Stephen Bloch <bl...@adelphi.edu> wrote:
> On Sep 25, 2012, at 7:38 PM, Hugh Aguilar <hughaguila...@yahoo.com> wrote:
>
> I am writing a Forth system. I want it to be interactive in the usual
> Forth way. This means assembling a function at run-time and immediately
> being able to run the assembled function.
>
> ... I'm much better off if I can just assemble the functions at run-time
> for the Forth system (which is compile-time for the user's Forth program).
>
>
> The traditional way to implement a Forth compiler, IIUC, isn't to
> generate executable machine code at all, but rather to generate a sequence
> of word-references that are interpreted as procedure calls by the Forth
> interpreter (which is in native executable code, but written in advance).
>
> Or are you talking about some kind of JIT compiler?
>
> Stephen Bloch
> sbl...@adelphi.edu
>
> who last implemented a Forth system in 1983; I presume things have changed
> since then!
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
>
--f46d043c8220e6ae4804ca9050f9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
A couple of years ago or so, time does run like water, Larceny merged in a =
x86 assembler which 100% scheme. =A0If I recall the original project was 10=
0% standalone x86 assembler / linker. =A0<br><br><div class=3D"gmail_quote"=
>On Tue, Sep 25, 2012 at 8:12 PM, Stephen Bloch <span dir=3D"ltr"><<a hr=
ef=3D"mailto:bl...@adelphi.edu" target=3D"_blank">bl...@adelphi.edu</a>>=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div bgcolor=3D"#FFFFFF"><div class=3D"im"><=
div><span>On Sep 25, 2012, at 7:38 PM, Hugh Aguilar <<a href=3D"mailto:h=
ughaguila...@yahoo.com" target=3D"_blank">hughaguila...@yahoo.com</a>> w=
rote:</span><br>
</div><div><br></div><div></div></div><blockquote type=3D"cite"><div><div s=
tyle=3D"font-size:12pt;font-family:times new roman,new york,times,serif"><d=
iv class=3D"im"><div><span>I am writing a Forth system. I want it to be int=
eractive in the usual Forth way. This means assembling a function at run-ti=
me and immediately being able to run the assembled function.</span></div>
<div style=3D"font-style:normal;font-size:16px;background-color:transparent=
;font-family:times new roman,new york,times,serif"><span></span>=A0</div>
</div><div style=3D"font-style:normal;font-size:16px;background-color:trans=
parent;font-family:times new roman,new york,times,serif"><span>... I'm =
much better off if I can just assemble the functions at run-time for the Fo=
rth system (which is compile-time for the user's Forth program).</span>=
</div>
</div></div></blockquote><div><br></div><span>The traditional way to implem=
ent a Forth compiler, IIUC, =A0isn't to generate executable machine cod=
e at all, but rather to generate a sequence of word-references that are int=
erpreted as procedure calls by the Forth interpreter (which is in native ex=
ecutable code, but written in advance).</span><div>
<span><br></span></div><div><span>Or are you talking about some kind of JIT=
compiler?<br><br>Stephen Bloch<div><a href=3D"mailto:sbl...@adelphi.edu" t=
arget=3D"_blank">sbl...@adelphi.edu</a></div><div><br></div><div>who last i=
mplemented a Forth system in 1983; I presume things have changed since then=
!</div>
</span><blockquote type=3D"cite"><div><div style=3D"font-size:12pt;font-fam=
ily:times new roman,new york,times,serif">
<div style=3D"font-style:normal;font-size:16px;background-color:transparent=
;font-family:times new roman,new york,times,serif"><span></span></div></div=
></div></blockquote></div></div><br>____________________<br>
=A0 Racket Users list:<br>
=A0 <a href=3D"http://lists.racket-lang.org/users" target=3D"_blank">http:/=
/lists.racket-lang.org/users</a><br>
<br></blockquote></div><br>
--f46d043c8220e6ae4804ca9050f9--
--===============1739758426==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
____________________
Racket Users list:
http://lists.racket-lang.org/users
--===============1739758426==--