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


Groups > comp.lang.forth > #59174

Re: Editor for Forth

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: Editor for Forth
Date 2017-05-13 10:31 -0400
Organization A noiseless patient Spider
Message-ID <of7558$8r3$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> <of6d4i$tpo$1@dont-email.me>

Show all headers | View raw


On 5/13/2017 3:41 AM, Cecil Bayona wrote:
> On 5/13/2017 12: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).
>>
>> Another problem I faced is with numbers, in fact with words that begin
>> with a number: 2DUP, etc.
>>
>> 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).
>>
>> Forth is so different that having a good highlighting editor needs
>> very deep access in the editor internals.
>>
>> Programmer's Notepad was supposed to be that kind of editor, too bad
>> it's not developed anymore. But I used all the time for daily work.
>> If it were supporting the ctags, I would forget any other editor. For
>> big projects that needs ctags I use Notepad++.
>> And it's only Windows I think...
>>
> On notepad++ I only see Windows downloads, I currently use it for
> generic editing.
>
> Somewhere I read that Notepad++ uses the same editing libraries as SciTe
> but it is available for Windows, Linux, and MacOs.

You say, "but it is available..." while SciTE is available under all 
those OS.


> SciTe will do highlighting and code completion on code blocks, depending
> on the language if you put for example a { it puts a blank line and
> closes it with a } but all of that is controlled by a language file as
> to what constitutes a code block. I believe it uses Lua as the internal
> script language so you can make it do all sorts of things, it was
> created by the same University that created Lua, Puc Rio. It can be made
> to have all the items on my list but I would need to create an entry for
> Forth, most other languages are already available.

"Create an entry"?  What does that mean?  There is a Forth syntax parser 
for SciTE.  I'm using it.  By default it doesn't show in the menu, so 
you need to edit the global properties file to stop it from being 
suppressed.  It doesn't seem to highlight all the Forth standard words, 
but there is something wrong still I think.  I have a Forth.properties 
file which clearly contains all that stuff including separate lists for 
flow control, defining, string and to other types of words (prewords1 
and prewords2).  This file is clearly not currently active in SciTE on 
my machine.

I think I've mentioned, using a mono-spaced font is available from a 
menu, but not automatically.  It has to be applied to each file opened. 
There has to be a way to fix that.  In fact it currently doesn't 
recognize any Forth file types other than '.forth'.  So I manually have 
to select the language for all the files on my machine.

-- 

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