AVR-assembler-support

In my spare-time I currently write some code in AVR-assembler. The AVR
Studio from Atmel is quite nice when debugging the compilation, but the
editor is extremely rudimentary compared to the one I know from IDEA.

How difficult you judge it to create a plug-in which supports plain
syntax-highlighting and basic code completion (completing defines and labels)?

Tom

7 comments

How difficult you judge it to create a plug-in which supports plain
syntax-highlighting and basic code completion (completing defines and
labels)?


No ideas?

0

Hello Tom,

>> How difficult you judge it to create a plug-in which supports plain
>> syntax-highlighting and basic code completion (completing defines and
>> labels)?


No ideas?


It's hard to tell actually. If the grammar is not too complex and with some experience in writing
parsers, it should be possible to get something usable in a about a day or two. You should have a
look at http://www.jetbrains.com/idea/plugins/developing_custom_language_plugins.html and the source
of some existing custom language plugin to get an idea of the required effort.

Sascha

0

Thanks, Sascha, I did not know that such a page already existed.

Tom

0

day or two? i envy you!

i'm fighting with the php grammar for something like 7 days in total and it's already second round

0

Hello Jay,

day or two? i envy you!

i'm fighting with the php grammar for something like 7 days in total and it's already second round


LOL, that was under the assumption that the Assembler grammar is far less complex than PHP (I only
know X86 ASM) and that "something usable" means "usable for personal use" which does not necessarily
mean that the complete grammar is implemented or there's nothing left to improve ;)

Sascha

0

I'm sure, PHP is much more difficult than plain ASM which is line orientated
(one line for one command).

0

Yes, please support atmel!

0

Please sign in to leave a comment.