Re: Languages From Hell -- your favorite one could walk again!

Peter da Silva <peter@Starbase.NeoSoft.COM>
Tue, 20 Sep 1994 12:04:33 GMT

          From comp.compilers

Related articles
Languages From Hell -- your favorite one could walk again! esr@Netaxs.com (1994-09-18)
Re: Languages From Hell -- your favorite one could walk again! korpela@albert.ssl.berkeley.edu (1994-09-18)
Re: Languages From Hell -- your favorite one could walk again! peter@Starbase.NeoSoft.COM (1994-09-19)
Re: Languages From Hell -- your favorite one could walk again! peter@Starbase.NeoSoft.COM (Peter da Silva) (1994-09-20)
Re: Languages From Hell -- your favorite one could walk again! ok@cs.rmit.oz.au (1994-09-21)
Re: Languages From Hell -- your favorite one could walk again! esr@netaxs.com (1994-09-21)
Re: Languages From Hell -- your favorite one could walk again! sasghm@unx.sas.com (1994-09-22)
Re: Languages From Hell -- your favorite one could walk again! adam@tucson.princeton.edu (1994-09-26)
Re: Languages From Hell -- your favorite one could walk again! adrian@platon.cs.rhbnc.ac.uk (1994-09-23)
Re: Languages From Hell -- your favorite one could walk again! avg@sprintlink.net (1994-09-25)
[5 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers,alt.folklore.computers,comp.lang.forth
From: Peter da Silva <peter@Starbase.NeoSoft.COM>
Keywords: forth, history
Organization: NeoSoft Internet Services +1 713 684 5969
References: 94-09-076 94-09-097
X-Provider: NeoSoft, Inc.: Internet Service Provider (713) 684-5969
Date: Tue, 20 Sep 1994 12:04:33 GMT

[my RatForth language description]


>[Gee, sounds not altogether like bc, the C-ish front end to the RPN dc. -John]


Don't you mean unlike (grin)? [sure, we Old Farts can't type -John]


Until this moment the similarity to bc/dc didn't occur to me. It's obvious
now I think of it.


The implementation, though, was in Forth. The word "define" was a Forth word
that compiled ratforth into a buffer until it ran out of matching braces, so
you could mix ratforth with forth interchangably:


: this blah blah blah ;


define that { blah blah; blah; }


I generally used Ratforth for complex expressions, and you could take
obscene advantage of the implementation. For an example:


define peek { @(2+dup()) }


Becomes:


: peek dup 2 + @ ;
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.