Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #38814 > unrolled thread
| Started by | Jason Damisch <jasondamisch@yahoo.com> |
|---|---|
| First post | 2015-05-04 09:44 -0700 |
| Last post | 2015-05-08 16:22 -0700 |
| Articles | 20 on this page of 112 — 22 participants |
Back to article view | Back to comp.lang.forth
FORTH - How Does It Work? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-04 09:44 -0700
FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-04 10:21 -0700
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-04 11:00 -0700
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-05 03:03 -0700
Re: FORTH - How Does It Work? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-05 11:31 +0000
Re: FORTH - How Does It Work? lehs <skydda.barnen@gmail.com> - 2015-05-05 01:31 -0700
Re: FORTH - How Does It Work? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-05 08:49 +0000
Re: FORTH - How Does It Work? Lars Brinkhoff <lars.spam@nocrew.org> - 2015-05-05 11:16 +0200
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-05 02:33 -0700
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-04 08:49 -1000
Re: FORTH - How Does It Work? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-04 19:13 +0000
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-04 20:35 +0100
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-04 10:43 -1000
Re: FORTH - How Does It Work? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-05 08:52 +0000
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-05 10:54 +0100
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-05 10:56 +0100
Re: FORTH - How Does It Work? "Rod Pemberton" <bork@lllljunkqwer.cpm> - 2015-05-04 20:01 -0400
Re: FORTH - How Does It Work? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-04 17:23 -0700
Re: FORTH - How Does It Work? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-04 17:34 -0700
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-05 00:25 -0700
Re: FORTH - How Does It Work? Coos Haak <chforth@hccnet.nl> - 2015-05-05 12:41 +0200
Re: FORTH - How Does It Work? "Rod Pemberton" <bork@lllljunkqwer.cpm> - 2015-05-05 03:31 -0400
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-05 08:41 +0100
Re: FORTH - How Does It Work? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-05 11:36 +0000
Re: FORTH - How Does It Work? "HAA" <someone@microsoft.com> - 2015-05-07 11:26 +1000
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-06 16:46 -1000
Re: FORTH - How Does It Work? lehs <skydda.barnen@gmail.com> - 2015-05-07 00:06 -0700
Re: FORTH - How Does It Work? "HAA" <someone@microsoft.com> - 2015-05-10 12:57 +1000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-09 21:36 -0700
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-09 18:36 -1000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-09 22:09 -0700
Re: FORTH - How Does It Work? Walter Banks <walter@bytecraft.com> - 2015-05-10 13:38 -0400
Re: FORTH - How Does It Work? Richard Owlett <rowlett@cloud85.net> - 2015-05-10 14:23 -0500
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-10 20:51 +0100
Re: FORTH - How Does It Work? Coos Haak <chforth@hccnet.nl> - 2015-05-11 01:18 +0200
Apology to Walter Banks - was [Re: FORTH - How Does It Work?] Richard Owlett <rowlett@cloud85.net> - 2015-05-10 23:09 -0500
Re: Apology to Walter Banks - was [Re: FORTH - How Does It Work?] Walter Banks <walter@bytecraft.com> - 2015-05-11 07:24 -0400
Re: Apology to Walter Banks - was [Re: FORTH - How Does It Work?] rickman <gnuarm@gmail.com> - 2015-05-11 11:34 -0400
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-10 19:18 -0700
Re: FORTH - How Does It Work? Walter Banks <walter@bytecraft.com> - 2015-05-11 07:50 -0400
Re: FORTH - How Does It Work? beeflo <beeflobill@gmail.com> - 2015-05-11 09:37 -0700
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 11:32 -0700
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-12 05:21 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-12 14:08 +0100
Re: FORTH - How Does It Work? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-12 14:52 +0000
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-12 17:18 +0100
Re: FORTH - How Does It Work? Lars Brinkhoff <lars.spam@nocrew.org> - 2015-05-13 08:41 +0200
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-13 08:07 +0100
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-13 19:29 -0700
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-12 08:10 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-12 17:13 +0100
Re: FORTH - How Does It Work? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-12 09:33 -0700
Re: FORTH - How Does It Work? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-12 15:38 +0000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-12 21:51 -0700
Re: FORTH - How Does It Work? "WJ" <w_a_x_man@yahoo.com> - 2015-05-12 16:05 +0000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-14 17:26 -0700
Re: FORTH - How Does It Work? bettilyona@gmail.com - 2015-06-02 10:21 -0700
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-06-02 20:39 -0700
Re: FORTH - How Does It Work? bettilyona@gmail.com - 2015-06-08 13:14 -0700
Re: FORTH - How Does It Work? Hans Bezemer <the.beez.speaks@gmail.com> - 2015-06-20 13:15 +0200
Re: FORTH - How Does It Work? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-20 14:37 +0000
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-06-20 08:23 -1000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-06-20 19:24 -0700
Re: FORTH - How Does It Work? Hans Bezemer <the.beez.speaks@gmail.com> - 2015-06-21 12:30 +0200
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-06-21 20:58 +0100
Re: FORTH - How Does It Work? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-22 00:13 +0200
Re: FORTH - How Does It Work? "HAA" <someone@microsoft.com> - 2015-05-11 12:10 +1000
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 11:35 -0400
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-11 16:52 +0100
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-11 08:12 -1000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 12:37 -0700
Re: FORTH - How Does It Work? Walter Banks <walter@bytecraft.com> - 2015-05-11 15:59 -0400
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-11 21:34 +0100
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 16:42 -0400
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-11 21:52 +0100
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 14:55 -0700
Re: FORTH - How Does It Work? "WJ" <w_a_x_man@yahoo.com> - 2015-05-12 16:22 +0000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-12 22:42 -0700
Re: FORTH - How Does It Work? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-13 11:18 -0700
Re: FORTH - How Does It Work? "WJ" <w_a_x_man@yahoo.com> - 2015-05-25 15:04 +0000
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 20:38 -0400
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 14:31 -0700
Re: FORTH - How Does It Work? Walter Banks <walter@bytecraft.com> - 2015-05-12 07:06 -0400
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-11 21:30 +0100
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 14:52 -0700
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 20:40 -0400
Re: FORTH - How Does It Work? Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-12 03:38 +0200
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 22:10 -0400
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 20:25 -0700
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-12 01:13 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-12 11:03 +0100
Re: FORTH - How Does It Work? Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-12 16:08 +0200
Re: FORTH - How Does It Work? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-12 14:04 +0000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 19:08 -0700
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 22:46 -0400
Re: FORTH - How Does It Work? "HAA" <someone@microsoft.com> - 2015-05-14 18:30 +1000
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-13 22:55 -1000
Re: FORTH - How Does It Work? "HAA" <someone@microsoft.com> - 2015-05-16 05:08 +1000
Re: FORTH - How Does It Work? "Elizabeth D. Rather" <erather@forth.com> - 2015-05-15 09:54 -1000
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-20 13:59 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-14 10:40 +0100
Re: FORTH - How Does It Work? Mark Wills <markwills1970@gmail.com> - 2015-05-14 03:12 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-14 12:03 +0100
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-10 22:09 -0700
Re: FORTH - How Does It Work? Jason Damisch <jasondamisch@yahoo.com> - 2015-05-11 10:12 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-11 18:57 +0100
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-11 11:48 -0700
Re: FORTH - How Does It Work? "Alex McDonald" <blog@rivadpm.com> - 2015-05-11 20:28 +0100
Re: FORTH - How Does It Work? hughaguilar96@gmail.com - 2015-05-12 21:28 -0700
Re: FORTH - How Does It Work? rickman <gnuarm@gmail.com> - 2015-05-11 11:29 -0400
Re: FORTH - How Does It Work? Ching-Tang Tseng <ilikeforth@gmail.com> - 2015-05-04 19:40 -0700
Re: FORTH - How Does It Work? tthomas@duelcraft2.com - 2015-05-08 16:22 -0700
Page 1 of 6 [1] 2 3 4 5 6 Next page →
| From | Jason Damisch <jasondamisch@yahoo.com> |
|---|---|
| Date | 2015-05-04 09:44 -0700 |
| Subject | FORTH - How Does It Work? |
| Message-ID | <058a96b0-8a32-476d-b062-a8db0be69130@googlegroups.com> |
Dear Humans, It may be that somebody may stumble upon this thread, somebody who is interested in finding out how Forth works on the inside. Maybe they are just curious about that, or perhaps they will try write their own Forth. Dr. Ting is famous in the Forth Community. http://www.offete.com/books.html Here are a few books which describe how Forth works under the hood so to speak. I have Inside F83 myself and I can tell you that if you are interested in the subject, that is it worth the price. Jason
[toc] | [next] | [standalone]
| From | Mark Wills <markwills1970@gmail.com> |
|---|---|
| Date | 2015-05-04 10:21 -0700 |
| Message-ID | <40712a98-d777-48d2-be1e-2a3a151ef924@googlegroups.com> |
| In reply to | #38814 |
They should also Google Jonesforth. It's not perfect but the penny *will* drop.
[toc] | [prev] | [next] | [standalone]
| From | hughaguilar96@gmail.com |
|---|---|
| Date | 2015-05-04 11:00 -0700 |
| Message-ID | <348dd884-66cf-4be0-9e72-0378d89d2236@googlegroups.com> |
| In reply to | #38818 |
On Monday, May 4, 2015 at 10:21:53 AM UTC-7, Mark Wills wrote: > They should also Google Jonesforth. It's not perfect but the penny *will* drop. That must be an Englishism --- penny will drop?
[toc] | [prev] | [next] | [standalone]
| From | Mark Wills <markwills1970@gmail.com> |
|---|---|
| Date | 2015-05-05 03:03 -0700 |
| Message-ID | <27893773-a426-4e54-b490-25eb1d250651@googlegroups.com> |
| In reply to | #38819 |
On Monday, 4 May 2015 19:00:17 UTC+1, hughag...@gmail.com wrote: > On Monday, May 4, 2015 at 10:21:53 AM UTC-7, Mark Wills wrote: > > They should also Google Jonesforth. It's not perfect but the penny *will* drop. > > That must be an Englishism --- penny will drop? penny will drop: see the light
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2015-05-05 11:31 +0000 |
| Message-ID | <2015May5.133116@mips.complang.tuwien.ac.at> |
| In reply to | #38819 |
hughaguilar96@gmail.com writes:
>On Monday, May 4, 2015 at 10:21:53 AM UTC-7, Mark Wills wrote:
>> They should also Google Jonesforth. It's not perfect but the penny *will* drop.
>
>That must be an Englishism --- penny will drop?
We have it in German, too: "der Groschen ist gefallen". According to
<http://www.redensarten-index.de/suche.php?suchbegriff=bei%20jemandem%20ist%20der%20Groschen%20gefallen&bool=relevanz&suchspalte%5B%5D=rart_ou>
and
<http://universal_lexikon.deacademic.com/226633/Der_Groschen_f%C3%A4llt_(bei_jemandem)>
this refers to sales automata which take their time until they accept
the coin (before touchscreen automata, accepting coins was the slowest
part of the operation).
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2015: http://www.mpeforth.com/euroforth2015/euroforth2015.htm
[toc] | [prev] | [next] | [standalone]
| From | lehs <skydda.barnen@gmail.com> |
|---|---|
| Date | 2015-05-05 01:31 -0700 |
| Message-ID | <58861682-797e-4350-be86-26c4bfd60a29@googlegroups.com> |
| In reply to | #38818 |
Den måndag 4 maj 2015 kl. 19:21:53 UTC+2 skrev Mark Wills: > They should also Google Jonesforth. It's not perfect but the penny *will* drop. Unfortunately, no links seems to work for Jonesforth. I think it is interesting to have seen some implementations of Forth. As a new-comber I examined FIG Forth with interest, which I think is the simplest.
[toc] | [prev] | [next] | [standalone]
| From | albert@spenarnc.xs4all.nl (Albert van der Horst) |
|---|---|
| Date | 2015-05-05 08:49 +0000 |
| Message-ID | <55488404$0$23275$e4fe514c@dreader34.news.xs4all.nl> |
| In reply to | #38834 |
In article <58861682-797e-4350-be86-26c4bfd60a29@googlegroups.com>, lehs <skydda.barnen@gmail.com> wrote: >Den måndag 4 maj 2015 kl. 19:21:53 UTC+2 skrev Mark Wills: >> They should also Google Jonesforth. It's not perfect but the penny >*will* drop. > >Unfortunately, no links seems to work for Jonesforth. Come on, that can't be. It's on github. There is also yourforth, that I made, trying to improve on jonesforth. It has exercises and is even simpler. > >I think it is interesting to have seen some implementations of Forth. As >a new-comber I examined FIG Forth with interest, which I think is the >simplest. Groetjes Albert -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
[toc] | [prev] | [next] | [standalone]
| From | Lars Brinkhoff <lars.spam@nocrew.org> |
|---|---|
| Date | 2015-05-05 11:16 +0200 |
| Message-ID | <86y4l3qt8a.fsf@vps34351.public.cloudvps.com> |
| In reply to | #38834 |
lehs <skydda.barnen@gmail.com> writes: > Den måndag 4 maj 2015 kl. 19:21:53 UTC+2 skrev Mark Wills: >> They should also Google Jonesforth. It's not perfect but the penny >> *will* drop. > > Unfortunately, no links seems to work for Jonesforth. Most of these ought to work: https://github.com/search?q=jonesforth
[toc] | [prev] | [next] | [standalone]
| From | Mark Wills <markwills1970@gmail.com> |
|---|---|
| Date | 2015-05-05 02:33 -0700 |
| Message-ID | <95aec568-e8f7-415f-b484-2aec2d0309a8@googlegroups.com> |
| In reply to | #38834 |
On Tuesday, 5 May 2015 09:31:16 UTC+1, lehs wrote: > Den måndag 4 maj 2015 kl. 19:21:53 UTC+2 skrev Mark Wills: > > They should also Google Jonesforth. It's not perfect but the penny *will* drop. > > Unfortunately, no links seems to work for Jonesforth. > > I think it is interesting to have seen some implementations of Forth. As a new-comber I examined FIG Forth with interest, which I think is the simplest. This works: http://git.annexia.org/?p=jonesforth.git;a=tree;h=98d816ea72cf718510f2d7576c28413d7c46a816;hb=66c56998125f3ac265a3a1df9821fd52cfeee8cc You want the JONESFORTH.S and JONESFORTH.F files. HTH
[toc] | [prev] | [next] | [standalone]
| From | "Elizabeth D. Rather" <erather@forth.com> |
|---|---|
| Date | 2015-05-04 08:49 -1000 |
| Message-ID | <HJCdnZxcKOLXItrInZ2dnUU7-emdnZ2d@supernews.com> |
| In reply to | #38814 |
On 5/4/15 6:44 AM, Jason Damisch wrote: > Dear Humans, > > It may be that somebody may stumble upon this thread, > somebody who is interested in finding out how Forth > works on the inside. Maybe they are just curious > about that, or perhaps they will try write their > own Forth. > > Dr. Ting is famous in the Forth Community. > > http://www.offete.com/books.html > > Here are a few books which describe how Forth works > under the hood so to speak. I have Inside F83 myself > and I can tell you that if you are interested in the > subject, that is it worth the price. Except that not all Forths work that way. In fact, increasingly fewer. I don't think it does Forth any good to spread the notion that the language is defined by a particular implementation. It's defined by how it's used to write and test programs. Cheers, Elizabeth -- ================================================== Elizabeth D. Rather (US & Canada) 800-55-FORTH FORTH Inc. +1 310.999.6784 5959 West Century Blvd. Suite 700 Los Angeles, CA 90045 http://www.forth.com "Forth-based products and Services for real-time applications since 1973." ==================================================
[toc] | [prev] | [next] | [standalone]
| From | albert@spenarnc.xs4all.nl (Albert van der Horst) |
|---|---|
| Date | 2015-05-04 19:13 +0000 |
| Message-ID | <5547c4e0$0$3072$e4fe514c@dreader35.news.xs4all.nl> |
| In reply to | #38821 |
In article <HJCdnZxcKOLXItrInZ2dnUU7-emdnZ2d@supernews.com>,
Elizabeth D. Rather <erather@forth.com> wrote:
>On 5/4/15 6:44 AM, Jason Damisch wrote:
>> Dear Humans,
>>
>> It may be that somebody may stumble upon this thread,
>> somebody who is interested in finding out how Forth
>> works on the inside. Maybe they are just curious
>> about that, or perhaps they will try write their
>> own Forth.
>>
>> Dr. Ting is famous in the Forth Community.
>>
>> http://www.offete.com/books.html
>>
>> Here are a few books which describe how Forth works
>> under the hood so to speak. I have Inside F83 myself
>> and I can tell you that if you are interested in the
>> subject, that is it worth the price.
>
>Except that not all Forths work that way. In fact, increasingly fewer. I
>don't think it does Forth any good to spread the notion that the
>language is defined by a particular implementation. It's defined by how
>it's used to write and test programs.
Well the OP suggest this to people who want to know how Forth
works on the inside. An alternative is to randomly start SEE-ing
some code in a Forth you use.
For an extreme example take this:
Gforth 0.7.0, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
SEE TO
noname :
' dup >definer 140003129076120 >definer =
IF 16 + !
ELSE -32 throw
THEN ;
latestxt
noname :
COMP' drop dup >definer 140003129076120 >definer over =
IF drop 16 + POSTPONE ALiteral 6396632 compile,
ELSE 140003129105440 >definer over =
IF drop 6397824 compile, 16 + @ lp-offset, 6396656 compile,
ELSE 140003129105608 >definer over =
IF drop 6397824 compile, 16 + @ lp-offset, 6396632 compile,
ELSE 140003129105496 >definer over =
IF drop 6397824 compile, 16 + @ lp-offset, 6396664
compile,
ELSE 140003129105552 >definer over =
IF drop 6397824 compile, 16 + @ lp-offset,
6397288 compile,
ELSE -32 throw drop
THEN
THEN
THEN
THEN
THEN ;
latestxt
interpret/compile: TO ok
Compared to Ting's books this is pretty intimidating.
Of course you're right that Forth is not defined by an implementation,
and this example serves to show how different implementations are,
but traditionally (some) people *are* interested in how one manages to
make a compiler/interpreter.
>
>Cheers,
>Elizabeth
Groetjes Albert
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
[toc] | [prev] | [next] | [standalone]
| From | "Alex McDonald" <blog@rivadpm.com> |
|---|---|
| Date | 2015-05-04 20:35 +0100 |
| Message-ID | <mi8hjm$o0n$1@dont-email.me> |
| In reply to | #38822 |
on 04/05/2015 20:13:37, wrote: > For an extreme example take this: > SEE TO SEE? Why not look at the documentation & the source?
[toc] | [prev] | [next] | [standalone]
| From | "Elizabeth D. Rather" <erather@forth.com> |
|---|---|
| Date | 2015-05-04 10:43 -1000 |
| Message-ID | <1K6dnc9_Rtt-RNrInZ2dnUU7-dednZ2d@supernews.com> |
| In reply to | #38823 |
On 5/4/15 9:35 AM, Alex McDonald wrote: > on 04/05/2015 20:13:37, wrote: >> For an extreme example take this: >> SEE TO > > SEE? Why not look at the documentation & the source? > Exactly. Even so, that will only tell you about *that* Forth, and the implementation is not the language. Cheers, Elizabeth -- ================================================== Elizabeth D. Rather (US & Canada) 800-55-FORTH FORTH Inc. +1 310.999.6784 5959 West Century Blvd. Suite 700 Los Angeles, CA 90045 http://www.forth.com "Forth-based products and Services for real-time applications since 1973." ==================================================
[toc] | [prev] | [next] | [standalone]
| From | albert@spenarnc.xs4all.nl (Albert van der Horst) |
|---|---|
| Date | 2015-05-05 08:52 +0000 |
| Message-ID | <554884e8$0$23275$e4fe514c@dreader34.news.xs4all.nl> |
| In reply to | #38823 |
In article <mi8hjm$o0n$1@dont-email.me>, Alex McDonald <blog@rivadpm.com> wrote: >on 04/05/2015 20:13:37, wrote: >> For an extreme example take this: >> SEE TO > >SEE? Why not look at the documentation & the source? So you agree that reading Ting's book may be better. (Ting describes simpler Forth's than gForth and gForth's documentation is mainly geared towards the application writer.) Groetjes Albert -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
[toc] | [prev] | [next] | [standalone]
| From | "Alex McDonald" <blog@rivadpm.com> |
|---|---|
| Date | 2015-05-05 10:54 +0100 |
| Message-ID | <mia3u4$flp$1@dont-email.me> |
| In reply to | #38836 |
on 05/05/2015 09:52:59, Albert wrote: > In article <mi8hjm$o0n$1@dont-email.me>, > Alex McDonald <blog@rivadpm.com> wrote: >>on 04/05/2015 20:13:37, wrote: >>> For an extreme example take this: >>> SEE TO >> >>SEE? Why not look at the documentation & the source? > > So you agree that reading Ting's book may be better. Where did I say, imply or even hunt at that or its opposite? You suggested that learning to climb might be best served by not scaling Everest first is (as Monty Python were fond of saying) stating the bleedin' obvious. I'm disagreeing with you, not Ting or his book.
[toc] | [prev] | [next] | [standalone]
| From | "Alex McDonald" <blog@rivadpm.com> |
|---|---|
| Date | 2015-05-05 10:56 +0100 |
| Message-ID | <mia42e$g7c$1@dont-email.me> |
| In reply to | #38839 |
on 05/05/2015 10:54:11, "Alex McDonald" wrote:
> on 05/05/2015 09:52:59, Albert wrote:
>> In article <mi8hjm$o0n$1@dont-email.me>,
>> Alex McDonald <blog@rivadpm.com> wrote:
>>>on 04/05/2015 20:13:37, wrote:
>>>> For an extreme example take this:
>>>> SEE TO
>>>
>>>SEE? Why not look at the documentation & the source?
>>
>> So you agree that reading Ting's book may be better.
>
> Where did I say, imply or even hunt at that or its opposite? You
^^^^
s/hunt/hint/
> suggested that learning to climb might be best served by not scaling
> Everest first is (as Monty Python were fond of saying) stating the
> bleedin' obvious. I'm disagreeing with you, not Ting or his book.
>
[toc] | [prev] | [next] | [standalone]
| From | "Rod Pemberton" <bork@lllljunkqwer.cpm> |
|---|---|
| Date | 2015-05-04 20:01 -0400 |
| Message-ID | <op.xx4yb92nwa0t4m@localhost> |
| In reply to | #38822 |
On Mon, 04 May 2015 15:13:36 -0400, Albert van der Horst <albert@spenarnc.xs4all.nl> wrote: > Well the OP suggest this to people who want to know how Forth > works on the inside. An alternative is to randomly start SEE-ing > some code in a Forth you use. > For an extreme example take this: > > Gforth 0.7.0, Copyright (C) 1995-2008 Free Software Foundation, Inc. > Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' > Type `bye' to exit > SEE TO > noname : > ' dup >definer 140003129076120 >definer = > IF 16 + ! > ELSE -32 throw > THEN ; > latestxt > > noname : > COMP' drop dup >definer 140003129076120 >definer over = > IF drop 16 + POSTPONE ALiteral 6396632 compile, > ELSE 140003129105440 >definer over = > IF drop 6397824 compile, 16 + @ lp-offset, 6396656 compile, > ELSE 140003129105608 >definer over = > IF drop 6397824 compile, 16 + @ lp-offset, 6396632 > compile, > > ELSE 140003129105496 >definer over = > IF drop 6397824 compile, 16 + @ lp-offset, > 6396664 > compile, > ELSE 140003129105552 >definer over = > IF drop 6397824 compile, 16 + @ > lp-offset, > 6397288 compile, > ELSE -32 throw drop > THEN > THEN > THEN > THEN > THEN ; > latestxt > interpret/compile: TO ok > > Compared to Ting's books this is pretty intimidating. > Of course you're right that Forth is not defined by an implementation, > and this example serves to show how different implementations are, > but traditionally (some) people *are* interested in how one manages to > make a compiler/interpreter. > It seems that the constants beginning with digit '6' might be XTs due to COMPILE, . I could guess that >DEFINER takes the constants which begin with '14', but what is >DEFINER ? Are the large constants the XTs of primitive words? Are they the XTs of NONAME words? Can I execute '6397824'? (Yes.) Can I execute '140003129105440'? ... Can I display their name or SEE their code? Rod Pemberton -- Cars kill more people than guns in the U.S. Yet, no one is trying to take away your car.
[toc] | [prev] | [next] | [standalone]
| From | Jason Damisch <jasondamisch@yahoo.com> |
|---|---|
| Date | 2015-05-04 17:23 -0700 |
| Message-ID | <b8ddb9ca-cd2c-4068-b95e-3cb58b4cf813@googlegroups.com> |
| In reply to | #38827 |
On Monday, May 4, 2015 at 5:00:58 PM UTC-7, Rod Pemberton wrote: > It seems that the constants beginning with digit '6' might be XTs When trying to decern patterns in numbers in relation to a computer, it is often useful to look at said numbers in both HEX and BINARY. so, on a Forth command line 1234 DUP BINARY . 10011010010 DUP HEX . 4D2 DECIMAL Jason
[toc] | [prev] | [next] | [standalone]
| From | Jason Damisch <jasondamisch@yahoo.com> |
|---|---|
| Date | 2015-05-04 17:34 -0700 |
| Message-ID | <1e5a7108-44c2-49ce-9d58-475a7c853dc5@googlegroups.com> |
| In reply to | #38827 |
On Monday, May 4, 2015 at 5:00:58 PM UTC-7, Rod Pemberton wrote: > It seems that the constants beginning with digit '6' might be XTs > due to COMPILE, . I could guess that >DEFINER takes the constants > which begin with '14', but what is >DEFINER ? I'm not sure about all of that. But, if you want to understand how a simpler Forth works which is simpler than current optimizing Forth systems, then instead of guessing, why not grab Inside F83 from Ting? Jason
[toc] | [prev] | [next] | [standalone]
| From | Mark Wills <markwills1970@gmail.com> |
|---|---|
| Date | 2015-05-05 00:25 -0700 |
| Message-ID | <b0802524-f80f-4a8b-879f-7465c905f71d@googlegroups.com> |
| In reply to | #38829 |
On Tuesday, 5 May 2015 01:35:01 UTC+1, Jason Damisch wrote: > On Monday, May 4, 2015 at 5:00:58 PM UTC-7, Rod Pemberton wrote: > > > It seems that the constants beginning with digit '6' might be XTs > > due to COMPILE, . I could guess that >DEFINER takes the constants > > which begin with '14', but what is >DEFINER ? > > I'm not sure about all of that. But, if you want > to understand how a simpler Forth works which is > simpler than current optimizing Forth systems, > then instead of guessing, why not grab > Inside F83 from Ting? > > Jason Been looking for it for years. All I have/had is some unreable binary files from a decades old, long obsolete word processor of some sort. :-(
[toc] | [prev] | [next] | [standalone]
Page 1 of 6 [1] 2 3 4 5 6 Next page →
Back to top | Article view | comp.lang.forth
csiph-web