From owner-freebsd-questions@FreeBSD.ORG Thu Jan 31 15:12:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85C1016A419 for ; Thu, 31 Jan 2008 15:12:36 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 315F413C448 for ; Thu, 31 Jan 2008 15:12:35 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1070306waf.3 for ; Thu, 31 Jan 2008 07:12:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wmpxMQpSwct2J1jgELAmnGk/zn/bI4wSmDWtgw6LEZM=; b=Y/i8ldJfjBgcyYFjIdIuffKEJYb28gqjm8swFF94dqvI7e/KHxBnwlf1Eru7zdnsZ/RLXaAnpgQkD4wrUtBashm8b/6f4ziUcI0NGa2AQJRoNOM5yxCef1iQqH++QvjwS8IoXgBa+ELSKtVWFLOrGtgb8sFomlRyEJW/Ov4AiQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=giIqVNMmmR02S1n8PkP22C7/VLlgKS1CgHbNS81qRxaN7oc8VcpTIEPMBZ5e4kLjPPkzfnnO0RefF4jate9WaAmGuC++Pbmh+jzLsnpP1YujRryuTKKrYWvymWk/KKrkLe9CXqaXSRZAEn8PXKZxuKQkAQsprg2jmEkKifkyjp4= Received: by 10.114.89.1 with SMTP id m1mr2512622wab.77.1201792355474; Thu, 31 Jan 2008 07:12:35 -0800 (PST) Received: by 10.115.48.15 with HTTP; Thu, 31 Jan 2008 07:12:35 -0800 (PST) Message-ID: <80f4f2b20801310712q2ac3a2f6gd1436f1c84adb3cb@mail.gmail.com> Date: Thu, 31 Jan 2008 10:12:35 -0500 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <200801311512.50511.wundram@beenic.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20801310548g33ee5f48ne90c2e86cc33346d@mail.gmail.com> <200801311512.50511.wundram@beenic.net> Subject: Re: C interpreters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 15:12:36 -0000 Thanks, and that'll make shared (.so) libraries just fine? Well, that was certainly a relief. That very much describes the C interface I made already. I'm working on a alternate ports listing system, and I wanted to use something that I didn't mind programming in /and/ I knew should be available on any FreeBSD system without requireing more port installs, so I went with C or C++. I want it to be easy to write back-end database modules, in case people don't want to use the two that I write (SQLite2 and a my own flat-file system). There are only three functions that need wrapped: open, query, close. Open returns that void* pointer, query and close take it as the first argument. Any ideas on the C interpreter? It's been a while since I've done a lot of C/C++. Thanks, -Jim Stapleton