ForthHub / discussion

Discussion repository for Forth enthusiasts.
118 stars 4 forks source link

Looking for some Forth IDE #78

Open Lecrapouille opened 5 years ago

Lecrapouille commented 5 years ago

Hi some times ago, I wrote a personal basic IDE in GTK+ for editing Forth scripts. It's doing some basic stuffs like word completion, color highlighting (like immediate, unknown words), dictionary display, stack display, soon I hope to add a tracer and a debugger. I was wondering if it exists Forth IDE that can be installed for Linux that I could pick some inspirations. A quick search Google I found nothing more gui-friendly than a vim-like text editor.

Thx !

quozl commented 5 years ago

I'm not aware of anything like that.

I use emacs with the Forth mode, which does syntax highlighting.

I use a Forth which has word completion, stack display, tracer and debugger.

When I use word completion on my own words, I take that as a sign that I should have made a shorter word.

-- James Cameron http://quozl.netrek.org/

mikaelpatel commented 5 years ago

@quozl Thanks for the comment. I did not know that the gnu emacs forth mode we implemented back in 88 was still used :) I will let Göran Rydqvist know when I meet him. He wrote most of the original code.

cstrotm commented 5 years ago

Manfred Mahlows 4ethcom might qualify as a simple IDE for Forth

https://wiki.forth-ev.de/doku.php/en:projects:e4thcom

I personally use Emacs with one of the Forth-Modes

Lecrapouille commented 5 years ago

Thx for your answers ! I've found this one http://www.holonforth.com/using.html which looks nice

MitchBradley commented 5 years ago

A major reason that I love Forth is because it is like an IDE that is lightweight enough to run on the target. That's why most of my Forth work has centered around systems where the text interpreter is present on the target, including a resident debugger and full introspection. It's interesting that such a target-resident "Forth IDE" can fit easily on a $2 microcontroller these days, compared to modern IDEs for, e.g. C, which require you to download and install a gigabyte of stuff. The productivities are similar.

jwoehr commented 5 years ago

On Wed, Jan 9, 2019 at 10:36 AM Mitch Bradley notifications@github.com wrote:

A major reason that I love Forth is because .. .. [t]he productivities are similar.

"The road not taken"

-- Jack Woehr Absolute Performance, Inc. 12303 Airport Way, Suite 100 Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.

MitchBradley commented 5 years ago

Hi Jack.

jwoehr commented 5 years ago

On Wed, Jan 9, 2019 at 2:07 PM Mitch Bradley notifications@github.com wrote:

Hi Jack.

Hi Mitch .. still in Hawai'i? -- Jack Woehr Absolute Performance, Inc. 12303 Airport Way, Suite 100 Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.