I am using term_expansion to create a small Domain Specific Language (DSL) – essentially writing something like this:
I then use a failure driven loop to process all keywords, as so:
All this is written in a mail file.
I am now wondering if i can include, somehow, keywords included in modules as well.
Right now, it seems i would need to redo all term_expansion declarations in the module, and the failure loop in the main file wouldn’t see the generated dsl/1 terms inside of the module.
Is there a way to handle this.