markusressel / KodeHighlighter

Simple, extendable code highlighting for Spannables on Android.
MIT License
18 stars 3 forks source link

OCaml highlighter #18

Closed nathanfallet closed 2 years ago

nathanfallet commented 3 years ago

See https://github.com/ccampbell/rainbow/issues/254

nathanfallet commented 3 years ago

@markusressel Can this lexer using regex help to implement an OCaml highlighter? https://github.com/GroupeMINASTE/OCaml-iOS/blob/main/OCaml/Models/OCamlLexer.swift

GitHub
GroupeMINASTE/OCaml-iOS
An OCaml editor, top level, and learning place for iOS, iPadOS and macOS - GroupeMINASTE/OCaml-iOS
markusressel commented 3 years ago

Yes it should be, KodeHighlighter also uses regex for lexing.

nathanfallet commented 2 years ago

@markusressel Just opened #20 to fix the issue!