You might be better off writing a library or an extension for an existing programming language. I know that in Python, among other languages, you can fill the global namespace with functions and objects, then interpret an arbitrary file within that namespace. This allows you to encapsulate the program logic in Python or C, and load snippet files that access program hooks. The snippets can merely be a series of function calls that can be written by someone with minimal programming experience, since Python has a minimalistic syntax. At the same time, it also allows you to iterate over a list if you have a lot of repetition. The persistent state allows you to modularize the setup, e.g. set up accounts in one snippet file and allocations in another, so you can use "inert" accounts for testing purposes while you make sure your allocations work properly.
I've used this as a cheap way to incorporate a configuration parser and run-time extension framework into an existing C++ application, but you can certainly do it entirely in Python. And, as others will invariably point out, Python is just one of many options.
Kevin Barry
|