I have found that using patterns with lookahead/lookbehind works reasonably
well in most cases (for this syntax at least). It feels like overkill
though and is harder to maintain because I may need to change patterns in
two or more places instead of one.
Den tis 23 aug. 2022 20:45M skrev:
>
>
вт, 23 авг. 2022 г. в 20:02, Charles Campbell :
> BPJ wrote:
> > For my DSL I have a syntax region for text between a pair of
> > delimiters inside which other syntax items should come in a specific
> > order, say first dslFoo, then dslBar, then dslBaz.
> > I can use nextgroup=dslBar to declare
BPJ wrote:
For my DSL I have a syntax region for text between a pair of
delimiters inside which other syntax items should come in a specific
order, say first dslFoo, then dslBar, then dslBaz.
I can use nextgroup=dslBar to declare which item should come after
dslFoo and so on, but how do I
For my DSL I have a syntax region for text between a pair of delimiters
inside which other syntax items should come in a specific order, say first
dslFoo, then dslBar, then dslBaz.
I can use nextgroup=dslBar to declare which item should come after dslFoo
and so on, but how do I declare that the