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


Groups > comp.lang.forth > #43009 > unrolled thread

who really use Forth ?

Started byFrançois <francois.ganza@wanadoo.fr>
First post2015-10-30 16:12 -0700
Last post2015-11-03 13:31 -0800
Articles 20 on this page of 61 — 20 participants

Back to article view | Back to comp.lang.forth


Contents

  who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-30 16:12 -0700
    Re: who really use Forth ? lehs <skydda.barnen@gmail.com> - 2015-10-30 16:27 -0700
      Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-30 16:53 -0700
        Re: who really use Forth ? lehs <skydda.barnen@gmail.com> - 2015-10-31 09:16 -0700
          Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-31 12:49 -0700
    Re: who really use Forth ? Bernd Paysan <bernd.paysan@gmx.de> - 2015-10-31 01:27 +0100
    Re: who really use Forth ? "WJ" <w_a_x_man@yahoo.com> - 2015-10-31 00:26 +0000
      Re: who really use Forth ? "WJ" <w_a_x_man@yahoo.com> - 2015-10-31 10:46 +0000
        Re: who really use Forth ? "WJ" <w_a_x_man@yahoo.com> - 2016-06-18 01:35 +0000
    Re: who really use Forth ? Pablo Hugo Reda <pabloreda@gmail.com> - 2015-10-30 18:34 -0700
      Re: who really use Forth ? "WJ" <w_a_x_man@yahoo.com> - 2015-10-31 10:57 +0000
        Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-31 13:13 -0700
          Re: who really use Forth ? rickman <gnuarm@gmail.com> - 2015-10-31 17:22 -0400
        Re: who really use Forth ? "Rod Pemberton" <too@zxcvfeqad.cdm> - 2015-11-02 02:32 -0500
          Re: who really use Forth ? Lars Brinkhoff <lars.spam@nocrew.org> - 2015-11-02 09:04 +0100
    Re: who really use Forth ? "Elizabeth D. Rather" <erather@forth.com> - 2015-10-30 18:35 -1000
    Re: who really use Forth ? rickman <gnuarm@gmail.com> - 2015-10-31 02:51 -0400
    Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-10-30 23:52 -0700
    Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-31 00:04 -0700
      Re: who really use Forth ? rickman <gnuarm@gmail.com> - 2015-10-31 03:16 -0400
      Re: who really use Forth ? Pablo Hugo Reda <pabloreda@gmail.com> - 2015-10-31 06:00 -0700
      Re: who really use Forth ? Richard Owlett <rowlett@cloud85.net> - 2015-10-31 08:35 -0500
        Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-31 13:08 -0700
        Re: who really use Forth ? Paul Rubin <no.email@nospam.invalid> - 2015-10-31 13:40 -0700
          Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-10-31 13:55 -0700
      Re: who really use Forth ? hughaguilar96@gmail.com - 2015-10-31 14:10 -0700
        Re: who really use Forth ? "WJ" <w_a_x_man@yahoo.com> - 2015-11-01 11:15 +0000
          Re: who really use Forth ? Alfred Singlestone <vitonis@gmail.com> - 2015-11-02 05:37 -0800
            Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-11-02 05:59 -0800
    Re: who really use Forth ? stephen@mpeforth.com (Stephen Pelc) - 2015-10-31 10:17 +0000
      Re: who really use Forth ? stephen@mpeforth.com (Stephen Pelc) - 2015-10-31 16:53 +0000
    Re: who really use Forth ? Ilya Tarasov <ilya74.tarasov@gmail.com> - 2015-10-31 14:04 -0700
      Re: who really use Forth ? Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2015-11-02 10:57 +0100
    Re: who really use Forth ? lehs <skydda.barnen@gmail.com> - 2015-10-31 21:23 -0700
    Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-11-02 06:05 -0800
      Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-11-02 07:43 -0800
      Re: who really use Forth ? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-11-02 08:02 -0800
    Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-11-02 08:53 -0800
      Re: who really use Forth ? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-11-02 09:05 -0800
        Re: who really use Forth ? hughaguilar96@gmail.com - 2015-11-02 09:48 -0800
        Re: who really use Forth ? "Elizabeth D. Rather" <erather@forth.com> - 2015-11-02 08:11 -1000
    Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-11-02 10:39 -0800
      Re: who really use Forth ? hughaguilar96@gmail.com - 2015-11-02 16:37 -0800
        Re: who really use Forth ? Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-11-02 22:59 -0800
          Re: who really use Forth ? "Elizabeth D. Rather" <erather@forth.com> - 2015-11-02 21:16 -1000
            Re: who really use Forth ? stephen@mpeforth.com (Stephen Pelc) - 2015-11-03 11:04 +0000
              Re: who really use Forth ? "Elizabeth D. Rather" <erather@forth.com> - 2015-11-03 08:17 -1000
                Re: who really use Forth ? hughaguilar96@gmail.com - 2015-11-03 18:20 -0800
                  Re: who really use Forth ? François <francois.ganza@wanadoo.fr> - 2015-11-03 22:26 -0800
                  Re: who really use Forth ? lehs <skydda.barnen@gmail.com> - 2015-11-03 23:21 -0800
                Re: who really use Forth ? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-11-04 09:33 +0000
            Re: who really use Forth ? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-11-03 11:07 +0000
              Re: who really use Forth ? Mark Wills <markwills1970@gmail.com> - 2015-11-03 03:23 -0800
                Re: who really use Forth ? Bernd Paysan <bernd.paysan@gmx.de> - 2015-11-03 22:24 +0100
          Re: who really use Forth ? Mark Wills <markwills1970@gmail.com> - 2015-11-03 01:35 -0800
          Re: who really use Forth ? rickman <gnuarm@gmail.com> - 2015-11-03 11:18 -0500
          Re: who really use Forth ? "WJ" <w_a_x_man@yahoo.com> - 2015-11-04 00:07 +0000
          Re: who really use Forth ? Alfred Singlestone <vitonis@gmail.com> - 2015-11-03 17:01 -0800
    Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-11-03 10:59 -0800
      Re: who really use Forth ? "Elizabeth D. Rather" <erather@forth.com> - 2015-11-03 10:00 -1000
        Re: who really use Forth ? Chris Curl <ccurl609@gmail.com> - 2015-11-03 13:31 -0800

