[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[Dltk-dev] Re: DLTK Editor Interaction
|
Hi Folks,
I guess such a use-case would be interested to DLTK, however I'd also
like to point Raman to Xtext project. Also Webtools' Structured Text
Editor + GMF-based editor could be a great solution for XML-based
languages.
Raman, could you please elaborate on your language nature, and which
technologies you're using to build graphical editor for the project?
Thank you very much, and
Kind Regards,
Andrey
On Apr 20, 2009, at 2:46 PM, Raman Grover wrote:
Hi
I am Raman Grover, a graduate student at the University of California,
Irvine. I have a small question in relation to Eclipse DLTK. Please
help
me in answering this.
Consider a case where one needs to have a graphical editor and a text
editor for a language. The text editor is implemented using DLTK. The
graphical editor must generate source code which is editable from
the text
editor and vice versa.
Since DLTK monitors the text editor, it calls the parse method
(implemented by the editor developer) to check for syntax errors. The
graphical editor needs to communicate with the text editor and feed it
with the generated source code. The text editor gets notified
whenever the
source code changes as the parse( ) method is called. However, the
source
code can also change when graphical editor changes the source code and
hence DLTK must be informed so that it can update its internal data
structures holding information about the source file contents.
Please suggest !
Thank You !
Raman Grover
I love Eclipse !
ModuleDecleration parse(char[] filename[], char [] source, IReporter
reporter) so
that DLTK framework gets to call the parse method, whenever the source
code in the
editor changes.
I need to build a graphical editor which generates source code and
feeds
into the
DLTK framework instead of user typing the source code by hand.