Where is the TextMate text parser located?

Does anyone know where TextMate code is used to highlight syntax? If not, do you know how they analyze their language syntaxes or how you will analyze their language syntax?

That would be awesome to explore.

Thanks! A spear

+5
source share
1 answer

I believe that TextMate uses Antlr to parse. Look for it inside the package. Antlr has an Objective-C target, but this does not mean that Allen Odgaard chose this language, but it is very likely that TextMate is a Cocoa application.

Terrence Parr, creator of Antlr, has written two books on / using Antlr:

Antlr Defining Link

, .. , , Antlr .

+5

All Articles