Forth syntax-coloring bundle for the TextMate editor.

This is a discussion on Forth syntax-coloring bundle for the TextMate editor. within the Forth forums in Programming Languages category; HI all- I've been working on Forth syntax coloring support for the editor TextMate: <http://macromates.com/> and my initial version of a bundle has been accepted into the Review section of the TextMate SVN. The bundle builds heavily off the work already done by Goran Rydqvist, David Kühling and Anton Ertl with the gforth.el file for Emacs, but any errors and/or omissions are solely my own. The bundle supports the Gforth extensions found in gforth.el, and also many of iForth's (my favorite Forth for the Mac) extensions. It currently omits support for objects/OOF, and does not color Forth word definitions, but ...

Go Back   Application Development Forum > Programming Languages > Forth

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-05-2008, 07:52 AM
Charles Turner
Guest
 
Default Forth syntax-coloring bundle for the TextMate editor.

HI all-

I've been working on Forth syntax coloring support for the editor
TextMate:

<http://macromates.com/>

and my initial version of a bundle has been accepted into the Review
section of the TextMate SVN.

The bundle builds heavily off the work already done by Goran Rydqvist,
David Kühling and
Anton Ertl with the gforth.el file for Emacs, but any errors and/or
omissions are solely my own.

The bundle supports the Gforth extensions found in gforth.el, and also
many of iForth's (my favorite Forth for the Mac) extensions. It
currently omits support for objects/OOF, and does not color Forth word
definitions, but these items will be added in the next week.

If you try it out, please let me know what your experience was like,
either positive or negative.

Best, Charles

Reply With Quote
  #2  
Old 09-05-2008, 09:23 AM
Doug Hoffman
Guest
 
Default Forth Syntax-Coloring Text Editor

Charles Turner wrote:
> HI all-
>
> I've been working on Forth syntax coloring support for the editor
> TextMate:
>
> <http://macromates.com/>
>
> and my initial version of a bundle has been accepted into the Review
> section of the TextMate SVN.
>
> The bundle builds heavily off the work already done by Goran Rydqvist,
> David Kühling and
> Anton Ertl with the gforth.el file for Emacs, but any errors and/or
> omissions are solely my own.
>
> The bundle supports the Gforth extensions found in gforth.el, and also
> many of iForth's (my favorite Forth for the Mac) extensions. It
> currently omits support for objects/OOF, and does not color Forth word
> definitions, but these items will be added in the next week.
>
> If you try it out, please let me know what your experience was like,
> either positive or negative.


Hi Charles,

I also have a Macintosh Forth-centric programmer's text processor,
QuickEdit. It is written entirely in high level Forth, Carbon MacForth
and is heaviily based on the excellent Editor provided with Carbon
MacForth. I will send the complete source on request to any owner of
the current Carbon MacForth language.

QuickEdit will run on any version of OS X or OS 9. It is a multi-window
editor that follows the Mac User Interface and also fully supports
user-configurable syntax coloring, including bold and underline. It
does color Forth word definitions and will support coloring for any OOP
syntax you wish. Actually, since the coloring/bold/underline is
completely user-configurable there are essentially no limits to syntax
formatting.

While originally written to be an IDE Editor for the PowerMops Forth
programming language, QE works just fine for editing any text files.
Since it uses AppleEvents it would be simple to have it behave as an IDE
editor for any programming language, Forth or otherwise. The download
is small, just 500K compressed and is available here:

http://members.talkamerica.net/dougl...lkamerica.net/

Download file QE65D4.sitx (a self-extracting file). Full
documentation is included.


Can I run your colorized version of TextMate on OS X 10.3.9?

Thanks,

-Doug
Reply With Quote
  #3  
Old 09-05-2008, 10:42 AM
Doug Hoffman
Guest
 
Default Re: Forth syntax-coloring bundle for the TextMate editor.

Charles,

Textmate looks like an excellent editor with a lot of features.

QuickEdit is a truly lean editor in comparison, but with far fewer
features (though it does support end-user-configurable color syntax
including bold and underline, no programming required). All times are
on an iMac G3 500 mhz OS X 10.3.9:

Item Textmate QuickEdit
---- -------- ---------

size 30 meg 0.9 meg (0.6 meg wo/ 3 pict resources)

time to Open 20 seconds < 1 second
5 meg text file

time to search 15 seconds < 1 second
for a word at
end of 5 meg
text file



-Doug
Reply With Quote
  #4  
Old 09-06-2008, 09:32 PM
Henry
Guest
 
Default Re: Forth Syntax-Coloring Text Editor

On Sep 5, 9:23*am, Doug Hoffman <dhoff...@talkamerica.net> wrote:

> While originally written to be an IDE Editor for the PowerMops Forth
> programming language, QE works just fine for editing any text files.
> Since it uses AppleEvents it would be simple to have it behave as an IDE
> editor for any programming language, Forth or otherwise. *The download
> is small, just 500K compressed and is available here:
>
> http://members.talkamerica.net/dougl...lkamerica.net/
>
> Download file *QE65D4.sitx *(a self-extracting file). *Full
> documentation is included.
>

QuickEdit crashes when I try to run it; PowerBook G4, OS 10.5.4. Do I
need to go back to 10.4?

Henry
Reply With Quote
  #5  
Old 09-07-2008, 03:19 AM
Doug Hoffman
Guest
 
Default Re: Forth Syntax-Coloring Text Editor

Henry wrote:

> QuickEdit crashes when I try to run it; PowerBook G4, OS 10.5.4. Do I
> need to go back to 10.4?


I believe there are other users running OS 10.5.4. Does QE simply not
run at all or does the crash happen only during a specific operation?

-Doug
Reply With Quote
  #6  
Old 09-07-2008, 10:28 AM
Henry
Guest
 
Default Re: Forth Syntax-Coloring Text Editor

On Sep 7, 3:19*am, Doug Hoffman <dhoff...@talkamerica.net> wrote:
> Henry wrote:
> > QuickEdit crashes when I try to run it; PowerBook G4, OS 10.5.4. Do I
> > need to go back to 10.4?

>
> I believe there are other users running OS 10.5.4. *Does QE simply not
> run at all or does the crash happen only during a specific operation?
>
> -Doug


QE won"t start up at all. I reverted to OS 10.4.11 where QE 6.5d4
works fine.

Interestingly, an older version of QE, 6.3, (which came with a
PowerMops distribution) works fine under 10.5.4.

Henry
Reply With Quote
  #7  
Old 09-07-2008, 11:18 AM
Doug Hoffman
Guest
 
Default Re: Forth Syntax-Coloring Text Editor

Henry wrote:
> On Sep 7, 3:19 am, Doug Hoffman <dhoff...@talkamerica.net> wrote:
>> Henry wrote:
>>> QuickEdit crashes when I try to run it; PowerBook G4, OS 10.5.4. Do I
>>> need to go back to 10.4?

>> I believe there are other users running OS 10.5.4. Does QE simply not
>> run at all or does the crash happen only during a specific operation?
>>
>> -Doug

>
> QE won"t start up at all. I reverted to OS 10.4.11 where QE 6.5d4
> works fine.
>
> Interestingly, an older version of QE, 6.3, (which came with a
> PowerMops distribution) works fine under 10.5.4.


Thanks for the feedback, Henry.

One problem is I don't have a machine that will run OS 10.4+. But that
should change soon. QuickEdit definitely has a future as a general
purpose programmer's text editor on the Macintosh. I am open to
suggestions on how to make QE more more useful, including use for Forths
other than PowerMops.

-Doug
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:12 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.