(CL Net SNMP) New plan on SNMP package
Brought to you by:
binghe
From: Chun T. (binghe) <bin...@gm...> - 2008-07-12 14:47:44
|
Hi, cl-net-snmp-general Finally I have a plan to get alive without ZEBU. I create a standalone ASN.1 "compiler" sub-project [1], this package will be two part: a runtime support and a "compiler". Using this package, I can translate ASN.1 MIB files into Common Lisp source code which presents ASN.1 definitions in CLOS. Then I'll move all BER encode/decode facility into this ASN.1 package, to leave SNMP package [2] only have core SNMP function. This ASN.1 package will lead my working on IPMI and LDAP much easier. The ASN.1 package did not use ZEBU to parse ASN.1 syntax. Instead, I just use Common Lisp readtable to be a ASN.1 lexer (see it's reader.lisp), and LispWorks' ParserGen package to be a LALR parser. Since I didn't use a portable LALR parser, the compiler part will only for LispWorks, but the result (ASN.1->Lisp) code can be compiled on any Common Lisp implementation. So, in my next SNMP package release, all platform can use MIB for ASN.1 OID name resolve and other new features. Regards, Chun Tian (binghe) [1] https://cl-net-snmp.svn.sourceforge.net/svnroot/cl-net-snmp/asn.1/trunk [2] https://cl-net-snmp.svn.sourceforge.net/svnroot/cl-net-snmp/snmp/trunk |