Page 1 of 4  [1] 2 3 4  Next page →


#43009 — who really use Forth ?

FromFrançois <francois.ganza@wanadoo.fr>
Date2015-10-30 16:12 -0700
Subjectwho really use Forth ?
Message-ID<e5aa330c-0eaa-4f3a-93b0-fc36d66b0ee8@googlegroups.com>
Good evening,

When you search informations and examples about Forth,
...always the same :
: square dup * ;

amazing, it's really easy to create news words, you can also
create words to create words...
Ok, but who really use Forth to make real programs ?

Is it possible to create applications for windows or Linux ?
Is is possible to use openGL ?

Actually i use "my" Forth on PC in automation systems.
(my Forth is my OS and it can read/write FAT32)

But sometimes i would like to create programs on standard Forth...


regards
François

[toc] | [next] | [standalone]


#43010

Fromlehs <skydda.barnen@gmail.com>
Date2015-10-30 16:27 -0700
Message-ID<a2722319-6226-4ff6-92b0-1543480e152e@googlegroups.com>
In reply to#43009
Den lördag 31 oktober 2015 kl. 00:12:58 UTC+1 skrev François:
> Good evening,
> 
> When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
> 
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
> 
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
> 
> Actually i use "my" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
> 
> But sometimes i would like to create programs on standard Forth...
> 
> 
> regards
> François

Could your Forth run on all "PCs"?

____________________
Lehs
http://forthmath.blogspot.se
https://github.com/Lehs/BIG-INTEGER-ANS-FORTH

[toc] | [prev] | [next] | [standalone]


#43011

FromFrançois <francois.ganza@wanadoo.fr>
Date2015-10-30 16:53 -0700
Message-ID<78cdddfe-28ce-4350-bcb2-e0569bcc8515@googlegroups.com>
In reply to#43010
> Could your Forth run on all "PCs"?
> 
Only on x86 (80386 mini)

But...

It's a 16bits stack,
run in 16bits FLAT real mode
I make it in 1995 (military service) and i lost the source :-/
now i don't have time to do that again...

But i can use VESA in direct memory access.

The only way to copy my system on an other, is to duplicate 2 HDD
(or USB stick)
It's not really fun...
 

[toc] | [prev] | [next] | [standalone]


#43040

Fromlehs <skydda.barnen@gmail.com>
Date2015-10-31 09:16 -0700
Message-ID<c8f0b1b3-087d-4a8a-bc9e-2eedaad4f431@googlegroups.com>
In reply to#43011
Den lördag 31 oktober 2015 kl. 00:54:00 UTC+1 skrev François:
> > Could your Forth run on all "PCs"?
> > 
> Only on x86 (80386 mini)
> 
> But...
> 
> It's a 16bits stack,
> run in 16bits FLAT real mode
> I make it in 1995 (military service) and i lost the source :-/
> now i don't have time to do that again...
> 
> But i can use VESA in direct memory access.
> 
> The only way to copy my system on an other, is to duplicate 2 HDD
> (or USB stick)
> It's not really fun...

