[Eric] Extending language support in Eric

Pavel Panchekha pavpanchekha at gmail.com
Sun May 10 20:28:56 BST 2009


Thanks. I'll do my best to document what I do.

- Pavel Panchekha


On Sun, May 10, 2009 at 1:44 PM, projetmbc <projetmbc at club-internet.fr>wrote:

> I'm also interested by that feature so if someone does something wich
> works, I'll really appreciate that he gives here all the pratical steps to
> do it.
>
> Christophe.
>
>
> Detlev Offenbach a écrit :
>
>  On Samstag, 9. Mai 2009, Pavel Panchekha wrote:
>>
>>
>>> I'd like to add support in Eric for a programming language I wrote
>>> myself,
>>> Oranj. The language core is written in Python, so it shouldn't be too
>>> hard
>>> to integrate, for example, a parser or console. I'm mainly interested to
>>> see how I could extend Eric to understand Oranj.
>>> I know Eric already supports Python and Ruby, so its somewhat
>>> cross-language already. How hard would it be to add another language? How
>>> would I go about it?
>>>
>>> - Pavel Panchekha
>>>
>>>
>>
>> Step 1: Write a language lexer for QScintilla to support syntax
>> highlighting
>> (Alternative: extend Pygments)
>> Step 2: Write a parser to support the class browser
>> Step 3: Write a parser (or reuse the one of step 2) to support source
>> documentation and API file generation
>> Step 4: Write a debugger backend in your language for use with the eric
>> IDE
>> Step 5: Patch the various places that are language specific. (You can
>> search for Ruby)
>>
>> Regards,
>> Detlev
>>
>>
>
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20090510/4baf1aa3/attachment.html


More information about the Eric mailing list