Home Download Buy Blog Forum Support

Grammar analysis

Grammar analysis

Postby viweei on Sat Jan 07, 2012 8:34 am

I come from China, my English is not good. :mrgreen: I try out sublime text 2 bate build 2150 version. But how to use the grammar analysis interface it? Because I need throughout the document analysis grammar, syntax tree construction. The grammar generation not a static snippet files, also not be tmlanguage files. I need the process of writing to dynamic analysis and hints. Because in sublime_plugin.EventListener class I can't detect user input. So I don't know the change of view buffer text. I tried to on_query_completions call back method, but it needs input Tab key when it was called. Not as input character was called. If so when I pressed Tab key, I can know some object methods and properties.
I think can provide use Python or C++ interface, let me can use a thread to construct the current
syntax tree or is there any better way?
:|
viweei
 
Posts: 1
Joined: Sat Jan 07, 2012 8:20 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], subhaze, Yahoo [Bot] and 13 guests