Ah, I see your point. I'll do some more digging to see if there's anything
we could do about this.

Regards,

Vihanga Liyanage,
Undergraduate,
University of Colombo School of Computing.
M: +94 71 012 4103

<https://www.facebook.com/Vihanga.Liyanage>
<https://www.linkedin.com/in/vihanga/>
<https://github.com/vihanga-liyanage/>

On Sat, Feb 25, 2017 at 10:54 PM, Tishan Dahanayakage <[email protected]>
wrote:

> Hi Vihanga,
>
> Yes. We need to make corresponding xtext if we are to use this approach.
> Problem is If we can't automatically convert antlr to xtext, then everytime
> there is a grammar level change we will have to manually update xtext
> grammar which is not scalable. We can't maintain two grammar definitions.
> Anyway that is my view. Let's see what others have to say.
>
> Thanks
> /Tishan
>
> On Sat, Feb 25, 2017 at 10:59 AM, Vihanga Liyanage <
> [email protected]> wrote:
>
>> Hi Tishan,
>>
>> Well yes, I also read that xtext grammar is based on Antlr. But in my
>> opinion, if we can use xtext for this project, all we need to do is create
>> the xtext grammar corresponds to the existing Antlr grammar of Siddhi and
>> that's it right? Please correct me if I'm wrong.
>>
>> Thanks,
>>
>> Vihanga Liyanage,
>> Undergraduate,
>> University of Colombo School of Computing.
>> M: +94 71 012 4103 <+94%2071%20012%204103>
>>
>> <https://www.facebook.com/Vihanga.Liyanage>
>> <https://www.linkedin.com/in/vihanga/>
>> <https://github.com/vihanga-liyanage/>
>>
>> On Fri, Feb 24, 2017 at 2:29 PM, Tishan Dahanayakage <[email protected]>
>> wrote:
>>
>>> Hi Vihanga,
>>>
>>> Thanks for the research and samples. Good progress!!  I also read a bit
>>> about Xtext. It is also using Antlr internally. But according to the
>>> material I came across we cannot convert antlr grammar automatically to
>>> Xtext. So since Siddhi grammar is based on antlr and we are not going to
>>> move the grammar to Xtext can you please try the same with a simple Antlr
>>> v4 grammar file.
>>>
>>> Thanks
>>> /Tishan
>>>
>>> On Fri, Feb 24, 2017 at 11:59 AM, Vihanga Liyanage <
>>> [email protected]> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I hope you read my reply to the other mail tread, "Eclipse plugin for
>>>> Siddhi". As I said in there, we can use same Xtext[1] framework to develop
>>>> Siddhi plugins for both eclipse and Intellij IDEA editors. Here are my
>>>> example idea plugin project details. You can find the code in here[2].
>>>>
>>>> This is the sample xtext grammar I used.
>>>>
>>>>
>>>>
>>>> Syntax highlighting and error detection.
>>>>
>>>>
>>>> ​
>>>> Code completion
>>>>
>>>>
>>>> ​
>>>> I'd love to know your ideas about this.
>>>>
>>>> [1] https://eclipse.org/Xtext/index.html
>>>> [2] https://github.com/vihanga-liyanage/IDEA-Plug-Ins
>>>>
>>>> Regards,
>>>> <https://github.com/vihanga-liyanage/IDEA-Plug-Ins>
>>>>
>>>> Vihanga Liyanage,
>>>> Undergraduate,
>>>> University of Colombo School of Computing.
>>>> M: +94 71 012 4103 <+94%2071%20012%204103>
>>>>
>>>> <https://www.facebook.com/Vihanga.Liyanage>
>>>> <https://www.linkedin.com/in/vihanga/>
>>>> <https://github.com/vihanga-liyanage/>
>>>>
>>>> On Mon, Feb 13, 2017 at 11:50 AM, Vihanga Liyanage <
>>>> [email protected]> wrote:
>>>>
>>>>> Thank you for your reply. I'll look into those things and will get
>>>>> back to you.
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> On Feb 13, 2017 10:35 AM, "Tishan Dahanayakage" <[email protected]>
>>>>> wrote:
>>>>>
>>>>> Hi Vihanga,
>>>>>
>>>>> Thanks for your interest in WSO2 and this project. I have improved
>>>>> idea page with more details. I would suggest you to start off with getting
>>>>> bit familiar with Siddhi grammar. Then you can look into idea plugin
>>>>> creation to support different languages. Then you can look into antlr 
>>>>> based
>>>>> programming languages and how antlr can be used to generate parsers,
>>>>> lexers, etc. Above will provide you enough context information on how to
>>>>> proceed through with the idea.
>>>>> Feel free to revert back if you don't understand the requirement or
>>>>> have any other clarification.
>>>>>
>>>>> Thanks,
>>>>> Tishan
>>>>>
>>>>> On Sat, Feb 11, 2017 at 12:54 PM, Vihanga Liyanage <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Tishan,
>>>>>>
>>>>>> I read through your project proposals for GSoC 2017 and particularly
>>>>>> interested in the project Proposal 4: Idea Plugin for Siddhi
>>>>>> <https://docs.wso2.com/display/GSoC/Project+Proposals+for+2017#ProjectProposalsfor2017-Proposal4:IdeaPluginforSiddhi>
>>>>>> , which lists you as the possible mentor. I'd really like to work on
>>>>>> this idea further, hoping to get selected for GSoC and complete the 
>>>>>> project
>>>>>> at the end.
>>>>>> It'll be really great if you could point me in a direction where I
>>>>>> could do some more background work on this.
>>>>>>
>>>>>> Best Regards,
>>>>>> Vihanga Liyanage,
>>>>>> Undergraduate,
>>>>>> University of Colombo School of Computing.
>>>>>> M: +94 71 012 4103 <+94%2071%20012%204103>
>>>>>>
>>>>>> <https://www.facebook.com/Vihanga.Liyanage>
>>>>>> <https://www.linkedin.com/in/vihanga/>
>>>>>> <https://github.com/vihanga-liyanage/>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Tishan Dahanayakage
>>>>> Senior Software Engineer
>>>>> WSO2, Inc.
>>>>> Mobile:+94 716481328 <071%20648%201328>
>>>>>
>>>>> Disclaimer: This communication may contain privileged or other
>>>>> confidential information and is intended exclusively for the addressee/s.
>>>>> If you are not the intended recipient/s, or believe that you may have
>>>>> received this communication in error, please reply to the sender 
>>>>> indicating
>>>>> that fact and delete the copy you received and in addition, you should not
>>>>> print, copy, re-transmit, disseminate, or otherwise use the information
>>>>> contained in this communication. Internet communications cannot be
>>>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>>>> accept liability for any errors or omissions.
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Tishan Dahanayakage
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> Mobile:+94 716481328 <071%20648%201328>
>>>
>>> Disclaimer: This communication may contain privileged or other
>>> confidential information and is intended exclusively for the addressee/s.
>>> If you are not the intended recipient/s, or believe that you may have
>>> received this communication in error, please reply to the sender indicating
>>> that fact and delete the copy you received and in addition, you should not
>>> print, copy, re-transmit, disseminate, or otherwise use the information
>>> contained in this communication. Internet communications cannot be
>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>> accept liability for any errors or omissions.
>>>
>>
>>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328 <071%20648%201328>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to