Debian Codegraph @

doc/book/src/scripting/adding_new_builtin.md

raw
1 # Adding a new builtin script module
2
3 After you have written your script module you must register it so it can be
4 imported.
5
6 All script modules live at `src/script/modules/<module_name>.meson`. After
7 adding the module, you must modify `src/script/meson.build` to register it. muon
8 will embed the module source text in the built executable, and when the module
9 is import()ed that source will be interpreted.