Skip to content

Q: Possible to derive from this a Scala based lexer? #204

Closed
@Sciss

Description

@Sciss

Hi there. Since I'm not very familiar with VS Code, or the regex mechanisms of JS / TS, I wanted to query your opinion if the definitions provided in this project are potentially useful to somehow 'convert' to be usable in a pure Scala project, in order for that project to create a syntax highlight token stream from Scala 2 or Scala 3 sources.

Any entry points in such 'conversion'? I guess I have to somehow construct java.util.regex.Matcher objects from the different branches, and traverse the tree of matchers in some manner? Or use joni or tm4e.core perhaps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions