Euphoria
Ticket #507:
Make euphoria/syncolor.e depend on euphoria/tokenizer.e
-
Reported by
jimcbrown
Dec 06, 2010
Right now, we have 3 parsers in the front end. The internal euphoria scanner/parser/tokenizer is too specific and speed optimized to make for a merge of it and tokenize.e
However, we can and should make syncolor.e use tokenize.e to parse the files before colorizing them. Alternatively, add optional support to tokenize.e to do colorizing and get rid of syncolor.e
Details
1. Comment by jeremy
Dec 06, 2010
This will take some major? changes to tokenize. In order to provide just syntax coloring, we will have to being to track all whitespace in tokenize.e. It would become another option, keep_space(). Then presumably return T_SPACE with the token data as whatever spacing exists between tokens, such as " \t"
2. Comment by jimcbrown
Dec 08, 2010
This is fixed in the coverage branch. We just need to move it over once 4.0.0 final is done, and we can call this fixed.
3. Comment by mattlewis
Mar 01, 2013
I'm marking this as fixed. Whether it's done in 4.0, it's done in 4.1, so...good enough.