From owner-freebsd-libh Wed Apr 17 6:56:23 2002 Delivered-To: freebsd-libh@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 91A3A37B400 for ; Wed, 17 Apr 2002 06:56:21 -0700 (PDT) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/36) with ESMTP id g3HDuK705037; Wed, 17 Apr 2002 06:56:21 -0700 (PDT) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id g3HDuKb13107; Wed, 17 Apr 2002 06:56:20 -0700 (PDT) To: The Anarcat Subject: Re: cleanup of HSystem 2nd try (stage 4) References: <20020416235859.GA312@lenny.anarcat.dyndns.org> <20020417015227.GA563@lenny.anarcat.dyndns.org> Cc: freebsd-libh@FreeBSD.ORG From: Max Okumoto Date: 17 Apr 2002 06:56:20 -0700 In-Reply-To: The Anarcat's message of "Tue, 16 Apr 2002 21:52:27 -0400" Message-ID: Lines: 40 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Anarcat writes: [stuff deleted] > I don't know if anyone ever considered replacing the current tcl > interface stuff with swig, but it's an interesting idea. I never > really paid attention to swig before. I think, however, that reducing > the number of dependencies of libh would help it getting into the base > system. There's already a big issue about libh using tcl as a > scripting language because tcl itself is not part of base, and > everyone seems to hate tcl. :) I don't have many problems with tcl. Quoting can become a pain but otherwise its just another programming language. Swig (http://www.swig.org/) is a software development tool that connects programs written in C, C++, and Objective-C with a variety of high-level programming languages. (Java, Perl, Tcl/Tk, etc) After I have clean HSystem up. I might consider replacing it with swig. But first I have to understand it first. :-) > Did you mention you have a non-perl parser that replace > find_classes_descriptions.pl? That would sure be interesting. Again, > the more we reduce dependencies, the more libh will get > acceptance. But perl isn't really considered as excessive dependency > since it's in the base system. [stuff deleted] Yea, the parser would be in HSystem. So we could get ride of a few steps in the build process. Basically build_systems_*.cc and tcl_interface_gen_* would go away. *.cd.cc -> build_systems_*.cc -> tcl_interface_gen_* -> LibTclInterface_*.cc would become *.cd.cc -> LibTclInterface_*.cc Max Okumoto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message