From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.devel Subject: Re: Emlua: a way to run a Lua interpreter inside Emacs as a module Date: Tue, 29 Mar 2022 00:45:16 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13240"; mail-complaints-to="usenet@ciao.gmane.io" Cc: nerditation , Emacs developers To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 29 05:46:38 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZ2oW-0003Dr-Su for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Mar 2022 05:46:36 +0200 Original-Received: from localhost ([::1]:38338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZ2oV-0001W6-9r for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Mar 2022 23:46:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZ2nW-0000aT-Sp for emacs-devel@gnu.org; Mon, 28 Mar 2022 23:45:37 -0400 Original-Received: from [2a00:1450:4864:20::134] (port=43934 helo=mail-lf1-x134.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZ2nU-0007UW-RP; Mon, 28 Mar 2022 23:45:34 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id z12so14297149lfu.10; Mon, 28 Mar 2022 20:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wHqGNEQk8+A7aH15IWZ9hADuB2Aj2wpd8OIYldGOHug=; b=ZyI3eoPLk9B+Rr9e8G2b4tXm/kksL/ICHk2kYR3UuYC4V9M/yuzHJWDCC9opbiF/w/ AC5Cp4BmWldJCz5u0wGqjE55oAQuv55VJoZv6Y1Cz9sDE4swZvVXYOJfaCyqWxwWQ07A CCtpKxtE+zGk5Vkq69IwxvDRPo/rkfEzQSUA4mEqAwHS/HywEK6z+9ZW/smq4lZvvKvP 8OujLnFaab8ouGUL7+UGlKZHBfQdtuzZgOQ9p8Ed+AUhzZue2kGuc3dZRluWBp19aAo+ +T02H4sE4z+gFTzJWb1x13KKPVNjxiNuc4tT+5ZMDD3MhsOPpvNQq+vAEnNBw9Rrt4aa iTMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wHqGNEQk8+A7aH15IWZ9hADuB2Aj2wpd8OIYldGOHug=; b=4+/RVkcaDZU1KFx9qGZXtTYcn7Q2fsmhXW+L3+YJlGPzW7WeXC0j6azkbvF0q8OejD TllU5AkdC6+1wfbGZZocDVW9vWbCD2OF8gNikH11tlrD8FVtKrDMQG6BYlFt0DbwnfaV zZM1mFieAVNbFnxQrkJfgLNArMpnA13qdkib92noeecNvkOtK8bDzFKS653/kl/jrRcW tkf5SR5CU22zPN8Jq83VHqigEmh37IGlE/yJnEg5ElgO/67IguiFw7er+lECuD081H0V WjaXKXGElIJSJSHS142imKsKcgHOTRC4AfrsWsVWXL3szz1hJiB9nFfcsnOQc7mJ72xg 1Y3g== X-Gm-Message-State: AOAM531TrroHCgcqu4fbY1IMvLVVEIQYvMjxfByMs7nGOI/wUum6ISCG Z/NXQJM6tP5qPvyGggblYLfPpTmakjYeFiBVK4+3MuCWsbI= X-Google-Smtp-Source: ABdhPJyVn0a+JaNHBGiC/F9QDizLXuRBSw0bKJu9Y1ex0DaydY7KhZug3paTnEBK6nUFYPe/IRLg3Mx7SUAzuW6WNBs= X-Received: by 2002:a05:6512:32c8:b0:44a:27fd:cd06 with SMTP id f8-20020a05651232c800b0044a27fdcd06mr721106lfg.239.1648525527538; Mon, 28 Mar 2022 20:45:27 -0700 (PDT) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::134 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=eduardoochs@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287546 Archived-At: On Tue, 29 Mar 2022 at 00:27, Richard Stallman wrote: > > Emlua: a way to run a Lua interpreter inside Emacs as a module > > https://github.com/edrx/emlua > > Is it already possible to run lua itself in a subprocess? Yes, that's very easy, and that's what I did for many years. > I have a feeling that linking all the world's language interpreters > into Emacs itself is asking for (1) lots more work and (2) trouble. I linked Lua because it is my favorite language and in most cases I write Lua code much faster that I write Lisp... and I _did_ try to write hooks to process the output of an inferior Lua process to write code that would process some kinds of outputs as sexps, but failed. Emlua is a personal project that is helping me to bypass some of my limitations with writing hooks and filters in elisp. I hope that it won't make people blame me for the next 1000 languages that will be linked to Emacs using modules... =/ Cheers, Eduardo Ochs http://angg.twu.net/#eev