Cmd line interpreter
Friday, April 13, 2012 at 12:20 To ease testing, and make the overall interface easier to play with, I am building an interactive command interpreter in Python 3.2. The user will be able to type in a simple command (or load a file) using a vocabulary like: <metamodel class> [<op> [<prop>]],... <scope> with some helpful scoping commands so that you don't have to keep re-entering the same domain name. An example session might look like this:
* scope domain 'Banking'
* id add attr 'Branch name' class
(the second of which will invoke the UI_add_attr_to_id(...) db function)
And, of course, a simple help system.
Should have it working by the end of the weekend if all goes well.
Leon Starr |
1 Comment | 

