From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: swedebugia Newsgroups: gmane.lisp.guile.user Subject: Re: Re parse-result Date: Thu, 17 Jan 2019 10:56:51 +0100 Message-ID: <87bm4fhajg.fsf@riseup.net> References: <5E629D82-0023-489F-9A0A-63ACF1A520B1@pretty.Easy.privacy> <257748e7-bc56-573d-c691-c1655947be2a@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547718927 27571 195.159.176.226 (17 Jan 2019 09:55:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2019 09:55:27 +0000 (UTC) Cc: Guile User To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 17 10:55:22 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gk4OP-000712-Tj for guile-user@m.gmane.org; Thu, 17 Jan 2019 10:55:22 +0100 Original-Received: from localhost ([127.0.0.1]:41042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk4QW-0003iU-Nw for guile-user@m.gmane.org; Thu, 17 Jan 2019 04:57:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk4Pz-0003iB-8s for guile-user@gnu.org; Thu, 17 Jan 2019 04:57:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gk4Py-0004yB-Jw for guile-user@gnu.org; Thu, 17 Jan 2019 04:56:59 -0500 Original-Received: from mx1.riseup.net ([198.252.153.129]:47404) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gk4Py-0004wu-48 for guile-user@gnu.org; Thu, 17 Jan 2019 04:56:58 -0500 Original-Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id E1CD71A09D5; Thu, 17 Jan 2019 01:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1547719017; bh=imGJlQePAxYIxe6hynpCHGmg9HDCdCNp5v85FVC1VKY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KXq3hzEAyYS+RnQhycadt35QzOyHt4MXd+hJSNlKqNMAAgzuSKvpsI710n0n7hPGq N02uCB64Rssa7IuIMtZiCSggVV+m30jzceCRj9XI+GGA73UBYTYOVEKy79IlBbxBU8 pvwyNeMUg7r1pN0TJOiqej83bukHu9ffW5CHcPRk= X-Riseup-User-ID: 0E0CCF5B0C5DC63FC1ED64CDA2A5421B152AD3821ACD7E0F692AC8F46FACABEF Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 85DD21C2D92; Thu, 17 Jan 2019 01:56:55 -0800 (PST) In-Reply-To: <257748e7-bc56-573d-c691-c1655947be2a@gmail.com> (Zelphir Kaltstahl's message of "Thu, 17 Jan 2019 08:43:01 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15229 Archived-At: Hi Swedebugia, I did not notice a PEG parser has been added. How did you notice this? Maybe there is another blog for new additions to Guile? Do you know a good text, which explains differences between the different approaches to parsing? For example, what is the difference between PEG parsing and parser combinators? There seems to be a whole jungle of approaches to parsing out there, including parser generators, which I believe take a grammar of certain kind and produce a parser from that. I am never sure what languages I can parse using what approach. Thanks anyways! I heard about the PEG addition from Ricardo who mentioned it in guix-devel. It also is one of very few features who got a nice tutorial in the guile manual which I read a lot in. Unfortunately I don't know a good comparison, but I believe PEG is somewhat superior to guile-parser-combinators.