# \#camlp5

**URL:** https://discuss.ocaml.org/tag/camlp5/329.md

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

---

## [Purpose of associativity in camlp5 levels](https://discuss.ocaml.org/t/purpose-of-associativity-in-camlp5-levels/16571)

<div class="topic-metadata">

**Author:** [@SkySkimmer](https://discuss.ocaml.org/u/SkySkimmer)\
**Replies:** 3\
**Last updated:** [April 30, 2025, 8:53am UTC](https://discuss.ocaml.org/t/purpose-of-associativity-in-camlp5-levels/16571 "2025-04-30T08:53:20Z")

</div>

extensible grammars tells what the associativity of a level does: NonA = LeftA SELF on the right of a rule in a LeftA level means NEXT SELF on the right of a rule in a RightA level means the current level (ie really se…

---

## [【Q】Tutorial for extended syntax?](https://discuss.ocaml.org/t/q-tutorial-for-extended-syntax/11724)

<div class="topic-metadata">

**Author:** [@anzhi0708](https://discuss.ocaml.org/u/anzhi0708)\
**Replies:** 3\
**Last updated:** [March 20, 2023, 12:41pm UTC](https://discuss.ocaml.org/t/q-tutorial-for-extended-syntax/11724 "2023-03-20T12:41:57Z")

</div>

Hello there! As an OCaml / FP noob, I recently discovered an OCaml web framework - you probably familiar with - Dream, and when I look into the example code, I found that they use a quite different syntax from native OC…

---

## [Advice on how to componentize and later combine source code?](https://discuss.ocaml.org/t/advice-on-how-to-componentize-and-later-combine-source-code/9366)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 10\
**Last updated:** [February 22, 2022, 6:55pm UTC](https://discuss.ocaml.org/t/advice-on-how-to-componentize-and-later-combine-source-code/9366 "2022-02-22T18:55:01Z")

</div>

I’m writing this note to ask for suggestions from readers. First, some setup: we all know that LR grammars are … famously fickle when it comes to adding rules post-hoc: you really do need to understand the entire gramma…

---

## [Where a library without expanded ppx\_inline\_tests is located in \`\_build\`? (Need help with camlp5)](https://discuss.ocaml.org/t/where-a-library-without-expanded-ppx-inline-tests-is-located-in-build-need-help-with-camlp5/9037)

<div class="topic-metadata">

**Author:** [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Replies:** 12\
**Last updated:** [December 21, 2021, 12:42pm UTC](https://discuss.ocaml.org/t/where-a-library-without-expanded-ppx-inline-tests-is-located-in-build-need-help-with-camlp5/9037 "2021-12-21T12:42:44Z")

</div>

I’m writing a library with ppx\_inline\_test and I want to link this library to my ppx and camlp5 rewriters. For historical reasons I was compiling PPX and camlp5 rewriters using custom dune (rule ...) stanza. When I added…

---

## [Using merlin with camlp5](https://discuss.ocaml.org/t/using-merlin-with-camlp5/7082)

<div class="topic-metadata">

**Author:** [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Replies:** 5\
**Last updated:** [January 13, 2021, 1:45pm UTC](https://discuss.ocaml.org/t/using-merlin-with-camlp5/7082 "2021-01-13T13:45:26Z")

</div>

I created a simple dune project where I have a library preprocessed with camlp5 (more precisely, as a standalone executable built using camlp5 and which outputs serialized OCaml AST) and another library preprocessed with…

---

## [\[ANN\] Camlp5 (8.00~alpha01) and pa\_ppx (0.01)](https://discuss.ocaml.org/t/ann-camlp5-8-00-alpha01-and-pa-ppx-0-01/6144)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 0\
**Last updated:** [July 26, 2020, 7:00pm UTC](https://discuss.ocaml.org/t/ann-camlp5-8-00-alpha01-and-pa-ppx-0-01/6144 "2020-07-26T19:00:06Z")

</div>

Camlp5 (8.00~alpha01) and pa\_ppx (0.01) I’m pleased to announce the release of two related projects: Camlp5: version 8.00~alpha01 is an alpha release of Camlp5, with full support for OCaml syntax up to version 4.1…

---

## [Multiple parallel releases (2) of a package with opam](https://discuss.ocaml.org/t/multiple-parallel-releases-2-of-a-package-with-opam/5975)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 6\
**Last updated:** [June 15, 2020, 6:02pm UTC](https://discuss.ocaml.org/t/multiple-parallel-releases-2-of-a-package-with-opam/5975 "2020-06-15T18:02:03Z")

</div>

I’m in the process of preparing a major upgrade of camlp5, as well as a significant package (of PPX rewriters) based on camlp5. I’d like to release these, but want to preserve the current camlp5 release-train, so that i…

---

## [\[ANN\] Camlp5 version 7.12 release (4.11 compatibility)](https://discuss.ocaml.org/t/ann-camlp5-version-7-12-release-4-11-compatibility/5872)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 0\
**Last updated:** [May 29, 2020, 9:30pm UTC](https://discuss.ocaml.org/t/ann-camlp5-version-7-12-release-4-11-compatibility/5872 "2020-05-29T21:30:17Z")

</div>

Dear OCaml and Camlp5 users, New release 7.12 of Camlp5. Compatible with all OCaml versions \>= 4.00.0, latest OCaml version 4.11+alpha1 included. This is a compatibility release. The only significant change is that we…

---

## [Dune and camlp4/camlp5 (actually, "dune and the -pp flag to ocamlc"](https://discuss.ocaml.org/t/dune-and-camlp4-camlp5-actually-dune-and-the-pp-flag-to-ocamlc/5595)

<div class="topic-metadata">

**Author:** [@Chet\_Murthy](https://discuss.ocaml.org/u/Chet_Murthy)\
**Replies:** 7\
**Last updated:** [April 23, 2020, 8:35pm UTC](https://discuss.ocaml.org/t/dune-and-camlp4-camlp5-actually-dune-and-the-pp-flag-to-ocamlc/5595 "2020-04-23T20:35:59Z")

</div>

\[up front: I’m not -complaining; rather, I’m just -verifying- that this is the current state of affairs.\] Hi, I’ve been digging around, and I can’t find any indication of support for camlp4/camlp5 in dune. To wit, I do…

---

## [Defending PPXes](https://discuss.ocaml.org/t/defending-ppxes/4402)

<div class="topic-metadata">

**Author:** [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Replies:** 7\
**Last updated:** [September 23, 2019, 8:30am UTC](https://discuss.ocaml.org/t/defending-ppxes/4402 "2019-09-23T08:30:23Z")

</div>

Our current eDSL is using API expressible as high-order functions and looks very-very as OCaml code. It’s easy to add macros on top of it using PPX syntax extension. There are some complaints about it, for example: we…
