<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Is there a more concise way of creating a map full of static data? The best I have obtained is this:<div class=""><br class=""></div><div class=""><font face="Courier New" class="">default_typemap = Out :-<br class=""> map.from_assoc_list([<br class=""> ("i" - "int"),<br class=""> ("psz" - "char*"),<br class=""> ("v" - "void"),<br class=""> ("pv" - "void*"),<br class=""> ("c" - "char"),<br class=""> ("sc" - "signed char"),<br class=""> ("uc" - "unsigned char"),<br class=""> ("pc" - "char*"),<br class=""> ("ppc" - "char**"),<br class=""> ("cpc" - "const char*"),<br class=""> ("cppc" - "const char**")<br class=""> ],<br class=""> Types),<br class=""> map.from_assoc_list([<br class=""> ("argc" - "int"),<br class=""> ("argv" - "ppc")<br class=""> ],<br class=""> Vars),</font></div><div class=""><font face="Courier New" class="">:</font></div><div class=""><font face="Courier New" class="">: .. more code..</font></div><div class=""><font face="Courier New" class="">:</font></div><div class=""><br class=""></div><div class="">Each backend coder that is a for typed language will be providing an initial lookup of both variables and types so it can infer necessary typing at code render time.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Sean</div><div class=""><br class=""></div></body></html>