Is there an eclipse plugin for development in m4?

Googling practically does not work.

I need to develop heavy material in m4, and I would like to do it in my favorite environment with all his calls and whistles.

There are packages to run m4 on almost every platform, such as windows . So I know that at least I can create a default project and a test from the CLI. But I would prefer :)

+4
source share
4 answers

I do not know any specific support for editing m4. However, if you have time to save (!) And BNF for m4, you can use the Xtext ( http://wiki.eclipse.org/Xtext ) to create a coloring and completion syntax editor with an outline representation.

Updated . The answer below shows that m4 does not have BNF or is not BNeFfable, and, of course, a short literature search does not show allegations of the presence of m4 BNF - and appears, although it is not explicitly stated that the language m4 is inexpressible in this way.

Obviously, this denies my suggestion, so I have to cancel it, unless, of course, the Xtext has not been extended to deal with such languages. Consult the Xtext website above for frequently asked questions and mailing list links.

+1
source

You can also try colorer for Eclipse ( http://colorer.sourceforge.net/eclipsecolorer/ ) - it almost certainly supports the m4 syntax (although I haven't tested it).

+1
source

Unfortunately, just syntax coloring will be of little use - you need something that can interpret m4, because if no handlers are defined, you cannot determine if it is just a word or a predefined macro. mc (Midnight Commander) has some rudimentary highlighting for m4, you can take a look at that.

+1
source

If you are familiar with (and how) vim, you can try Eclim and then adjust the syntax highlighting for m4.

0
source

All Articles