How to parameterize in created language?

How to set parameters in own language?

If I use in #%module-begin (parameter-name new-value), then it retains new-value even in modules, that requires my language module.

If I try to set parameterize around the module body, then require: not at module level or top level raised.

I can wrap every expression of my language with parameterize, but it is cumbersome and may reduce performance.

Is there correct way to change a parameter in created language?

2 Likes

One possibility is to wrap splicing-parameterize over the whole body.