Did you design your Forth under military service? How come?
____________________
Lehs
http://forthmath.blogspot.se
https://github.com/Lehs/BIG-INTEGER-ANS-FORTH

[toc] | [prev] | [next] | [standalone]


#43051

FromFrançois <francois.ganza@wanadoo.fr>
Date2015-10-31 12:49 -0700
Message-ID<5b3291b6-5c70-4605-b923-fcd4dfeb3491@googlegroups.com>
In reply to#43040
> Did you design your Forth under military service? How come?
> ____________________
> Lehs

hi,
no no ;-)
Just, in my military service i had lot of free time ;-)

[toc] | [prev] | [next] | [standalone]


#43012

FromBernd Paysan <bernd.paysan@gmx.de>
Date2015-10-31 01:27 +0100
Message-ID<n111pl$ltv$1@dont-email.me>
In reply to#43009
François wrote:

> Ok, but who really use Forth to make real programs ?

I do, and so do others.  If you search for introductionary course-work, 
you'll find that easy example.

> Is it possible to create applications for windows or Linux ?

Yes.  And even Android.

> Is is possible to use openGL ?

Sure.  With bigForth for more than a decade, and current Gforth snapshots 
also come with OpenGL bindings, just load unix/opengl.fs to get the 
bindings.  The android version uses OpenGL even to display the terminal.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
http://bernd-paysan.de/

[toc] | [prev] | [next] | [standalone]


#43013

From"WJ" <w_a_x_man@yahoo.com>
Date2015-10-31 00:26 +0000
Message-ID<n111rq$m3n$1@dont-email.me>
In reply to#43009
François wrote:

> When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
> 
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
> 
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
> 
> Actually i use "my" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
> 
> But sometimes i would like to create programs on standard Forth...

Using Ruby, let's make a bar graph for the words in that post.

