mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-09 22:16:10 +03:00
467a338b6c
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 |
||
---|---|---|
.. | ||
api_web.ml | ||
dune | ||
json_schema.ml | ||
plugins.mld | ||
python.ml | ||
README.md |
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.