# \#sedlex

**URL:** https://discuss.ocaml.org/tag/sedlex/311.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] Sedlex 3.8.1](https://discuss.ocaml.org/t/ann-sedlex-3-8-1/18595)

<div class="topic-metadata">

**Author:** [@hhugo](https://discuss.ocaml.org/u/hhugo)\
**Replies:** 0\
**Last updated:** [October 6, 2026, 4:18pm UTC](https://discuss.ocaml.org/t/ann-sedlex-3-8-1/18595 "2026-10-06T16:18:54Z")

</div>

Sedlex 3.8.1 is out! :tada: Sedlex is a unicode-friendly lexer generator for OCaml originally written by Alain Frisch at LexiFi and now maintained under the ocaml-community umbrella. The headline feature is named cap…

---

## [\[ANN\] Sedlex 3.2](https://discuss.ocaml.org/t/ann-sedlex-3-2/12513)

<div class="topic-metadata">

**Author:** [@toots](https://discuss.ocaml.org/u/toots)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 4:00pm UTC](https://discuss.ocaml.org/t/ann-sedlex-3-2/12513 "2023-06-30T16:00:11Z")

</div>

Sedlex 3.2 is out! :tada: Sedlex is a unicode-friendly lexer generator for OCaml originally written by Alain Frisch at LexiFi and now maintained under the ocaml-community umbrella. You can read the notes for this relea…

---

## [How to use sedlex with dune?](https://discuss.ocaml.org/t/how-to-use-sedlex-with-dune/10692)

<div class="topic-metadata">

**Author:** [@nobrowser](https://discuss.ocaml.org/u/nobrowser)\
**Replies:** 2\
**Last updated:** [October 25, 2022, 1:23am UTC](https://discuss.ocaml.org/t/how-to-use-sedlex-with-dune/10692 "2022-10-25T01:23:38Z")

</div>

I’m trying to use sedlex as a preprocessor in my project. My dune file is: (library (name cincoson) (libraries sedlex) (preprocess (pps sedlex))) When I run dune build , I get: Entering directory '/Users/itz/src/Oc…

---

## [Sedlex (why not ocamllex?)](https://discuss.ocaml.org/t/sedlex-why-not-ocamllex/7528)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 12:27pm UTC](https://discuss.ocaml.org/t/sedlex-why-not-ocamllex/7528 "2021-03-26T12:27:39Z")

</div>

I’ve been using sedlex to write a YAML parser, and it’s worked very well. Pretty much, “does what it says on the can”. But in the process, I’ve started to wonder why sedlex is different from ocamllex. A long time ago,…

---

## [Sharing Menhir boilerplate between parsers with different token sets in different dune libraries](https://discuss.ocaml.org/t/sharing-menhir-boilerplate-between-parsers-with-different-token-sets-in-different-dune-libraries/3926)

<div class="topic-metadata">

**Author:** [@MattWindsor91](https://discuss.ocaml.org/u/MattWindsor91)\
**Replies:** 1\
**Last updated:** [June 17, 2019, 4:53pm UTC](https://discuss.ocaml.org/t/sharing-menhir-boilerplate-between-parsers-with-different-token-sets-in-different-dune-libraries/3926 "2019-06-17T16:53:49Z")

</div>

Hi, I’m using Menhir to parse DIY/Herdtools style litmus tests. These tend to describe multi-threaded programs in some concrete language (C, assembly, etc) and consist of some representation of those programs alongside…
