From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: For text processing, which is more powerful, emacs or perl? Date: Sun, 20 Dec 2020 14:17:21 +0800 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="25966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs , Stefan Monnier To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 20 07:18:12 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kqs2m-0006fY-KD for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Dec 2020 07:18:12 +0100 Original-Received: from localhost ([::1]:58344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqs2l-0003in-Jo for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Dec 2020 01:18:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqs2B-0003hU-Tj for help-gnu-emacs@gnu.org; Sun, 20 Dec 2020 01:17:35 -0500 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:43955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqs2A-0003wJ-A2 for help-gnu-emacs@gnu.org; Sun, 20 Dec 2020 01:17:35 -0500 Original-Received: by mail-lf1-x12b.google.com with SMTP id 23so15934194lfg.10 for ; Sat, 19 Dec 2020 22:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VfryA0zreAETkIjbmPx5xcophZTiT+odgurOuYdJzms=; b=r7lNBc7qrUjydWBSnhMGtkhdF5My+UOVb2jJFwpCky10/8hKoI9C/afD/FYUUDg80u n3YIMrv7RkXV7tvF/Zw3BDGnHIQuyNicjOWUxsKh1SVvn+PCsPMu4xB/42gLVJtoSIJN L5szLWhtJuEcyGl4LSba006PYLEp7b+WDANhnsiL38Z9DBmpcNBGjvc2pmagz5tppBDw U9DOJ8+XzUJKn28kH/PG7JrXQlMtwST3uP+deAoqpUTX2ZKcRVozFbXbYP8GxJXUhtN8 vysSD8MbS9Zq/MI3ODsnK7Yu8LHBfLAA2VQ+uuKlxDOAU5fj/0V3RnxBWUcrDO+0fRLD YxqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VfryA0zreAETkIjbmPx5xcophZTiT+odgurOuYdJzms=; b=MXsXRM8Eb939TZLEgdVItdKaKGn2HfGzbJh5PGu3SIXMxR6dTWtMKJd3jHIlL1Mdbv e9QrMa99yk+mqaTUE47vR9+4mw2+EqpfKJk5JCdfX0Sr8ec3O7nHF2JfTnphiVyegl4d TbFXuO3BJRhyYxg1xn/4ZbrYa1zHlchwGijG9/ltu2HcPSw/EpG8mNVXsBf/cBaSgl6i 7Wr/Msx2689DuHnSo4KWS6JLT6PIBa+JW2puVC2lmfPBqsjdrj5OOExUSJTcSNCEC6cR 9xVeCp8zX3YtpqamzSh8rdsCwz2W59C+zOz23NukJ6kl9H2JBejBhiY9iz43xGLmofw+ 9dgg== X-Gm-Message-State: AOAM531i83VTj7pzPprAe683uBDi3l2knnUArCn65asYDjNGVb+SUkTV XB3CDgwCkFEWGSFSSI7iDXannjxBAjMn5KhFkWqFPZ5YqocIYUPJ X-Google-Smtp-Source: ABdhPJyxPTSDQxUurwvZNZZlBqBuhaW9teyC9ttfGAp6LmGEkkSrCVu800eeAO21ItcephGlWD5brMfapPmhGNg7PyE= X-Received: by 2002:a19:804c:: with SMTP id b73mr4620979lfd.231.1608445052708; Sat, 19 Dec 2020 22:17:32 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=1.999 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126622 Archived-At: On Sun, Dec 20, 2020 at 1:27 PM Jean Louis wrote: > > * Stefan Monnier [2020-12-19 19:02]: > > > It's well known that perl's regexp is very powerful for its capability > > > of text processing. So, which is more powerful, emacs or perl, in this > > > scenario? > > > > Probably Snobol or Icon. > > Thank you. Very interesting resource: > https://www2.cs.arizona.edu/icon/ > At the first glimpse, I just think you're kidding me considering that I've never heard languages names like them. After some digging with google, I find the GitHub repos of them: https://github.com/gtownsend/icon https://github.com/hardbol/spitbol/ But it seems that both of them are languages with very small user groups. -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic Vocational and Technical University NO. 552 North Gangtie Road, Xingtai, China