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


Groups > comp.lang.forth > #59152

Re: Editor for Forth

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: Editor for Forth
Date 2017-05-13 02:51 -0400
Organization A noiseless patient Spider
Message-ID <of6a7l$me2$1@dont-email.me> (permalink)
References <of02ov$1mu$1@dont-email.me> <of5k5c$gvf$3@dont-email.me> <1cdea94b-bed5-432b-b5c6-beeaf71f37b1@googlegroups.com>

Show all headers | View raw


On 5/13/2017 1:53 AM, Raimond Dragomir wrote:
>> Must have features:
>> 2.  Understand Forth, and other languages so it can autocomplete
>
> I don't know any editor it can do that for forth, and I've tried many over the years.
> I would be happy even with just a highlighting feature (click on THEN
> or an ELSE and the corresponding IF gets highlighted).

Personally, I could care less if the tool shows me highlighted 
conditional syntax.  That is useful in languages where conditionals get 
deeply nested or lots of stuff is written between the IF and the ELSE. 
In Forth I just don't find it a problem.  The ELSE/THEN is on the same 
line a lot, or at worst the next line or two.

Once my eyes got bad I found I wanted things to be close together so I 
didn't have to move around the page so much.  Forth is good for that.


> Another problem I faced is with numbers, in fact with words that begin
> with a number: 2DUP, etc.

You mean 2DUP would be highlighted as a number?  That seems like a 
pretty poor job of color highlighting.  I'm noticing the Forth 
highlighting in SciTE is not so good with numbers.  Words that could be 
hex numbers seem to be flagged that way.  The IDE editor in Win32Forth 
(which seems to be based on SciTE or a common heritage) doesn't have 
that problem, but SciTE highlights the name of a word definition to 
match the highlighting of the colon and semi.  That is useful.  It 
doesn't highlight Forth words in general.  Win32Forth IDE editor 
highlights forth words, but does nothing special to flag word 
definitions.  It would be useful in both if control structures also had 
a unique highlight.

If I can find documentation on how the language properties files work, I 
may try to change that.


> Also, a nice to have feature is to highlight a word following a keyword,
> for example the definition names that follow the : (something like
> colorforth where a new defintion is red).

That is good.  SciTE does that.


> Forth is so different that having a good highlighting editor needs
> very deep access in the editor internals.

I think highlighting is less important in Forth than other languages. 
Simpler is better in this case.

-- 

Rick C

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


