AmigaGuide syntax definition
Posted: Thu Jan 24, 2002 11:33 am
I would like to write a syntax definition file for AmigaGuide documents. Though I am having some problems and I'd like to know whether it is possible at all.
The problem is that most of the keywords are keywords only when encapsulated in @{ and } (similar to HTML) - these are working fine. Though there are some keywords that may appear outside these containers and have some global meaning (set document attributes, delimit pages, etc., ie. @node, @endnode, @database - once again they all start with @). These won't work at the same time with the above - even when trying to make them preprocessor commands.
There are also comments, starting with @remark, but these are not problematic. Any ideas how to proceed? Is it possible at all?
I can prepare a small example of the file if it would be of any help.
The problem is that most of the keywords are keywords only when encapsulated in @{ and } (similar to HTML) - these are working fine. Though there are some keywords that may appear outside these containers and have some global meaning (set document attributes, delimit pages, etc., ie. @node, @endnode, @database - once again they all start with @). These won't work at the same time with the above - even when trying to make them preprocessor commands.
There are also comments, starting with @remark, but these are not problematic. Any ideas how to proceed? Is it possible at all?
I can prepare a small example of the file if it would be of any help.