Hi Mahendra, Your approach is correct. It'll be useful if you try to understand Siddhi grammar[1] and Siddhi QL[2] and try to implement the syntax highlighting accordingly.
[1] https://github.com/wso2/siddhi/blob/master/modules/siddhi-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compiler/SiddhiQL.g4 [2] https://docs.wso2.com/display/CEP420/SiddhiQL+Guide+3.1 Best regards, On Mon, Feb 27, 2017 at 12:16 PM, Nirmal Fernando <[email protected]> wrote: > [Looping the mentors] > > On Mon, Feb 27, 2017 at 11:51 AM, Mahendra Thennakoon < > [email protected]> wrote: > >> Hi Ramindu, Suho, >> >> I created an Atom package 'language-javascript-alt'[1] that can highlight >> a select set of Javascript syntax. >> >> [image: Inline image 1] >> >> [image: Inline image 2] >> >> I used the TextMate documentation for Language Grammars[2] and MDN >> reference on Javascript lexical grammar[3] for my reference. Any feedback >> is greatly appreciated. >> >> Thank you. >> >> [1]: https://github.com/MahendraTennakoon/language-javascript-alt >> [2]: http://manual.macromates.com/en/language_grammars.html >> [3]: https://developer.mozilla.org/en-US/docs/Web/JavaScript >> /Reference/Lexical_grammar >> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > Thanks & regards, > Nirmal > > Technical Lead - Analytics Team, WSO2 Inc. > Mobile: +94715779733 <+94%2071%20577%209733> > Blog: http://nirmalfdo.blogspot.com/ > > > -- *Ramindu De Silva* Software Engineer WSO2 Inc.: http://wso2.com lean.enterprise.middleware email: [email protected] <[email protected]> mob: +94 772339350 mob: +94 719678895
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
