Thanks guys! Glad to see you’re still following the list
J.
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Mike Kucera
Sent: Wednesday, July 19, 2017 11:34 AM
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] New Parser Generation
Here is an example from the UPC plugin.
On Wed, Jul 19, 2017 at 11:16 AM, Chris Recoskie <recoskie@xxxxxxxxxx> wrote:
It's been a while, so I don't remember 100% of the details, but there are language mappings you can set on your project to map content types to languages (and you can map your file extensions to content types already). I seem
to recall there is an extension point for contributing the new languages as well.
Be forewarned that the CDT LR parser is deprecated right now, so in the future it's probably not going to work any more in the next major release.
===========================
Chris Recoskie
IBM Toronto
Amr
El-Rouby ---07/19/2017 10:53:37 AM---Hi all, I have created an extension to C Language, I have made a new Grammar and
From: Amr El-Rouby <amrropy@xxxxxxxxx>
To: cdt-dev@xxxxxxxxxxx
Date: 07/19/2017 10:53 AM
Subject: [cdt-dev] New Parser Generation
Sent by: cdt-dev-bounces@xxxxxxxxxxx
Hi all,
I have created an extension to C Language, I have made a new Grammar and Parser .g files and I have generated Java code from this .g files using LPG and Ant Build and the output was this files:
XYZParser.java, XYZParserprs.java, XYZParsersym.java
Now I need to know how to link this new Parser with Eclipse to support parsing my language extension?
How to make Eclipse use this new parser to parse specific files extension like .xyz for example?
Thanks in advance,
Amr_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev
--------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
|