Question

I've been looking around and haven't found a syntax definition for Gforth to use in Sublime Text.

Is there one? I have found one for TextPad, but that's about it (see TextPad syntax definitions). Is it possible to convert the one for TextPad to work with Sublime Text 2?

Was it helpful?

Solution

I have Charles Turner's Forth TextMate bundle installed (in Sublime Text) and it works nicely.

If that's not good enough, perhaps you could extend it with patterns gleaned from the TextPad syntax file. To learn how Sublime Text syntax definitions work, I'd read through Syntax Definitions.

I hope that helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top