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

> I'm a bit oldschool,

I would have never guessed that ;)




On Thu, 21 Apr 2022 at 23:46, Stephen Crowley <stephencrowley214@xxxxxxxxx> wrote:
No thanks. I don't do _javascript_, nor should anyone else.

I don't have any intention for doing anything differently to make things
easier for microsoft; I'm a bit oldschool, they are and always have been
the evil empire. I don't trust anything with pictures of random people
smiling and saying marketing slogans about something.

Xtext is surely the way to go; thank y'all for the suggestions I will
look into that webcast as well and maybe get around to doing it if I get
around to it


best ,

--Stephen


On 4/21/22 2:43 AM, Lars Vogel wrote:

> 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-dev mailing list
eclipse-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipse-dev

Back to the top