package ppx_demo
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=eaff90e151e326e7b6dbe163bfa976005944612e1ca146344733a7ed034ec988
Description
PPX that exposes the source code string of an expression/module structure.
Added to opam-repository:
README
ppx_demo
This is a preprocessor that expands an arbitrary expression into a tuple containing the source code for the expression along with the expression itself. Look at the tests of for some examples.
You might want this ppx if you have a program which acts as documentation. For example, the Bonsai devs have a collection of examples that demonstrate how to use various UI components. Viewing those examples in a browser shows the result of the code, but not the code itself, which means that if someone wants to see how much code a particular example takes, they need to navigate in their text editor to the example's source file. This ppx makes it possible to easily include source for an example directly within the example itself.
Dependencies (6)
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building ppx_demo with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| v0.17.0 (this version) | n/a | n/a | good | good | good |
| v0.16.0 | n/a | good | good | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure