From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emlua: a way to run a Lua interpreter inside Emacs as a module Date: Thu, 31 Mar 2022 00:26:34 -0400 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: nerditation@outlook.com, emacs-devel@gnu.org To: Eduardo Ochs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 31 06:29: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 1nZmRF-0003B0-Qp for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Mar 2022 06:29:37 +0200 Original-Received: from localhost ([::1]:52554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZmRE-0005ZT-SE for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Mar 2022 00:29:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZmOI-0000XR-Ko for emacs-devel@gnu.org; Thu, 31 Mar 2022 00:26:34 -0400 Original-Received: from [2001:470:142:3::e] (port=50490 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZmOI-0008Js-C4; Thu, 31 Mar 2022 00:26:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=HJTVqly+lz1jlz5Ku2pePOhaS7MGC1cY53Fuf7Eurxs=; b=YboqyuN1zG/t J3fppvC3oufp2kSUoXa8WfU/uw8A3R058bQUDYsFrQhfZiCLdKB9GvARQ3YuLq+IIbsosLBe8fki4 iHLC0NwjZTntncK58jDN13KX4Ouu8IYyHa8QgAxnmjwfE72otSDNh6SoHCOt1/v09MZlQh/rQkM0v Bw/4HnDROeuD6T6NcgFtTS33O/B+TMg5Oiel4cckwYTBTXo6BLNmk7ThWwVWYIIipVUN3xqFBOfPb hUP/Hq3axX6bgDQHbtJaWHzyOUHmEyzGSPTt60hDPFdQ0BeHfvPfV6JXoivQj17a2GHaRpHbXeoT/ jAC+aW2IDIEVQy19NPhShg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nZmOI-0002hE-43; Thu, 31 Mar 2022 00:26:34 -0400 In-Reply-To: (message from Eduardo Ochs on Tue, 29 Mar 2022 00:45:16 -0300) 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:287624 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > 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. For the sake of the maintainance and development burden of Emacs, it is crucial to do it that way, running Lua as a separate process. The dynamic module would be system-dependent, and even if volunteers do the work of developing it for a wide range of systems, it will still put a burden on us, a burden that volunteers would have difficulty taking off our shoulders. Yes, it is tricky to communicate reliably with a subprocess. But there are other Lisp packages that do this. All it will take to get that to work is for one clever wizard to figure out the right way, and implement it once. Would someone like to work on this? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)