On Feb 1, 3:34 am, Albert van der Horst <alb...@[EMAIL PROTECTED]
>
wrote:
> In article
<15b26bd9-b49e-4f99-bbb0-0ebab2eea...@[EMAIL PROTECTED]
>,
>
> Jeff M. <mass...@[EMAIL PROTECTED]
> wrote:
>
> <snip>
>
> >really a ton of code behind it; nothing magical is going on. With a
> >similar library in Forth I could easily code the same thing:
>
> > s" Hello, world!" email< m...@[EMAIL PROTECTED]
> send-email
>
> With ``WANT echo'' this is how it looks in ciforth/lina
>
> echo 'Hello worlds!' | mail albert@[EMAIL PROTECTED]
>
>
>
> >It's equally brief, just as readable, and there's just as much code
> >that exists underneath it, making it possible. In the end, stating
>
> You have invented a new syntax. Where Forth is an interpreter, it
> makes sense to allow using similar commands as a familiar command shell.
>
> The problem is, once you think of it, it is done. This is a simple
> two screener (one for OS-IM****T and one for the commands im****ted).
> So maybe Forth is just too easy.
>
> OS-IM****T works as follows:
> If you want to use mail from with Forth, invoking as MAIL :
>
> s" mail" OS-IM****T MAIL
>
> Implementation is left as an exercise to the reader.
>
> <SNIP>
>
>
>
> >Languages like Lisp and Forth are very good for two reasons: first,
> >they actively encourage factoring in many ways (which ends up leading
> >to very readable and terse code at the highest level) and second, they
> >are extensible, meaning if you really need to add syntactic sugar for
> >brevity/readability, that's possible as well.
>
> >Jeff M.
>
> --
> --
> Albert van der Horst, UTRECHT,THE NETHERLANDS
> Economic growth -- like all pyramid schemes -- ultimately falters.
> albert@[EMAIL PROTECTED]
&=nhttp://home.hccnet.nl/a.w.m.van.der.horst
I am really liking forth so far.
I am amazed at how many things in computing seem to be simple sorts
and copying things from here to there. 99% of what I have seen in
business for 12 years working in computing is that way.
Plowing through starting forth now.
Go arc up and running too for fun.


|