Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] where to get started writing a language parser for SWIG

Hi Stephen,

If you want to implement an editor for SWIG in Eclipse with content
assist, outline etc, the easiest and best way is to use a language
server implementation and integrate it via  LSPE into Eclipse. This
way you can use the same language server for other tools like VSCode.

Best regards, Lars

On Thu, Apr 21, 2022 at 8:50 AM Stephen Crowley
<stephencrowley214@xxxxxxxxx> wrote:
>
> Hi Manoj, yes looks right.. it doesnt necessarily have to do with java support though, SWIG supports many languages and one could envision using it to generate C or python or whatever.. does that still fall under JDT?
>
>
> Thanks,
>
> Stephen
>
> On 4/21/22 12:41 AM, Manoj Palat wrote:
>
> Hi Stephen,
>
> To understand the requirement, checking whether you want to convert the SWIG files into a DOM AST of JDT?
>
>
>
> Regards,
>
> Manoj
>
>
>
> From: eclipse-dev <eclipse-dev-bounces@xxxxxxxxxxx> on behalf of Stephen Crowley <stephencrowley214@xxxxxxxxx>
> Date: Thursday, 21 April 2022 at 9:46 AM
> To: eclipse-dev@xxxxxxxxxxx <eclipse-dev@xxxxxxxxxxx>
> Subject: [EXTERNAL] [eclipse-dev] where to get started writing a language parser for SWIG
>
> Hypothetically, what is the proper way to create a mode (im not sure of the proper jargon) to parse SWIG interface files
>
> for syntax hilighting, type hierarchy, etc.
>
>
>
> Is there some some sort of minimal project I can checkout that does this sorta thing?
>
>
>
> Thanks in advance
>
>
>
> --Stephen
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipse-dev



-- 
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top