kixi-io / Ki.KD-JVM

This is a Kotlin implementation of the KD language. It is feature complete and passes all tests.
https://github.com/kixi-io/Ki.Docs/wiki/Ki-Data-(KD)
MIT License
3 stars 1 forks source link

Make the lexer more friendly towards syntax highlighting #1

Closed alessiostalla closed 4 years ago

alessiostalla commented 4 years ago

Split big tokens (blobs, multi-line strings) into smaller ones using lexer modes.

dleuck commented 4 years ago

The syntax highlighting seems to be working well. I'd like to get naked strings to be colored as strings rather than IDs, but per our conversation, it seems like a bit of work to do syntax highlighting with context that isn't coming from the lexer. It may have to wait for later.