syntax colorer vs custom disambiguator
I’ve been using the custom disambiguator for some of my languages, and sometimes the keyword coloring fails.
This leads me to believe that the colorer is called before the disambiguator and it choses some branches that I’m eliminating afterwards.
Basic example is something like this:
input: module A end module B end
amb: amb([ModuleList([Module(A)]), ModuleList([Module(A), Module(B)])])
the keywords “end” and “module” from the middle are normal, letting me to believe that the colorer chose the first choice.
Let me know if you need a simple example that demonstrates this effect.Submitted by Radu Mereuta on 4 October 2011 at 23:18
On 8 January 2013 at 14:51 Eelco Visser tagged coloring
Log in to post comments