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

Nope - what you talk about is an DSL and hence you want Xtext.

Tom

Am 21.04.22 um 08:50 schrieb Stephen Crowley:
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 <https://www.swig.org/>

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


Back to the top