Hi Tishan, I have shared my proposal draft on the official GSoC site. I kindly request your feedback on improving it.
Thank you On 27 March 2017 at 15:53, Menuka Warushavithana <[email protected]> wrote: > Hi Tishan, > I have shared my proposal draft on the official GSoC site. I kindly > request your feedback on improving it. > > Thank you > Menuka > > On 27 March 2017 at 13:01, Menuka Warushavithana <[email protected]> > wrote: > >> Hi Tishan, >> >> I used ANTLR 4.6 on the file [1] to generate the Lexers and Parsers. Then >> I took the sample plugin provided by ANTLR creators [2] along with the >> Jetbrains plugin adapters provided by ANTLR mentioned here [3]. (Of course, >> I found these resources thanks to the conversations in the dev mailing >> list). I forked the sample plugin on GitHub and changed the code to work >> with SiddhiQL.g4. >> My fork can be accessed through [4]. >> >> There were some dependency issues with the Sample Plugin because it had >> used ANTLR 4.5.1 and the version I used for generation of Lexers and >> Parsers was the latest (ANTLR 4.6). I couldn't entirely fix the dependency >> issues. However, the plugin works with syntax highlighting for the most >> part.. I'm working on implementing a basic code completion functionality. >> Now I have a base level understanding of how ANTLR generates the classes. >> >> And by the way, I will share my draft proposal with you later today. >> >> Thank You >> >> [1] https://github.com/wso2/siddhi/blob/master/modules/siddh >> i-query-compiler/src/main/antlr4/org/wso2/siddhi/query/ >> compiler/SiddhiQL.g4 >> [2] https://github.com/antlr/jetbrains-plugin-sample >> [3] https://github.com/antlr/jetbrains >> [4] https://github.com/menuka94/jetbrains-plugin-sample >> >> >> >> On 27 March 2017 at 11:24, Tishan Dahanayakage <[email protected]> wrote: >> >>> Hi Menuka, >>> >>> Great progress Menuka. Can you please explain how did you achieve this >>> and resources used. >>> How can we try this plugin? Can you please provide the required >>> resources? >>> >>> Thanks, >>> /Tishan >>> >>> On Mon, Mar 27, 2017 at 12:42 AM, Menuka Warushavithana < >>> [email protected]> wrote: >>> >>>> Hi Tishan, >>>> I was able to implement a simple syntax highlighting plugin for Siddhi >>>> queries with the help of [1] and Antlr. (A screenshot is attached herewith) >>>> >>>> >>>> I set up the WSO2 CEP locally and started studying Siddhi in more >>>> detail. >>>> Also, I have started drafting a proposal for the project. Your advice >>>> and constructive criticism on this idea is greatly appreciated. >>>> >>>> [1] https://github.com/wso2/siddhi/blob/master/modules/siddh >>>> i-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compi >>>> ler/SiddhiQL.g4 >>>> >>>> >>>> Thank You >>>> -- >>>> Menuka Warushavithana >>>> LinkedIn: https://www.linkedin.com/in/menukawarushavithana >>>> GitHub: https://www.github.com/menuka94 >>>> >>> >>> >>> >>> -- >>> Tishan Dahanayakage >>> Senior Software Engineer >>> WSO2, Inc. >>> Mobile:+94 716481328 <+94%2071%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. >>> >> >> >> >> -- >> Menuka Warushavithana >> LinkedIn: https://www.linkedin.com/in/menukawarushavithana >> GitHub: https://www.github.com/menuka94 >> >> > > > -- > Menuka Warushavithana > LinkedIn: https://www.linkedin.com/in/menukawarushavithana > GitHub: https://www.github.com/menuka94 > > -- Menuka Warushavithana LinkedIn: https://www.linkedin.com/in/menukawarushavithana GitHub: https://www.github.com/menuka94
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