"When you search informations and examples about Forth,
...always the same :
: square dup * ;
amazing, it's really easy to create news words, you can also
create words to create words...
Ok, but who really use Forth to make real programs ?
Is it possible to create applications for windows or Linux ?
Is is possible to use openGL ?
Actually i use \"my\" Forth on PC in automation systems.
(my Forth is my OS and it can read/write FAT32)
But sometimes i would like to create programs on standard Forth...".
scan( /[a-z']+/i ).group_by(&:to_s).
tap{|h| $width = h.keys.map(&:size).max}.
sort_by{|k,v| [v.size,k]}.each{|k,v|
  puts k.ljust($width + 1) + "@" * v.size}

Actually     @
But          @
FAT          @
Linux        @
OS           @
Ok           @
PC           @
When         @
about        @
also         @
always       @
amazing      @
applications @
automation   @
but          @
dup          @
easy         @
examples     @
for          @
in           @
informations @
it's         @
like         @
make         @
news         @
openGL       @
or           @
read         @
real         @
same         @
search       @
sometimes    @
square       @
standard     @
systems      @
the          @
who          @
windows      @
would        @
write        @
Is           @@
and          @@
can          @@
i            @@
is           @@
it           @@
on           @@
possible     @@
programs     @@
really       @@
you          @@
my           @@@
use          @@@
words        @@@
Forth        @@@@@
create       @@@@@
to           @@@@@@

The words are sorted primarily by number of occurrences and
secondarily by lexicographic order.
 

[toc] | [prev] | [next] | [standalone]


#43031

From"WJ" <w_a_x_man@yahoo.com>
Date2015-10-31 10:46 +0000
Message-ID<n1266j$li3$1@dont-email.me>
In reply to#43013
WJ wrote:

> François wrote:
> 
> > When you search informations and examples about Forth,
> > ...always the same :
> > : square dup * ;
> > 
> > amazing, it's really easy to create news words, you can also
> > create words to create words...
> > Ok, but who really use Forth to make real programs ?
> > 
> > Is it possible to create applications for windows or Linux ?
> > Is is possible to use openGL ?
> > 
> > Actually i use "my" Forth on PC in automation systems.
> > (my Forth is my OS and it can read/write FAT32)
> > 
> > But sometimes i would like to create programs on standard Forth...
> 
> Using Ruby, let's make a bar graph for the words in that post.
> 
> "When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
> Actually i use \"my\" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
> But sometimes i would like to create programs on standard Forth...".
> scan( /[a-z']+/i ).group_by(&:to_s).
> tap{|h| $width = h.keys.map(&:size).max}.
> sort_by{|k,v| [v.size,k]}.each{|k,v|
>   puts k.ljust($width + 1) + "@" * v.size}
> 
> Actually     @
> But          @
> FAT          @
> Linux        @
> OS           @
> Ok           @
> PC           @
> When         @
> about        @
> also         @
> always       @
> amazing      @
> applications @
> automation   @
> but          @
> dup          @
> easy         @
> examples     @
> for          @
> in           @
> informations @
> it's         @
> like         @
> make         @
> news         @
> openGL       @
> or           @
> read         @
> real         @
> same         @
> search       @
> sometimes    @
> square       @
> standard     @
> systems      @
> the          @
> who          @
> windows      @
> would        @
> write        @
> Is           @@
> and          @@
> can          @@
> i            @@
> is           @@
> it           @@
> on           @@
> possible     @@
> programs     @@
> really       @@
> you          @@
> my           @@@
> use          @@@
> words        @@@
> Forth        @@@@@
> create       @@@@@
> to           @@@@@@
> 
> The words are sorted primarily by number of occurrences and
> secondarily by lexicographic order.
>  

Let's see several Forth solutions to this problem!

It ought to be a breeze for Pelc and Rather!

Actually, if ANS Forth is a very crude, primitive,
low-level language suited only for embedded controllers,
Pelc and Rather won't post solutions.

They've never posted solutions to non-trivial problems
before, have they?  I mean solutions that they wrote
themselves.


This version ignores case and allows words to contain
numerals (FAT32).


"When you search informations and examples about Forth,
...always the same :
: square dup * ;
amazing, it's really easy to create news words, you can also
create words to create words...
Ok, but who really use Forth to make real programs ?
Is it possible to create applications for windows or Linux ?
Is is possible to use openGL ?
Actually i use \"my\" Forth on PC in automation systems.
(my Forth is my OS and it can read/write FAT32)
But sometimes i would like to create programs on standard Forth...".
scan( /[a-z'\d]+/i ).group_by(&:downcase).
tap{|h| $width = h.keys.map(&:size).max}.
sort_by{|k,v| [v.size,k]}.each{|k,v|
  puts k.ljust($width + 1) + "@" * v.size}

about        @
actually     @
also         @
always       @
amazing      @
applications @
automation   @
dup          @
easy         @
examples     @
fat32        @
for          @
in           @
informations @
it's         @
like         @
linux        @
make         @
news         @
ok           @
opengl       @
or           @
os           @
pc           @
read         @
real         @
same         @
search       @
sometimes    @
square       @
standard     @
systems      @
the          @
when         @
who          @
windows      @
would        @
write        @
and          @@
but          @@
can          @@
i            @@
it           @@
on           @@
possible     @@
programs     @@
really       @@
you          @@
my           @@@
use          @@@
words        @@@
is           @@@@
create       @@@@@
forth        @@@@@
to           @@@@@@

[toc] | [prev] | [next] | [standalone]


#48297

From"WJ" <w_a_x_man@yahoo.com>
Date2016-06-18 01:35 +0000
Message-ID<nk28ge$2q8$1@dont-email.me>
In reply to#43031
WJ wrote:

> WJ wrote:
> 
> > François wrote:
> > 
> > > When you search informations and examples about Forth,
> > > ...always the same :
> > > : square dup * ;
> > > 
> > > amazing, it's really easy to create news words, you can also
> > > create words to create words...
> > > Ok, but who really use Forth to make real programs ?
> > > 
> > > Is it possible to create applications for windows or Linux ?
> > > Is is possible to use openGL ?
> > > 
> > > Actually i use "my" Forth on PC in automation systems.
> > > (my Forth is my OS and it can read/write FAT32)
> > > 
> > > But sometimes i would like to create programs on standard Forth...
> > 
> > Using Ruby, let's make a bar graph for the words in that post.
> > 
> > "When you search informations and examples about Forth,
> > ...always the same :
> > : square dup * ;
> > amazing, it's really easy to create news words, you can also
> > create words to create words...
> > Ok, but who really use Forth to make real programs ?
> > Is it possible to create applications for windows or Linux ?
> > Is is possible to use openGL ?
> > Actually i use \"my\" Forth on PC in automation systems.
> > (my Forth is my OS and it can read/write FAT32)
> > But sometimes i would like to create programs on standard Forth...".
> > scan( /[a-z']+/i ).group_by(&:to_s).
> > tap{|h| $width = h.keys.map(&:size).max}.
> > sort_by{|k,v| [v.size,k]}.each{|k,v|
> >   puts k.ljust($width + 1) + "@" * v.size}
> > 
> > Actually     @
> > But          @
> > FAT          @
> > Linux        @
> > OS           @
> > Ok           @
> > PC           @
> > When         @
> > about        @
> > also         @
> > always       @
> > amazing      @
> > applications @
> > automation   @
> > but          @
> > dup          @
> > easy         @
> > examples     @
> > for          @
> > in           @
> > informations @
> > it's         @
> > like         @
> > make         @
> > news         @
> > openGL       @
> > or           @
> > read         @
> > real         @
> > same         @
> > search       @
> > sometimes    @
> > square       @
> > standard     @
> > systems      @
> > the          @
> > who          @
> > windows      @
> > would        @
> > write        @
> > Is           @@
> > and          @@
> > can          @@
> > i            @@
> > is           @@
> > it           @@
> > on           @@
> > possible     @@
> > programs     @@
> > really       @@
> > you          @@
> > my           @@@
> > use          @@@
> > words        @@@
> > Forth        @@@@@
> > create       @@@@@
> > to           @@@@@@
> > 
> > The words are sorted primarily by number of occurrences and
> > secondarily by lexicographic order.
> >  
> 
> Let's see several Forth solutions to this problem!
> 
> It ought to be a breeze for Pelc and Rather!
> 
> Actually, if ANS Forth is a very crude, primitive,
> low-level language suited only for embedded controllers,
> Pelc and Rather won't post solutions.
> 
> They've never posted solutions to non-trivial problems
> before, have they?  I mean solutions that they wrote
> themselves.
> 
> 
> This version ignores case and allows words to contain
> numerals (FAT32).
> 
> 
> "When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
> Actually i use \"my\" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
> But sometimes i would like to create programs on standard Forth...".
> scan( /[a-z'\d]+/i ).group_by(&:downcase).
> tap{|h| $width = h.keys.map(&:size).max}.
> sort_by{|k,v| [v.size,k]}.each{|k,v|
>   puts k.ljust($width + 1) + "@" * v.size}
> 
> about        @
> actually     @
> also         @
> always       @
> amazing      @
> applications @
> automation   @
> dup          @
> easy         @
> examples     @
> fat32        @
> for          @
> in           @
> informations @
> it's         @
> like         @
> linux        @
> make         @
> news         @
> ok           @
> opengl       @
> or           @
> os           @
> pc           @
> read         @
> real         @
> same         @
> search       @
> sometimes    @
> square       @
> standard     @
> systems      @
> the          @
> when         @
> who          @
> windows      @
> would        @
> write        @
> and          @@
> but          @@
> can          @@
> i            @@
> it           @@
> on           @@
> possible     @@
> programs     @@
> really       @@
> you          @@
> my           @@@
> use          @@@
> words        @@@
> is           @@@@
> create       @@@@@
> forth        @@@@@
> to           @@@@@@

OCaml:

#load "str.cma";;

let table, width = ref [], ref 0 ;;

{|When you search informations and examples about Forth,
...always the same :
: square dup * ;
amazing, it's really easy to create news words, you can also
create words to create words...
Ok, but who really use Forth to make real programs ?
Is it possible to create applications for windows or Linux ?
Is is possible to use openGL ?
Actually i use "my" Forth on PC in automation systems.
(my Forth is my OS and it can read/write FAT32)
But sometimes i would like to create programs on standard Forth...|}
 |> Str.split (Str.regexp_case_fold "[^a-z0-9']+")
 |> List.map String.lowercase
 |> List.iter
      (fun s ->  width := max !width (String.length s);
        table := (s, 1 + (try List.assoc s !table with _ -> 0)) ::
                 List.remove_assoc s !table) ;;

List.iter
  (fun (k,v) -> Printf.printf "%-*s %s\n" !width k (String.make v '@'))
  (List.sort (fun (a,b) (c,d) -> compare (b,a) (d,c)) !table) ;;

about        @
actually     @
also         @
always       @
amazing      @
applications @
automation   @
dup          @
easy         @
examples     @
fat32        @
for          @
in           @
informations @
it's         @
like         @
linux        @
make         @
news         @
ok           @
opengl       @
or           @
os           @
pc           @
read         @
real         @
same         @
search       @
sometimes    @
square       @
standard     @
systems      @
the          @
when         @
who          @
windows      @
would        @
write        @
and          @@
but          @@
can          @@
i            @@
it           @@
on           @@
possible     @@
programs     @@
really       @@
you          @@
my           @@@
use          @@@
words        @@@
is           @@@@
create       @@@@@
forth        @@@@@
to           @@@@@@

-- 
The UK ... is the site of the most widespread and horrifying gang-rape culture
in Europe, in which (literally) thousands, most likely tens of thousands, of
11--16 year native British girls have been gang-raped/enslaved/pimped/tortured
by Muslims (statistics that even the radically pro-Muslim BBC have verified).
www.europeancivilwar.com/how-to-buy-a-gun-in-the-uk/

[toc] | [prev] | [next] | [standalone]


#43014

FromPablo Hugo Reda <pabloreda@gmail.com>
Date2015-10-30 18:34 -0700
Message-ID<232cdc0a-be0c-45c6-8274-2385a5d077f3@googlegroups.com>
In reply to#43009
El viernes, 30 de octubre de 2015, 20:12:58 (UTC-3), François  escribió:
> Good evening,
> 
> When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
> 
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
> 
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
> 
> Actually i use "my" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
> 
> But sometimes i would like to create programs on standard Forth...
> 
> 
> regards
> François

You can write any system in forth, I not see why not !
I write text editor, code editor, bitmap editor, vector base graphics editor, voxel editor, interpreter, compilers, games, database aplications, handwrite recognition, octree rendering, wireframe rendering all only with integer operations (or fixed point), not garbage colector, no external library (all library are in forth-like languaje)

download and try.. all are real!

[toc] | [prev] | [next] | [standalone]


#43033

From"WJ" <w_a_x_man@yahoo.com>
Date2015-10-31 10:57 +0000
Message-ID<n126q0$ncp$1@dont-email.me>
In reply to#43014
Pablo Hugo Reda wrote:

> handwrite recognition, octree rendering, wireframe rendering all
> only with integer operations (or fixed point), not garbage colector,

By failing to use the computer's floating-point processor, you have
made the programs run much more slowly.

That wasn't smart.

In addition, it took longer to write the programs, and the software
is harder to maintain.

That wasn't smart.

I hope that nobody was so foolish as to pay you for doing that.

Not having a garbage collector makes the code more difficult to
write, increasing the amount of programmer time required, and
increasing the likelihood of bugs.  I hope that nobody paid you
to work so inefficiently.

[toc] | [prev] | [next] | [standalone]


#43054

FromFrançois <francois.ganza@wanadoo.fr>
Date2015-10-31 13:13 -0700
Message-ID<6377897a-212d-4cdf-b067-0148f26765dd@googlegroups.com>
In reply to#43033
Le samedi 31 octobre 2015 11:59:18 UTC+1, WJ a écrit :
> Pablo Hugo Reda wrote:
> 
> > handwrite recognition, octree rendering, wireframe rendering all
> > only with integer operations (or fixed point), not garbage colector,
> 
> By failing to use the computer's floating-point processor, you have
> made the programs run much more slowly.
> 
> That wasn't smart.
> 
> In addition, it took longer to write the programs, and the software
> is harder to maintain.
> 
> That wasn't smart.
> 
> I hope that nobody was so foolish as to pay you for doing that.
> 
> Not having a garbage collector makes the code more difficult to
> write, increasing the amount of programmer time required, and
> increasing the likelihood of bugs.  I hope that nobody paid you
> to work so inefficiently.

i don't understand, why are you so bitter in your responds  ?

[toc] | [prev] | [next] | [standalone]


#43062

Fromrickman <gnuarm@gmail.com>
Date2015-10-31 17:22 -0400
Message-ID<n13bac$7vq$1@dont-email.me>
In reply to#43054
On 10/31/2015 4:13 PM, François wrote:
> Le samedi 31 octobre 2015 11:59:18 UTC+1, WJ a écrit :
>> Pablo Hugo Reda wrote:
>>
>>> handwrite recognition, octree rendering, wireframe rendering all
>>> only with integer operations (or fixed point), not garbage colector,
>>
>> By failing to use the computer's floating-point processor, you have
>> made the programs run much more slowly.
>>
>> That wasn't smart.
>>
>> In addition, it took longer to write the programs, and the software
>> is harder to maintain.
>>
>> That wasn't smart.
>>
>> I hope that nobody was so foolish as to pay you for doing that.
>>
>> Not having a garbage collector makes the code more difficult to
>> write, increasing the amount of programmer time required, and
>> increasing the likelihood of bugs.  I hope that nobody paid you
>> to work so inefficiently.
>
> i don't understand, why are you so bitter in your responds  ?

I don't think you will ever get an intelligible response.  I've never 
seen one from WJ.  It was only recently he made posts that were 
something other than posting pointless challenges for code writing.  But 
he still has not progressed to civil, useful conversation.

I wonder if anyone here would even agree with what he says.  I don't 
know why fixed point programming would be any slower than floating 
point.  It may or may not be any harder to write depending on the 
application.  In VHDL most math is fixed point or integer and seldom 
floating point.  I don't find that it is so hard to do.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#43082

From"Rod Pemberton" <too@zxcvfeqad.cdm>
Date2015-11-02 02:32 -0500
Message-ID<op.x7gpwmxpsi10q1@localhost>
In reply to#43033
On Sat, 31 Oct 2015 06:57:05 -0400, WJ <w_a_x_man@yahoo.com> wrote:
> Pablo Hugo Reda wrote:

>> handwrite recognition, octree rendering, wireframe rendering all
>> only with integer operations (or fixed point), not garbage colector,
>
> By failing to use the computer's floating-point processor, you have
> made the programs run much more slowly.
>
> That wasn't smart.

Now, wait a minute.

That depends on what machine.  Even on early x86 they used integers
instead of floats for faster programs, especially accounting and
fast graphics.

> In addition, it took longer to write the programs, and the software
> is harder to maintain.
>
> That wasn't smart.

Now, wait a minute.

Floating point has many issues which can be difficult to resolve.
AFAIR, floating point is only natively supported on the x86 platform.
So, floating point is not portable.  That means each implementation
of floating point is different and therfore floating point can be
harder to maintain.

> I hope that nobody was so foolish as to pay you for doing that.
>
> Not having a garbage collector makes the code more difficult to
> write, increasing the amount of programmer time required, and
> increasing the likelihood of bugs.  I hope that nobody paid you
> to work so inefficiently.
>

Now, wait a minute.

A garbage collector is usually only used for interpreted languages,
but not for Forth.  Except for Jacob Navia implementing a garbage
collector for C, specifically LCC-Win32, I doubt you'll find a
high-level language with one in it.


Rod Pemberton


-- 
When El Chapo is the most beloved man in Mexico and Trump is the most hated,
it shows that Mexico is truly fouled up.

[toc] | [prev] | [next] | [standalone]


#43086

FromLars Brinkhoff <lars.spam@nocrew.org>
Date2015-11-02 09:04 +0100
Message-ID<86mvuw3k0e.fsf@vps34351.public.cloudvps.com>
In reply to#43082
"Rod Pemberton" <too@zxcvfeqad.cdm> writes:
> A garbage collector is usually only used for interpreted languages,
> but not for Forth.  Except for Jacob Navia implementing a garbage
> collector for C, specifically LCC-Win32, I doubt you'll find a
> high-level language with one in it.

Plenty of compiled languages have garbage collection.  Also high-level
languages.

[toc] | [prev] | [next] | [standalone]


#43015

From"Elizabeth D. Rather" <erather@forth.com>
Date2015-10-30 18:35 -1000
Message-ID<hZqdnTg92Key2KnLnZ2dnUU7-I-dnZ2d@supernews.com>
In reply to#43009
On 10/30/15 1:12 PM, François wrote:
> Good evening,
>
> When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
>
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
>
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
>
> Actually i use "my" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
>
> But sometimes i would like to create programs on standard Forth...

There are a good many examples here:
http://www.forth.com/resources/apps/index.html (see the featured 
applications, application briefs, and partial list of customers).

...and more here: http://www.forth.org/successes.html

Generally speaking, Forth has been most successful in embedded systems 
and in instrumentation and control applications.

FORTH, Inc. sells SwiftForth (Windows, Linux, MacOSX) and SwiftX 
interactive cross compilers to companies doing these kinds of 
applications, and we often participate in application development. The 
typical relationship between FORTH, Inc. and our application customers 
is that we do systems-level programming (get the system going on their 
hardware, write drivers, communications protocols, etc.) while our 
customer's in-house programmers do the completed applications. This is 
usually a very productive relationship, because they understand their 
applications best.

A good many of our customers are perpetually looking for in-house Forth 
programmers...

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]


#43020

Fromrickman <gnuarm@gmail.com>
Date2015-10-31 02:51 -0400
Message-ID<n11o9p$e92$1@dont-email.me>
In reply to#43009
On 10/30/2015 7:12 PM, François wrote:
> Good evening,
>
> When you search informations and examples about Forth,
> ...always the same :
> : square dup * ;
>
> amazing, it's really easy to create news words, you can also
> create words to create words...
> Ok, but who really use Forth to make real programs ?
>
> Is it possible to create applications for windows or Linux ?
> Is is possible to use openGL ?
>
> Actually i use "my" Forth on PC in automation systems.
> (my Forth is my OS and it can read/write FAT32)
>
> But sometimes i would like to create programs on standard Forth...

I'm not sure what you are looking for.  I write programs in Forth.  The 
app I wrote that was the most important to me is a controller for a test 
fixture used in production testing.  Not a hugely complex program, but 
useful.  I had no need to write defining words other than a library I 
have for arrays.  That one has some defining words to build arrays of 
several types.  Some raw arrays, others counted arrays and some counted 
arrays with bounds checking.  I don't think I had many errors caught by 
the bounds checking.

My real issues with this program was actually a bug in the hardware that 
I kept thinking was either in the Forth code I wrote or the serial port 
code from the Forth package, I used Win32Forth.  In the end it was a 
beginner error in the FPGA code, lol (not that I'm a beginner at VHDL). 
  I did make use of the catch/throw functionality to help debug this 
problem.

It was *very* nice working under the OS.  Someone in the Yahoo support 
group gave me a code snippet to let the program copy data to the windows 
paste buffer so it could be copied directly into a spread sheet saving 
significant time and effort.  Working under a self OS would have 
required writing to a text file which would have needed to be imported 
to the spread sheet in a fairly awkward process which would have been 
hard to document.

I also make use of socket calls to send a text stream to a telnet window 
to monitor the serial comms.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#43021

FromChris Curl <ccurl609@gmail.com>
Date2015-10-30 23:52 -0700
Message-ID<e73654f0-9bab-46bf-bd31-a90db9944f79@googlegroups.com>
In reply to#43009
Absolutely, you can write any program using Forth. The challenge is that since it is different from most other languages, it can take some time to get used to programming with it. But once you make the shift, you will see how powerful it can be.

[toc] | [prev] | [next] | [standalone]


#43022

FromFrançois <francois.ganza@wanadoo.fr>
Date2015-10-31 00:04 -0700
Message-ID<2f7e4f88-2179-4438-9d13-650494fd1a60@googlegroups.com>
In reply to#43009
tank's to all :-)

my problem, is when i download a Forth, there is no example to help
beginner for is first step...

And the first step must be "fun" :-p

(with my forth) i create the word BMP>SPR
You give to it : name of BMP file, X,Y,W,H of a part of this bmp,
and the of the new sprite.
54 32 32 32 BMP>SPR SPRITE1 TEST.BMP
create a 32x32 sprite

after that, in graphic mode, i just have to enter :
10 10 SPRITE1
to display my sprite at X:10 Y:10

easy, powerful ... so Forth :+)

mmmh.... i wish to do the same with standard Forth....

[toc] | [prev] | [next] | [standalone]


#43023

Fromrickman <gnuarm@gmail.com>
Date2015-10-31 03:16 -0400
Message-ID<n11pob$gs4$2@dont-email.me>
In reply to#43022
On 10/31/2015 3:04 AM, François wrote:
> tank's to all :-)
>
> my problem, is when i download a Forth, there is no example to help
> beginner for is first step...
>
> And the first step must be "fun" :-p
>
> (with my forth) i create the word BMP>SPR
> You give to it : name of BMP file, X,Y,W,H of a part of this bmp,
> and the of the new sprite.
> 54 32 32 32 BMP>SPR SPRITE1 TEST.BMP
> create a 32x32 sprite
>
> after that, in graphic mode, i just have to enter :
> 10 10 SPRITE1
> to display my sprite at X:10 Y:10
>
> easy, powerful ... so Forth :+)
>
> mmmh.... i wish to do the same with standard Forth....

So what is stopping you?

-- 

Rick

[toc] | [prev] | [next] | [standalone]


Page 1 of 4  [1] 2 3 4  Next page →

Back to top | Article view | comp.lang.forth


csiph-web