← All repos

sedlex

An OCaml lexer generator for Unicode

Browse cluster: OCaml Systems and Utilities
301commits
31contributors
5languages

Tech stack & purpose

sedlex is a Unicode-friendly lexer generator for OCaml, built with OCaml and the PPX (parse tree rewriting) technology. Unlike the standard ocamllex tool, sedlex embeds lexer specifications directly in OCaml source files and operates on streams of Unicode codepoints rather than bytes, supporting arbitrary input encodings. The project was originally written by Alain Frisch at LexiFi and is now maintained as part of the ocaml-community repositories; it is licensed under the MIT license and succeeds the earlier ulex project by replacing Camlp4 syntax extensions with OCaml's PPX infrastructure.

Languages

OCaml
98.9%
Shell
0.4%
Emacs Lisp
0.4%
Dune
0.2%
Makefile
0.1%

Contributors (top 30 of 31)