From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3176 Path: news.gmane.org!not-for-mail From: Zvi Gilboa Newsgroups: gmane.linux.lib.musl.general Subject: Re: Best place to discuss other lightweight libraries? Date: Wed, 24 Apr 2013 08:12:47 -0400 Message-ID: <5177CC3F.8030406@eservices.virginia.edu> References: <5175D52D.3050107@gentoo.org> <1366683267.18069.155@driftwood> <20130423213346.GC12689@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1366805586 25893 80.91.229.3 (24 Apr 2013 12:13:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 12:13:06 +0000 (UTC) To: Original-X-From: musl-return-3180-gllmg-musl=m.gmane.org@lists.openwall.com Wed Apr 24 14:13:11 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UUyZO-0000Aj-Eg for gllmg-musl@plane.gmane.org; Wed, 24 Apr 2013 14:13:06 +0200 Original-Received: (qmail 23729 invoked by uid 550); 24 Apr 2013 12:13:05 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 23721 invoked from network); 24 Apr 2013 12:13:05 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: <20130423213346.GC12689@port70.net> X-Originating-IP: [71.206.170.124] Xref: news.gmane.org gmane.linux.lib.musl.general:3176 Archived-At: On 04/23/2013 05:33 PM, Szabolcs Nagy wrote: > * Daniel Cegiełka [2013-04-23 21:24:57 +0200]: >> 2013/4/23 Strake : >>> So on that note, I deem Haskell would be a categorical category killer (^_^) >> Haskell and musl - has anyone tried this combination? :) GHC is a >> pretty big package. One aspect of language binding that often goes under the radar concerns the method to create public API header files. For my own projects, I use a simple PostgreSql database that stores the definitions of constants, structures, functions, and also the public API header-tree, and then a few shell/psql scripts to generate the entire set of public API headers. As a matter of convenience, I normally enter the information into plain text files, which are then processed from the command line and populate the tables of the above database. In my experience, that kind of framework not only makes it easy to add binding for new languages, but also simplifies book-keeping tasks such as the splitting or joining of libraries, API consistency checks, etc.