The "no-code" or "low-code" movement is interesting. This article, The Quest for Low-Code: 9 paths, some of which actually work, is worth reading. One statement made is the following:
Domain Languages have one major advantage: they don’t need to solve all problems but only those within a specific domain. By choosing a narrow domain, you can reduce the amount of flexibility you need and therefore the amount of code you have to write.
The article also points out that "Many of the effective domain languages are declarative." XBRL is declarative.
This product, VisiRule, is an example of no-code, low-code. It was created by Logic Programming Associates (LPA). This YouTube video, How to Make a VisiRule Chart, demostrates how code is generated. Here are some other resources worth checking out.
#################################