Thread

Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-10 17:07 -0500
  Re: Editor for Forth Mark Wills <markwills1970@gmail.com> - 2017-05-10 15:47 -0700
    Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-10 18:52 -0500
  Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-10 19:06 -0400
    Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-10 19:05 -0500
      Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-10 20:42 -0400
        Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-10 19:59 -0500
          Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-10 21:11 -0400
  Re: Editor for Forth Joel Rees <joel.rees@gmail.com> - 2017-05-10 17:36 -0700
    Re: Editor for Forth Mark C <mdcorbin@googlemail.com> - 2017-05-14 07:33 -0700
  Re: Editor for Forth Paul Rubin <no.email@nospam.invalid> - 2017-05-10 20:39 -0700
    Re: Editor for Forth Lars Brinkhoff <lars.spam@nocrew.org> - 2017-05-11 07:09 +0200
      Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 00:57 -0500
        Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-11 09:15 +0300
          Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 01:35 -0500
            Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-11 09:49 +0300
      Re: Editor for Forth Paul Rubin <no.email@nospam.invalid> - 2017-05-10 23:42 -0700
        Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 01:53 -0500
          Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-11 09:59 +0300
          Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-11 04:32 -0400
            Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 05:52 -0500
              Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-11 14:07 +0300
                Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 07:10 -0500
              Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-11 14:10 -0400
    Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 00:15 -0500
      Re: Editor for Forth Lars Brinkhoff <lars.spam@nocrew.org> - 2017-05-11 07:53 +0200
        Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 01:20 -0500
      Re: Editor for Forth Paul Rubin <no.email@nospam.invalid> - 2017-05-10 23:44 -0700
        Re: Editor for Forth Lars Brinkhoff <lars.spam@nocrew.org> - 2017-05-11 08:57 +0200
      Re: Editor for Forth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-05-11 04:34 -0500
        Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 06:29 -0500
          Re: Editor for Forth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-05-11 07:05 -0500
          Re: Editor for Forth Joel Rees <joel.rees@gmail.com> - 2017-05-12 08:05 -0700
            Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-12 19:34 -0500
              Re: Editor for Forth Joel Rees <joel.rees@gmail.com> - 2017-05-12 18:21 -0700
                Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-12 21:53 -0500
                Re: Editor for Forth Joel Rees <joel.rees@gmail.com> - 2017-05-12 23:37 -0700
                Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-13 02:50 -0500
                Re: Editor for Forth Joel Rees <joel.rees@gmail.com> - 2017-05-15 00:11 -0700
        Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-11 14:41 -0400
          Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 15:44 -0500
            Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-12 10:52 +0300
          Re: Editor for Forth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-05-12 02:28 -0500
            Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-12 12:43 -0400
              Re: Editor for Forth Julian Fondren <julian.fondren@gmail.com> - 2017-05-12 10:17 -0700
                Re: Editor for Forth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-05-13 04:39 -0500
    Re: Editor for Forth Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2017-05-11 08:33 +0100
  Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-11 07:09 +0300
    Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-11 00:22 -0500
      Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-11 08:35 +0300
      Re: Editor for Forth JUERGEN <epldfpga@aol.com> - 2017-05-11 00:46 -0700
        Re: Editor for Forth JUERGEN <epldfpga@aol.com> - 2017-05-11 00:50 -0700
  Re: Editor for Forth humptydumpty <ouatubi@gmail.com> - 2017-05-11 00:32 -0700
  Re: Editor for Forth stephen@mpeforth.com (Stephen Pelc) - 2017-05-11 08:03 +0000
  Re: Editor for Forth Mark C <mdcorbin@googlemail.com> - 2017-05-12 04:50 -0700
    Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-12 12:54 -0400
      Re: Editor for Forth Mark C <mdcorbin@googlemail.com> - 2017-05-14 07:09 -0700
        Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-14 13:48 -0400
          Re: Editor for Forth Mark C <mdcorbin@googlemail.com> - 2017-05-14 11:10 -0700
        Re: Editor for Forth peter.m.falth@gmail.com - 2017-05-14 14:28 -0700
          Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-14 23:02 -0400
            Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-15 00:03 -0500
            Re: Editor for Forth peter.m.falth@gmail.com - 2017-05-15 13:33 -0700
  Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-12 19:35 -0500
    Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-12 21:16 -0400
    Re: Editor for Forth Raimond Dragomir <raimond.dragomir@gmail.com> - 2017-05-12 22:53 -0700
      Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-13 02:51 -0400
        Re: Editor for Forth Raimond Dragomir <raimond.dragomir@gmail.com> - 2017-05-13 00:02 -0700
          Re: Editor for Forth albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-05-13 13:36 +0200
      Re: Editor for Forth Lars Brinkhoff <lars.spam@nocrew.org> - 2017-05-13 09:09 +0200
      Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-13 02:41 -0500
        Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-13 10:31 -0400
  Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-20 16:43 -0500
    Re: Editor for Forth Paul Rubin <no.email@nospam.invalid> - 2017-05-20 15:32 -0700
      Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-20 18:57 -0400
        Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-20 18:16 -0500
          Re: Editor for Forth Paul Rubin <no.email@nospam.invalid> - 2017-05-20 16:40 -0700
            Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-20 22:04 -0400
              Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-21 07:04 +0300
        Re: Editor for Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-21 06:53 +0000
          Re: Editor for Forth Ron Aaron <rambamist@gmail.com> - 2017-05-21 10:24 +0300
            Re: Editor for Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-21 14:54 +0000
          Re: Editor for Forth albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-05-21 20:11 +0200
            Re: Editor for Forth rickman <gnuarm@gmail.com> - 2017-05-21 14:23 -0400
          Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-21 13:23 -0500
      Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-20 18:15 -0500
      Re: Editor for Forth Cecil Bayona <cbayona@cbayona.com> - 2017-05-20 18:33 -0500

csiph-web