Hello,<br>I find an OPEN SOURCE tool  (http://bouml.free.fr/) that Recently generates Python code from UML model.<br><br>I like to <span style="text-decoration: underline;">model the Python language metamode</span>l himself, with it, e.g  the model of the language: I need that to better understand the language constraint of  the language.<br><br>for example, i like to model that :<br>-a  class "class" may inherit from 0..* class<br>-a class "class" is create from a class that is its "metaclass"<br>-a class  "class" has 0..n attributes and 0..n method<br>-a class "module" has 0..n class "class"<br><br><div id="result_box" dir="ltr">Does anyone know a document that describes it already, because I think it is complicated to find this information in the documentation of Python.<br>For example, can i say that:<br><br>-a class  "class" has 0..n properties ?<br><div id="result_box" dir="ltr">It seems that the Python metamodel is not perfect, because I do not
 find attribute which give me the property list with a code like:<br>"myPropertyList = myclass.properties"<br><br>- a class "method" can contains nested "method", but what is the way to get a list of internal methods, without use ? Can i just write:<br>"myNestedMethodList = method.nestedMethodList"<br><br><br><div id="result_box" dir="ltr">I think a metamodel Python would be welcome to complement the BNF (<a set="yes" linkindex="141" href="http://docs.python.org/ref/grammar.txt" target="_blank">http://docs.python.org/ref/grammar.txt</a>), so as to know fully understand the relationships between the various elements of language.</div><br>Thank you<br><br></div><br><br></div><br><br><p>



      <hr size="1"> 
Ne gardez plus qu'une seule adresse mail ! <a href="http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail