From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com ([209.85.128.54]) by ewsd; Tue Oct 27 06:41:43 -0400 2020 Received: by mail-wm1-f54.google.com with SMTP id c194so873872wme.2 for <9front@9front.org>; Tue, 27 Oct 2020 03:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:to:subject:date:in-reply-to:mime-version :content-transfer-encoding; bh=h68iPmhkP6XvStDKEnHO/ATZQIjTeG0WR+SK9epFN00=; b=qaqp274sU5TzdvJPqUEToDyzSLa9k9qrJtkhOwgUPqD3/3nYQFgE3OnIWSy0qX0gWd sobu5XQ8hsFfMZ2ZNPmdrh226FwRJhOLTBvOZd16DWtwJU9aLG8BZE2PdjfxQegtRx7u yFvYJ5xytfRzH9wAq5i08V2FSdYBFGP0tvQghr9Ejs+hbXap5w2o/oVLodTF3UhY0/xz thPxpHlbG7ERepgZavjm2B93dJD2oYSEeTA1yQ0WnZ1+H6DfrCtnovPiqJhu1AcfmmyF LljDNqtjVV5/OnSaZtbDmYW+2AbOXIK3a4Mi0sXUbtw5ECLaK5q27Qm9IfgeBV6Eb4ib W9aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:to:subject:date:in-reply-to :mime-version:content-transfer-encoding; bh=h68iPmhkP6XvStDKEnHO/ATZQIjTeG0WR+SK9epFN00=; b=h9632eN1PCrbaFoeIryeTaTIVYEvkueQmVCtpXiP74PauiDli5PDFB/BnLSywuA89/ ptRW3/qgh5QOIfhOHOY0pUENn1MAPYTwM8ys5u5eT2FCAJ3fsWUSeY7ayVLkOQKia2tb TVbX/lR5Mt3SHv72imm/U9Fcjvmro1aLGXIYCDCFfURq22aHyueO4WM8PiEVW2LIAqQE Q/KH9z1h76c6N441vs7OrPMsyIJtyiLBxeZGlCey+9KtTJkhJrpokcS7V/LjOzK5YLz1 XLfm3iE6Nd1CZ7jbDqiDY99xNOqml7picf87AXFzecBy/QCjBTECao5sPt8Roo3iWkxI fp0A== X-Gm-Message-State: AOAM531XNY0LesCR7zsrQQ4F0KWX3tGcoDCgGIZovd5frNCf7cZz3pio BMRfAoFjDDLSK4qRm3xhlTtHxfkFnGk= X-Google-Smtp-Source: ABdhPJymHsT/Nt8i6c3edohCVNZHeMYknSCgfNK4w3NzSzDY4ybKZrLfSQHgFwMaI195TcolKQN8Fg== X-Received: by 2002:a7b:c15a:: with SMTP id z26mr1957728wmi.62.1603795299981; Tue, 27 Oct 2020 03:41:39 -0700 (PDT) Return-Path: Received: from hades (lfbn-idf1-1-772-7.w86-245.abo.wanadoo.fr. [86.245.216.7]) by smtp.gmail.com with ESMTPSA id j5sm1424804wrx.88.2020.10.27.03.41.39 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Oct 2020 03:41:39 -0700 (PDT) From: telephil9@gmail.com X-Google-Original-From: pme@gmail.com Message-ID: <1EB1CC8CE0933B539E5C6F5317FCD7EE@gmail.com> To: iru.muzgo@gmail.com, 9front@9front.org Subject: Re: [9front] lua9: lua interpreter with plan9 bindings Date: Tue, 27 Oct 2020 11:41:38 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: private metadata proxy package > On Tue, Oct 27, 2020 at 9:20 AM wrote: >> >> Hi, >> >> Building on the lua port by staalmannen (http://github.com/staalmannen/lua), I wrote a custom version of the lua interpreter including bindings to some plan9 libraries. >> I feel that lua is a simple (and good enough) scripting language which makes writing GUI code more convenient than in C. >> For the time being, this includes bindings for libdraw but I plan to extend this to other plan9 libraries in the future (libplumb for instance). >> > > Nice work! > I imagine you wrote a custom interpreter because Plan 9 does not have > a well established dynamic library mechanism. Do you plan on embedding > everything into the interpreter? Thanks. Yes, the lack of dynamic library loading gives no other choice than embedding everything in the interpreter. This is the reason why I wrote this instead of lua modules as you would find on other platforms.