Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » how to support directives in source parser
icon5.gif  how to support directives in source parser [message #492607] Tue, 20 October 2009 22:41
Eclipse UserFriend

I am using DLTK to build an IDE for An internal language, The language support "directive" like

#if(DEBUG)
......
#else
......
#endif

the value of "DEBUG" is setting in project setting, so I must access the project setting before parse the source file.
But DLTK only provide this method in source parser
"ModuleDeclaration parse(char[] fileName, char[] source, IProblemReporter reporter);"


Any solution for this kind of situation?
Previous Topic:dltk javascript tutorial
Next Topic:Editing Remote files
Goto Forum:
  


Current Time: Sun Jul 13 00:43:21 EDT 2025

Powered by FUDForum. Page generated in 1.09749 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top