[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    Re: [Dev] GSOC 2017 - Atom Plugin for Siddhi
From:       Mahendra Thennakoon <mahendrathennakoon () gmail ! com>
Date:       2017-02-27 8:43:05
Message-ID: CA+Kwh3C3Ht-FnOwhPERBn6XVo_ZpxkcCK69cGZemOGhL9Jmd2w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi Ramindu,

Thank you for the references. I will go through them and come up with a way
to create a similar syntax highlighter for Siddhi QL.

Best regards.

On Mon, Feb 27, 2017 at 1:51 PM, Ramindu De Silva <ramindus@wso2.com> wrote:

> 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 <nirmal@wso2.com> wrote:
>
>> [Looping the mentors]
>>
>> On Mon, Feb 27, 2017 at 11:51 AM, Mahendra Thennakoon <
>> mahendrathennakoon@gmail.com> 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
>>> Dev@wso2.org
>>> 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: ramindus@wso2.com <sanjiva@wso2.com>
> mob: +94 772339350
> mob: +94 719678895
>

[Attachment #7 (text/html)]

<div dir="ltr">Hi Ramindu,<div><br></div><div>Thank you for the references. I will go \
through them and come up with a way to create a similar syntax highlighter for Siddhi \
QL.</div><div><br></div><div>Best regards.</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 1:51 PM, \
Ramindu De Silva <span dir="ltr">&lt;<a href="mailto:ramindus@wso2.com" \
target="_blank">ramindus@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi Mahendra,<div><br></div><div>Your approach \
is correct. It&#39;ll be useful if you try to understand Siddhi grammar[1] and Siddhi \
QL[2] and try to implement the syntax highlighting \
accordingly.</div><div><br></div><div>[1]  <a \
href="https://github.com/wso2/siddhi/blob/master/modules/siddhi-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compiler/SiddhiQL.g4" \
target="_blank">https://github.com/wso2/<wbr>siddhi/blob/master/modules/<wbr>siddhi-qu \
ery-compiler/src/<wbr>main/antlr4/org/wso2/siddhi/<wbr>query/compiler/SiddhiQL.g4</a></div><div>[2] \
<a href="https://docs.wso2.com/display/CEP420/SiddhiQL+Guide+3.1" \
target="_blank">https://docs.wso2.com/<wbr>display/CEP420/SiddhiQL+Guide+<wbr>3.1</a></div><div><br></div><div>Best \
regards,</div></div><div class="gmail_extra"><div><div class="h5"><br><div \
class="gmail_quote">On Mon, Feb 27, 2017 at 12:16 PM, Nirmal Fernando <span \
dir="ltr">&lt;<a href="mailto:nirmal@wso2.com" \
target="_blank">nirmal@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">[Looping the mentors]</div><div \
class="gmail_extra"><br><div class="gmail_quote"><div><div \
class="m_-3292239813626684130h5">On Mon, Feb 27, 2017 at 11:51 AM, Mahendra \
Thennakoon <span dir="ltr">&lt;<a href="mailto:mahendrathennakoon@gmail.com" \
target="_blank">mahendrathennakoon@gmail.com</a>&gt;</span> \
wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div \
class="m_-3292239813626684130h5"><div dir="ltr"><div \
style="color:rgb(80,0,80);font-size:12.8px"><span \
style="color:rgb(34,34,34);font-size:12.8px">Hi Ramindu, \
Suho,</span><br></div><div><div \
style="color:rgb(34,34,34);font-size:12.8px"><br></div><div \
style="color:rgb(34,34,34);font-size:12.8px">I created an Atom package \
&#39;language-javascript-alt&#39;[1] that can highlight a select set of Javascript \
syntax.</div><div style="color:rgb(34,34,34);font-size:12.8px"><br></div><div \
style="color:rgb(34,34,34);font-size:12.8px"><img src="cid:ii_15a7e1f18d6ab7c7" \
alt="Inline image 1" width="454" height="195"><br></div><div \
style="color:rgb(34,34,34);font-size:12.8px"><br></div><div \
style="color:rgb(34,34,34);font-size:12.8px"><img src="cid:ii_15a7e368f33e562e" \
alt="Inline image 2" width="454" height="247"><br></div><div \
style="color:rgb(34,34,34);font-size:12.8px"><br></div><div><span \
style="font-size:12.8px">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.</span><br></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank \
you.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span \
style="font-size:12.8px">[1]:  <a \
href="https://github.com/MahendraTennakoon/language-javascript-alt" \
target="_blank">https://github.com/Mahend<wbr>raTennakoon/language-javascrip<wbr>t-alt</a> \
</span></div><div><span style="font-size:12.8px">[2]:  <a \
href="http://manual.macromates.com/en/language_grammars.html" \
target="_blank">http://manual.macromates.<wbr>com/en/language_grammars.html</a></span></div><div><span \
style="font-size:12.8px">[3]:  <a \
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar" \
target="_blank">https://developer.mozilla<wbr>.org/en-US/docs/Web/JavaScript<wbr>/Reference/Lexical_grammar</a></span></div><div \
style="color:rgb(34,34,34);font-size:12.8px"><br></div><div \
style="color:rgb(34,34,34);font-size:12.8px"><br></div></div></div> \
<br></div></div><span>______________________________<wbr>_________________<br> Dev \
mailing list<br> <a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailma<wbr>n/listinfo/dev</a><br> \
<br></span></blockquote></div><span class="m_-3292239813626684130HOEnZb"><font \
color="#888888"><br><br clear="all"><div><br></div>-- <br><div \
class="m_-3292239813626684130m_7259557457987956263gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Thanks &amp; \
regards,<br>Nirmal<br><br>Technical Lead - Analytics Team, WSO2 Inc.<br>Mobile: <a \
href="tel:+94%2071%20577%209733" value="+94715779733" \
target="_blank">+94715779733</a><br>Blog: <a href="http://nirmalfdo.blogspot.com/" \
target="_blank">http://nirmalfdo.blogspot.com/</a><br><br><img \
src="http://c.content.wso2.com/signatures/general.png" width="420" \
height="115"><br></div></div></div></div></div></div></div></div></div></div> \
</font></span></div> </blockquote></div><br><br \
clear="all"><div><br></div></div></div><span class="">-- <br><div \
class="m_-3292239813626684130gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div \
style="color:rgb(136,136,136);font-size:12.8000001907349px"><div><b \
style="font-size:12.8px">Ramindu De Silva</b><br></div><div><font \
color="#888888"><font color="#888888">Software Engineer<br></font>WSO2 \
Inc</font><font color="#888888"><font color="#888888">.:  <a href="http://wso2.com/" \
style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a></font></font><br><font color="#888888"><font \
color="#888888"><font \
color="#888888">lean.enterprise.middleware<br><br></font></font>email:  <a \
href="mailto:ramindus@wso2.com" style="color:rgb(17,85,204)" \
target="_blank">ramindus@wso2.com</a><a href="mailto:sanjiva@wso2.com" \
style="color:rgb(17,85,204)" target="_blank"></a><br></font></div><font \
color="#888888">mob:  <a href="tel:%2B94%20772339350" value="+94772339350" \
style="color:rgb(17,85,204)" target="_blank">+94 772339350</a><a value="+16502658311" \
style="color:rgb(34,34,34)"><br></a></font></div><span \
style="color:rgb(136,136,136);font-size:12.8000001907349px"><font \
color="#888888">mob:  <a href="tel:%2B94%20719678895" value="+94782731766" \
style="color:rgb(17,85,204)" target="_blank">+94 \
719678895</a></font></span><br></div></div></div></div></div></div></div></div> \
</span></div> </blockquote></div><br></div>

--001a114aad2c8bc1ce05497ee63b--


["bubblesort.PNG" (image/png)]
["selectionsort.PNG" (image/png)]

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic