Skip to content

Releases: ocaml-community/sedlex

Sedlex 3.3

29 Oct 13:55
Compare
Choose a tag to compare

3.3 (2024-10-29)

  • Add support for unicode 16.0.0 (#157)
  • Add API for retrieving start and stop positions separately (#155)

Sedlex 3.2

29 Jun 19:42
Compare
Choose a tag to compare

3.2 (2023-06-28):

  • 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)

3.1

02 Mar 15:40
Compare
Choose a tag to compare
3.1

3.1:

  • 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 of Invalid_arg (@hhugo, PR #126, fixes: #91)
  • Updated unicode support to 15.0.0

3.0

19 May 17:48
Compare
Choose a tag to compare
3.0

3.0:
* Dropped Stream api which was removed in 4.14.0 ahead of the 5.0
release.

2.6

29 Mar 11:03
Compare
Choose a tag to compare
2.6

2.6:
* Adapted to ppxlib 0.26, thanks to @pitag-ha

Sedlex 2.5

03 Dec 22:05
Compare
Choose a tag to compare

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.

Sedlex 2.4

03 Aug 05:52
Compare
Choose a tag to compare
  • Update dune support to 2.8, add auto-generated opam files.
  • Optimize generated code, thanks to @bobzhang
  • Update unicode version to 13.0.0

Sedlex 2.3

16 Jan 19:24
Compare
Choose a tag to compare
  • Switch to ppxlib

Sedlex v2.2

05 Jun 18:05
Compare
Choose a tag to compare
  • Support for OCaml 4.08

Sedlex v2.1

09 Jul 03:05
Compare
Choose a tag to compare
  • GPR#78: Auto-generate unicode data