Posted 20 years ago
by Justin Stenning
-
Manager, Research & Development,
netcat.biz Pty Ltd

Hi,
I am currently reviewing the parser within an existing server application (non-visual).
I was wondering whether the lexical parsing of a document (into a TokenStream) is possible without instantiating a SyntaxEditor control. I had a quick look through the docs and couldn't find any classes that looked appropriate (other than the Document class, which I couldn't see how to assign a language to).
We would be trying to implement the tokenization as quickly as possible, and therefore trying to exclude the functions related to UI.
If this isn't possible, do you have any suggestions/tips for where to go from here?
Cheers,
Justin
I am currently reviewing the parser within an existing server application (non-visual).
I was wondering whether the lexical parsing of a document (into a TokenStream) is possible without instantiating a SyntaxEditor control. I had a quick look through the docs and couldn't find any classes that looked appropriate (other than the Document class, which I couldn't see how to assign a language to).
We would be trying to implement the tokenization as quickly as possible, and therefore trying to exclude the functions related to UI.
If this isn't possible, do you have any suggestions/tips for where to go from here?
Cheers,
Justin