catala/compiler/plugins
Louis Gesbert 467a338b6c Install Catala plugins
Fixes #378

- the plugins are compiled as libraries rather than with `executable`, so that
  dune is able to install them
- they get installed to `lib/catala/plugins/<plugin-name>/<plugin-name>.cmxs`
- the lookup for plugins is now recursive to cope with the plugin subdirectories
  in the point above
2023-01-17 14:38:09 +01:00
..
api_web.ml Define Catala_utils.String as an overlay to stdlib string 2022-11-28 16:38:09 +01:00
dune Install Catala plugins 2023-01-17 14:38:09 +01:00
json_schema.ml Define Catala_utils.String as an overlay to stdlib string 2022-11-28 16:38:09 +01:00
plugins.mld feat(build): add the generation of json schemas to the build workflow 2022-07-29 18:47:42 +02:00
python.ml Rename utils to catala_utils 2022-11-28 16:38:09 +01:00
README.md Documentation about plugins 2022-08-09 15:00:13 +02:00

Catala compiler plugins

You want to add a customized backend for the Catala compiler but don't want to modify its source code? Thanks to dynamic linking, it is possible to do so. The advantage of creating a customized backend is the possibility to craft a generated target code that perfectly matches the naming conventions, module structure or coding style of your application.

See the online documentation for more details on how to create them, or look at the existing plugins in this directory for inspiration.