Hi Mentors, I have started the initial implementation of client-side features like syntax highlighting , code completion and code-snippets. I have tried both ACE editor as well as Code-mirror libraries but according to my observation, ACE editor can easily be customized for domain specific languages.
Current implementation [1] <https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/> is based on ACE library. The progress of the implementation as follows, - *Syntax Highlighting* :almost completed - *Code completion* : Currently the keywords,annotations, and locally defined identifiers can be suggested.But the suggestion list still need to be optimized based on the context awareness. - *Code snippets*: Predefined code snippets are supported for now (Eg: "defStr": define stream , "attr","attrS") . User defined code snippets have to be handled . - *Error checking*: Client side Siddhi parser (Antlr4 in JS runtime) was integrated with Siddhi Editor. It just verify the syntactical correctness of the query and shows error indicators with error messages on relevant lines immediately . Currently the error messages are somewhat abstract and there are issues in triggering the event as well . So there are improvements still need to be done on this. For now, This feature only focuses on the syntax that can be evaluated at client-side. For semantic verifications, Ajax requests need to be sent (if only the client side parser doesn't find any syntax errors) to the existing server-side Siddhi Compiler (That part is yet to be done). The source code at [1 <https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/>] only contains the client side features listed above. This project is maintained just for the ease of testing and debugging the front end specific features. Once the client-side specific features are implemented and tested properly , this could be integrated and merged with carbon-event-processing project. Afterwards I will continue to work on back end related feature ,and will send PRs based on the improvements . Please find demo page for the Siddhi editor is hosted on [2 <http://tharindumunasinge.github.io/CEP-Siddhi_Editor/ace_editor/>] . Highly appreciate your feedbacks and suggestions on this. [1]: https://github.com/TharinduMunasinge/CEP-Siddhi_Editor/ [2]: http://tharindumunasinge.github.io/CEP-Siddhi_Editor/ace_editor/ Thanks! On 7 May 2015 at 00:22, Tharindu Munasinghe <[email protected]> wrote: > Thanks Srinath! > > I had a quick discussion with Suho last week. He gave me the initial > work flow and priorities of the features listed in the proposal. > > I am currently testing Antr4,Code-mirror and Ace libraries for the > implementation purposes. Built the CEP 4.0 and have been getting > familiar with SiddhiQL 3.0. > > Sure we can meet and discuss further details probably on Next Monday. > So that I will be able to come up with something thing to demo the > progress. Please let me know the time (or else a possible date in next > week) for the meeting . > > > Thanks, > > On 5 May 2015 at 09:01, Srinath Perera <[email protected]> wrote: > > Tharindu, congratulations on the proposal! > > > > Shall we meet and discuss sometime this or the following week? > > > > On Wed, Apr 29, 2015 at 2:46 PM, Tharindu Munasinghe > > <[email protected]> wrote: > >> > >> Hi Mentors, > >> > >> First of all thanks for selecting my proposal on $subject . I am > >> planing to complete most of the basic implementations before the > >> official Gsoc starting date (May 25) . Before that I would like to > >> have a review for the design decisions included in the proposal. > >> It would be great if you can review them and provide feedbacks and > >> suggestions . > >> > >> Thanks, > >> > >> On 28 March 2015 at 12:09, Tharindu Munasinghe > >> <[email protected]> wrote: > >> > Hi all, > >> > > >> > Attached here is the proposal I submitted for $subject . > >> > > >> > > >> > > >> > > https://docs.google.com/a/cse.mrt.ac.lk/document/d/1Txl5uZbLYIX8slLR8F5kI8U0Se79tBgHxw2dA3hMIhI/edit# > >> > > >> > On 28 March 2015 at 00:08, Tharindu Munasinghe <[email protected]> > >> > wrote: > >> >> > >> >> [Adding [email protected]] > >> >> > >> >> On Wed, Mar 4, 2015 at 12:41 AM, Tharindu Munasinghe > >> >> <[email protected]> > >> >> wrote: > >> >>> > >> >>> Hi all, > >> >>> Thanks Mohan for the quick response. Sure.. according to the > >> >>> currently available slots I have sent a calendar invitation for the > >> >>> discussion on $subject .Please find the invitation at 3.00 PM today > >> >>> and let > >> >>> me know the availability by then. > >> >>> > >> >>> Thanks, > >> >>> > >> >>> > >> >>> On Tue, Mar 3, 2015 at 10:47 PM, Mohanadarshan Vivekanandalingam > >> >>> <[email protected]> wrote: > >> >>>> > >> >>>> > >> >>>> > >> >>>> On Tue, Mar 3, 2015 at 5:19 PM, Tharindu Munasinghe > >> >>>> <[email protected]> > >> >>>> wrote: > >> >>>>> > >> >>>>> Hi, > >> >>>>> > >> >>>> > >> >>>> Hi Tharindu, > >> >>>> > >> >>>>> > >> >>>>> I am Tharindu Munasinghe , an undergraduate from Department of > >> >>>>> Computer Science and Engineering, University of Moratuwa > .Currently > >> >>>>> I am an > >> >>>>> intern at WSO2. > >> >>>>> > >> >>>>> I went through the GSoC proposal list and interested in proposal > [1] > >> >>>>> and looking forward to contribute . I am already familiar with > WSO2 > >> >>>>> CEP and > >> >>>>> Siddhi while working on my fast track training project. > >> >>>>> > >> >>>>> Please let me know if we could have a discussion on $subject. > >> >>>>> > >> >>>> > >> >>>> Happy to hear that you like to work on $subject.. Sure, we can have > >> >>>> discussion. Please check for a convenient time with Suho & > Srinath.. > >> >>>> > >> >>>> Thanks, > >> >>>> Mohan > >> >>>> > >> >>>>> > >> >>>>> [1] Siddhi Editor for WSO2 CEP > >> >>>>> > >> >>>>> -- > >> >>>>> Tharindu Munasinghe > >> >>>>> Software Engineering Intern > >> >>>>> WSO2 Inc.(http://wso2.com) > >> >>>>> SRI LANKA > >> >>>>> > >> >>>>> Mobile: +94 77460887 > >> >>>>> E-Mail: [email protected] > >> >>>>> > >> >>>>> _______________________________________________ > >> >>>>> Dev mailing list > >> >>>>> [email protected] > >> >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev > >> >>>>> > >> >>>> > >> >>>> > >> >>>> > >> >>>> -- > >> >>>> V. Mohanadarshan > >> >>>> Software Engineer, > >> >>>> Data Technologies Team, > >> >>>> WSO2, Inc. http://wso2.com > >> >>>> lean.enterprise.middleware. > >> >>>> > >> >>>> email: [email protected] > >> >>>> phone:(+94) 771117673 > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> -- > >> >>> Tharindu Munasinghe > >> >>> Software Engineering Intern > >> >>> WSO2 Inc.(http://wso2.com) > >> >>> SRI LANKA > >> >>> > >> >>> Mobile: +94 77460887 > >> >>> E-Mail: [email protected] > >> >> > >> >> > >> >> > >> >> > >> >> -- > >> >> Tharindu Munasinghe > >> >> Software Engineering Intern > >> >> WSO2 Inc.(http://wso2.com) > >> >> SRI LANKA > >> >> > >> >> Mobile: +94 77460887 > >> >> E-Mail: [email protected] > >> > > >> > > >> > > >> > > >> > -- > >> > Tharindu Munasinghe. > >> > Undergraduate ,Department of Computer Science and Engineering > >> > University of Moratuwa. > >> > Contact no. +94770460887 > >> > >> > >> > >> -- > >> Tharindu Munasinghe. > >> Undergraduate ,Department of Computer Science and Engineering > >> University of Moratuwa. > >> Contact no. +94770460887 > > > > > > > > > > -- > > ============================ > > Blog: http://srinathsview.blogspot.com twitter:@srinath_perera > > Site: http://people.apache.org/~hemapani/ > > Photos: http://www.flickr.com/photos/hemapani/ > > Phone: 0772360902 > > > > -- > Tharindu Munasinghe. > Undergraduate ,Department of Computer Science and Engineering > University of Moratuwa. > Contact no. +94770460887 > -- *Th**a**rindu Munasin**ghe.* *Undergraduate ,Department of Computer **S**cience and Engineering* *University of Moratuwa.* *Contact no. +94770460887*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
