Hi, I am evaluating SyntaxEditor for a new IDE I need to make for our embedded controller products, and it is definitely the front runner. Our SPLat language is much closer to an assembler than a structured language. I am writing the IDE in VB2010 Express.
I am a bit hesitant about using XML files for my language definition because:-
- I can see no easy way of generating the XML for hundreds of instructions
- I am not at all familiar with XML, so it represents a rather daunting challenge
- I want my language definition tables to include all kinds of "private" stuff like instruction signatures and other special tags.
- I am planning a scheme where there is a base language plus product-specific extension to support special purpose and varying hardware configurations. That means I need to merge two or more instruction sets at the time the running IDE is connected to a particular hardware setup.
All in all, it seems to me I would be better off with my own proprietary file format, or possibly even CSV, then generate the language variant at run time and then feed it to the SyntaxEditor lexer.
In the Actipro documentation here seem to be references to the abillity to programmatically send dynamic language defintions to the parser. For example in SyntaxEditor Dynamic Languages Guide:Overview it says"
"The language can be defined either by using a dynamic language XML definition file or by constructing the language programmatically."
If I am mis-interpreting the docco, and it's is not possible to bypass XML, I have some questions:
- Will SyntaxEditor choke if it sees tags in the Dynamic Language XML Definition it does not recognize? (i.e. can I embedd my own custom stuff in there?)
- Can it be sent several XML files with cumulative effect?
Plan C would be to read in my own proprietary files, mash them up, generate a temporary XML file to the Dynamic Language XML Definition Specification and then read it into SyntaxEditor. Is that what I'll have to do?
Note: I am aware of the option to write my own lexer. That is not what I want to do.
[Modified 8 years ago]