- Restore compatibility with OCaml 4.08
- Use
Sedlexing.{Utf8,Utf16}.from_gen
to initialize UTF8 (resp. UTF16) lexing buffers from string. - Delay raising Malformed until actually reading the malformed part of the imput. (#140)
- Count lines in all cases (#130). Previously, certain functions for initiating the lexical buffer would disable lines counting.
- Check and fix invariants from Cset. The codebase was not respecting invariants documented in the Cset module which could break code relying on it. The code generated by sedlex.ppx could be affected.
- Do not rely on comments from unicode UCD files
- Add API to track position in bytes. Should be opt-in and backward compatible. (#146)
- Fix directly nested sedlex matches (@smuenzel, PR #117, fixes: #12)
- Use explicit stdlib in generated code (@hhugo, PR #122, fixes: #115)
- Preserve location of lexbuf (@hhugo, PR #118, fixes: #19)
- Don't use gen to consume channels (@hhugo, PR #124, fixes: #45)
- New expect_test testsuite (@hhugo, PR #124)
- Properly recognize malformed truncated input (@hhugo, PR #124)
- Raise
Malformed
instead ofInvalid_arg
(@hhugo, PR #126, fixes: #91) - Updated unicode support to
15.0.0
- Dropped
Stream
api which was removed in4.14.0
ahead of the5.0
release.
2.6:
- Adapted to ppxlib
0.26
, thanks to @pitag-ha
2.5:
- Fix exponential compilation time, thanks to @mnxn for reporting in #97 and @fangyi-zhou for fixing in #106
- Update unicode support for
14.0.0
.
- Update
dune
support to2.8
, add auto-generatedopam
files. - Optimize generated code, thanks to @bobzhang
- Update unicode version to 13.0.0
- Switch to ppxlib
- Support for OCaml 4.08
- GPR#78: Auto-generate unicode data
- GPR#70: Switch to dune, opam v2
- GPR#60: Breaking change: switch from int codepoints to Uchar.t codepoints
- GPR#59: Track lexing position
- GPR#47: Switch to ocaml-migrate-parsetree (contributed by Adrien Guatto)
- GPR#42: Added 'Rep' (repeat operator) (contributed by jpathy)
- Update to work with 4.03 (4.02 still supported)
- First official release of sedlex
- Support for new Ast_mapper registration API, follow OCaml trunk after the inclusion of the extension_point branch
- First version of sedlex. The history below refers to ulex, the ancestor or sedlex implemented with Camlp4.
- Generate (more) globally unique identifiers to avoid conflicts when open'ing another module processed by ulex (issue reported by Gerd Stolpmann)
- Update to the new Camlp4 and to ocamlbuild (release for OCaml 3.10 only), by Nicolas Pouillard.
- Really make it work with OCaml 3.09.
- Support for Utf-16.
- Bug fixes
- Update to OCaml 3.09 (currently CVS). Still works with OCaml 3.08.
- MIT-like license (used to LGPL)
- Document how to use a custom implementation for lex buffers
- Update to OCaml 3.08
- Bug fix (accept 1114111 as valid Unicode code point)
- Add the rollback function-
- Bug fix
- Add a new predefined class for ISO identifiers
- Changed the names of predefined regexp
- Fix max_code = 0x10ffff
- Lexers that changes encoding on the fly
- Documentation of the interface Ulexing
- Initial release