From 28951afa7632a5c983c6b961d4f1ca797c3d5d8a Mon Sep 17 00:00:00 2001 From: Steffen Smolka Date: Tue, 5 Mar 2019 16:48:42 -0500 Subject: [PATCH] prepare release (v2.0) (#72) * add description in opam file * link to API documentation from README (addresses ocaml-community/sedlex#67) * update version number to 2.0 --- CHANGES | 10 +++++++++- README.md | 3 +++ sedlex.opam | 9 ++++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index b7ae07d1..5a9b155c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,11 @@ +2.0 + * GPR#70: Switch to dune, opam v2 + * GPR#60: Breaking change: switch from int codepoints to Uchar.t + codepoints + * GPR#59: Track lexing position + +------------------------------------------------------------------------------- + 1.99.4 * GPR#47: Switch to ocaml-migrate-parsetree (contributed by Adrien Guatto) * GPR#42: Added 'Rep' (repeat operator) (contributed by jpathy) @@ -16,7 +24,7 @@ * First version of sedlex. The history below refers to ulex, the ancestor or sedlex implemented with Camlp4. --------------------------------------------------------------------------- +------------------------------------------------------------------------------- 1.1 * Generate (more) globally unique identifiers to avoid conflicts when open'ing another module diff --git a/README.md b/README.md index 5394b6c0..78f0e1fb 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,9 @@ sedlex was originally written by Alain Frisch and is now maintained as part of the ocaml-community repositories on github. +## API +The API is documented [here](https://ocaml-community.github.io/sedlex). + ## Overview sedlex is a lexer generator for OCaml, similar to ocamllex, but diff --git a/sedlex.opam b/sedlex.opam index 7738e446..fc5d9075 100644 --- a/sedlex.opam +++ b/sedlex.opam @@ -1,8 +1,15 @@ opam-version: "2.0" name: "sedlex" synopsis: "An OCaml lexer generator for Unicode" -version: "1.99.5" +description: " +sedlex is a lexer generator for OCaml. It is similar to ocamllex, but supports +Unicode. Unlike ocamllex, sedlex allows lexer specifications within regular +OCaml source files. Lexing specific constructs are provided via a ppx syntax +extension. +" +version: "2.0" license: "MIT" +doc: "https://ocaml-community.github.io/sedlex/index.html" maintainer: "Alain Frisch " authors: [ "Alain Frisch "