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


Groups > comp.lang.forth > #8533

Re: Stack optimizer

From "Rod Pemberton" <do_not_have@noavailemail.cmm>
Newsgroups comp.lang.forth
Subject Re: Stack optimizer
Date 2011-12-31 20:09 -0500
Organization Aioe.org NNTP Server
Message-ID <jdobl7$4ou$1@speranza.aioe.org> (permalink)
References <4eff0ee1$0$6951$e4fe514c@news2.news.xs4all.nl> <7xty4ge2cm.fsf@ruckus.brouhaha.com>

Show all headers | View raw


"Paul Rubin" <no.email@nospam.invalid> wrote in message
news:7xty4ge2cm.fsf@ruckus.brouhaha.com...
> Hans Bezemer <thebeez@xs4all.nl> writes:
> > Too little code is published here, so here is a port of the 4tH stack
> > optimizer. Confirmed to work with gForth. Should be a breeze to port to
> > others.
> >
> > Typical use:
> >   s" abc" s" abcabc" stackopt
>
> That is pretty cool.  I was just yesterday playing with the idea of
> writing something like it for optimizing GA144 code.
> [...] After trying to write
> some code by hand and constantly running into stuff like this, I
> started to think an automatic optimizer would be a big help.
>

They are not coded in Forth ..

http://web.archive.org/web/20090409064348/http://black.cs.bgu.ac.il/forth-opt

http://forpost.sourceforge.net/forthwiz.html

For personal use, I easily extended the second one from 19 words to
37 words.  I don't know Javascript, but do know C.


Rod Pemberton

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


Thread

Stack optimizer Hans Bezemer <thebeez@xs4all.nl> - 2011-12-31 14:33 +0100
  Re: Stack optimizer Hans Bezemer <thebeez@xs4all.nl> - 2011-12-31 20:03 +0100
  Re: Stack optimizer Paul Rubin <no.email@nospam.invalid> - 2011-12-31 15:41 -0800
    Re: Stack optimizer Hans Bezemer <thebeez@xs4all.nl> - 2012-01-01 00:58 +0100
    Re: Stack optimizer "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-31 20:09 -0500
  Re: Stack optimizer Josh Grams <josh@qualdan.com> - 2011-12-31 23:50 +0000
  Re: Stack optimizer Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-31 16:34 -0800
    Re: Stack optimizer Paul Rubin <no.email@nospam.invalid> - 2011-12-31 17:03 -0800
      Re: Stack optimizer Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-31 20:18 -0800
        Re: Stack optimizer Doug Hoffman <glidedog@gmail.com> - 2012-01-01 03:41 -0500
          Re: Stack optimizer Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-01-01 03:49 -0800
            Re: Stack optimizer Doug Hoffman <glidedog@gmail.com> - 2012-01-01 10:08 -0500
        Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-04 06:36 -0800
          Re: Stack optimizer Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-01-04 20:06 -0800
            Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-05 03:44 -0800
              Re: Stack optimizer anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-01-05 16:34 +0000
              Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-09 06:00 -0800
          Re: Stack optimizer "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-05 06:48 -0500
            Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-05 05:06 -0800
              Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-05 05:08 -0800
                Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-05 11:38 -0800
              Re: Stack optimizer "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-05 19:05 -0500
                Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-06 03:39 -0800
              Re: Stack optimizer "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-06 21:41 -0500
                Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-07 12:47 -0800
  Re: Stack optimizer "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-02 02:16 -0500
    Re: Stack optimizer "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-02 16:08 -0500
      Re: Stack optimizer Alex McDonald <blog@rivadpm.com> - 2012-01-03 14:13 -0800

csiph-web