Creating Language Definitions w/o Java Code?

Hi,

I was wondering if it's possible to define the basics of a language or file format without creating a plug-in (as defined at http://www.jetbrains.com/idea/plugins/developing_custom_language_plugins.html)? I'm thinking of something like jEdit whose hiliting definitions take the form of an XML file that defines keyword and token patterns and allows them to be assigned to different colorization categories.

Is a very simple language definition of this sort possible? I'm using IDEA 7.

Randall Schulz

2 comments

Hello Randall,

I was wondering if it's possible to define the basics of a language or
file format without creating a plug-in (as defined at
http://www.jetbrains.com/idea/plugins/developing_custom_language_plugi
ns.html)? I'm thinking of something like jEdit whose hiliting
definitions take the form of an XML file that defines keyword and
token patterns and allows them to be assigned to different
colorization categories.

Is a very simple language definition of this sort possible? I'm using
IDEA 7.


If you need something very simple, you can use custom file types (Settings
| File Types). For anything more complex, Java code is currently required.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Oh, yes. I'd forgotten about that.

A quick look suggests it's adequate for my puposes.

(The language is LISP-like, in a superficial sense.)

Thanks.


Randall Schulz

0

Please sign in to leave a comment.