Open ahelsing opened 9 years ago
It wouldn't actually even require the top level code to know all the methods if you had a method registration function - omni.py could just import everything in directory foo/ and they would register themselves with the core of the thing, and it just dispatches on the registered names.
Trac comment by nick.bastin on 01-24-2014 at 15:42
Each method parses the arguments independently. Code might be much simpler if we parsed the arguments once in omni.py and then passed a struct with the values filled in around. So all the string parsing happens at the top.
This would require the top level code knowing all the methods though.
Imported from trac ticket #473, created by ahelsing on 01-24-2014 at 15:40, last modified: 10-17-2014 at 14:24