From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3960 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: Re: Squirrel - no-bloat scripting language with sane syntax and semantics Date: Sun, 25 Aug 2013 16:03:33 +0100 Message-ID: References: <20130824001118.5be5b3d7@x34f> <1377423273.2737.120@driftwood> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1377443032 17302 80.91.229.3 (25 Aug 2013 15:03:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Aug 2013 15:03:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3964-gllmg-musl=m.gmane.org@lists.openwall.com Sun Aug 25 17:03:56 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 1VDbrA-0007PD-AP for gllmg-musl@plane.gmane.org; Sun, 25 Aug 2013 17:03:56 +0200 Original-Received: (qmail 26532 invoked by uid 550); 25 Aug 2013 15:03:55 -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 26492 invoked from network); 25 Aug 2013 15:03:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JafHdzUBr9Po4tsyW5MAlO1eM/lHczVPaeBzQ8enGpI=; b=Rgg0vrb8h4vMGGL6NjsdTdgErBm+mN0NPl3gic+f1lmVc8A5JsBW5xCRLTMhnnt3FC SH8hButGRYH2XivGV45SeUXTHZt3MYISbEvKTocVwZ9mnD61oebgCJqKpOb+4p0/R6ok WTYEWcBMStPBW3m55hoNDG23kAnnRIfn10VbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=JafHdzUBr9Po4tsyW5MAlO1eM/lHczVPaeBzQ8enGpI=; b=YubZtz9BgrwnbHFPysf/W1Bb5vxYAUVusZEZXnwi2IT7K3bDQQwJOy4NTPOwYS2FjT hNep1PZCP/Gv/CpoVZXOJIL2kckqCSezAU8CjldUbVa/599KqZGCoR2kiH6DRP/SmEFm +wekV9v7gRm4yLPevKYOV3JkViniqyqF821UVA+E0tm5BYY9z+P2QvQsIMHANOqsuHEO P3mbVOr7o9fEOnvImZtgMlAxz5ax+ODVhH/U1LT003VYJhAY5RZq7M70e8VudSHUOi6S mEx+q5yzpX2to3hLctm6VkQCwcfeOfR+01re1wjTNN1Bzsrfx3jVHEM4isL7k3MYjFIL +xWQ== X-Gm-Message-State: ALoCoQk1bq4Nbl6VHJ9kUyaGY4BVCaSzUn2xMavQJe833nlFmKSAne0PIVhHr9EsbMU+dNL9X59t X-Received: by 10.68.191.231 with SMTP id hb7mr10320897pbc.82.1377443013750; Sun, 25 Aug 2013 08:03:33 -0700 (PDT) In-Reply-To: <1377423273.2737.120@driftwood> Xref: news.gmane.org gmane.linux.lib.musl.general:3960 Archived-At: On Sun, Aug 25, 2013 at 10:34 AM, Rob Landley wrote: > Normally people use lua for this, which has around 100k of interpreter. > > The downside of lua is it doesn't have a full standard posix C binding > library. (It has a nonstandard one you can add on, but when I looked at > writing a busybox clone in it, I needed to install something like 7 packages > to get all the libraries I needed. Then again, most people aren't > implementing their own "ifconfig", "mount", and "taskset"...) I have implemented ifconfig, mount etc in Lua (the APIs, not the commands), see https://github.com/justincormack/ljsyscall - its pretty comprehensive now. Justin