Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #36128

Re: Attila Forth compiler

From "WJ" <w_a_x_man@yahoo.com>
Newsgroups comp.lang.forth
Subject Re: Attila Forth compiler
Date 2015-01-29 22:54 +0000
Organization A noiseless patient Spider
Message-ID <maedn9$8rs$1@dont-email.me> (permalink)
References <mae51a$5hb$1@dont-email.me>

Show all headers | View raw


Gerry Jackson wrote:


> I stumbled across the web-site below.
> Searching comp.lang.forth on Google Groups
> for Attila found nothing so people may not
> be aware of this system and may find it of
> interest.
> 
> 
> http://www.threaded-interpreter.org/manual/book/attila.html

I broke your lines for you.

When you post to a newsgroup, you must limit the length
of your lines.


Attila Forth seems much more powerful than ANS Forth.


MAP( xt elem -- )

Destructively map the word xt over the elements of the list
from elem, replacing each element with the result of executing
xt with the previous value on the top of the stack.


FOLDR( xt acc elem -- fac )"fold are"

Fold the word xt over the elements of the list from right to
left. Theword being folded is expected to have a stack picture
( accbefore v -- accafter ) and is passed the accumulated
value (initially ac) and each element's value.


FOLDL( xt acc elem -- fac )"fold el"

Fold the word xt over the elements of the list from left to
right. Theword being folded is expected to have a stack
picture ( accbefore v -- accafter ) and is passed the
accumulated value (initially ac) and each element's value.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Attila Forth compiler Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-01-29 20:27 +0000
  Re: Attila Forth compiler "WJ" <w_a_x_man@yahoo.com> - 2015-01-29 22:54 +0000
    Re: Attila Forth compiler "Alex McDonald" <blog@rivadpm.com> - 2015-01-30 15:36 +0000
      Re: Attila Forth compiler "Alex McDonald" <blog@rivadpm.com> - 2015-01-30 15:40 +0000
  Re: Attila Forth compiler anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-30 15:56 +0000
    Re: Attila Forth compiler Richard Owlett <rowlett@cloud85.net> - 2015-01-30 11:09 -0600
    Re: Attila Forth compiler "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-31 02:58 -0500
      Re: Attila Forth compiler anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-31 11:48 +0000
  Re: Attila Forth compiler visualforth@rocketmail.com - 2015-01-30 08:42 -0800
    Re: Attila Forth compiler "Alex McDonald" <blog@rivadpm.com> - 2015-01-30 17:16 +0000
    Re: Attila Forth compiler Richard Owlett <rowlett@cloud85.net> - 2015-01-30 11:19 -0600
  Re: Attila Forth compiler Christopher Douglas <christopherdouglas35@gmail.com> - 2015-01-31 06:29 -0800

csiph-web