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 (Catonano) Date: Thu, 17 Jan 2019 08:16:29 +0100 Message-ID: <5E629D82-0023-489F-9A0A-63ACF1A520B1@pretty.Easy.privacy> References: ; ; NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----QPBILL8HSYA3U1PH8O2MWMMWTPXAQT" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1547709309 23140 195.159.176.226 (17 Jan 2019 07:15:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2019 07:15:09 +0000 (UTC) Cc: Guile User To: Zelphir Kaltstahl , "catonano@gmail.com >> Catonano" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 17 08:15:05 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 1gk1tG-0005nH-4q for guile-user@m.gmane.org; Thu, 17 Jan 2019 08:15:02 +0100 Original-Received: from localhost ([127.0.0.1]:37618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk1vM-0002GU-NB for guile-user@m.gmane.org; Thu, 17 Jan 2019 02:17:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk1ur-0002GK-Lm for guile-user@gnu.org; Thu, 17 Jan 2019 02:16:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gk1uq-0003QZ-Gd for guile-user@gnu.org; Thu, 17 Jan 2019 02:16:41 -0500 Original-Received: from mx1.riseup.net ([198.252.153.129]:55284) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gk1uq-0003O1-31 for guile-user@gnu.org; Thu, 17 Jan 2019 02:16:40 -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 86AEA1A0C4C; Wed, 16 Jan 2019 23:16:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1547709398; bh=k72npyPvT5GWDP4vw1o9WWUC5ck4RvG2yBKc/JEERa0=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=HETYaM9jbXDOr1NY4sl5+0LQcX9V405lw/9lIS+zeZtJjQ7RzleeAgxSfUus1JJo7 rLeX/LRIbzMlBBPzMF8HhFhRoFbb6K4xGGba1V3rRj45lQ0yW6Brvw8X8XTjEYLMPp DAwCCLlsyWVxlY2WDXtSjUFI1CwS7m/u4NZ9cZFc= X-Riseup-User-ID: B8635FE79AEC7E5A64F07A97D6DDB48BA9D1EBB826F356036C145C2EB334D3E3 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 671981C2F3B; Wed, 16 Jan 2019 23:16:36 -0800 (PST) In-Reply-To: ; ; X-pEp-Version: 2.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:15227 Archived-At: ------QPBILL8HSYA3U1PH8O2MWMMWTPXAQT MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Zelphir Kaltstahl skrev: (16 januari 2019 21:31:13 CET) Perhaps I should put a link into the source code whenever I follow a tutorial. Sorry for the confusion! I am also only following Amirouche Boubekki's tutorial ; ) Good that you already found it. There is a paper about parser combinators (which I did not completely implement, because I had a bug somewhere, where I did not find it at some point), about parser combinators: http://www.cs.nott.ac.uk/~pszgmh/monparsing.pdf It takes some time to get used to the Gopher code syntax, but from the part of the paper, that I read, it is quite clever stuff, all this parser combinator stuff. I am still unsure about the theoretical CS stuff: What kind of parsers one can possibly write with parser combinators? Which language class is that? I have language X can I parse it completely using parser combinators? etc. Theoretical CS and the proofs were not my strongest area. On 1/16/19 6:00 PM, guile-user-request@gnu.org wrote: Ok I found this [1]https://hyperdev.fr/blog/getting-started-with-guile-parser-combin ators.html Hi. Have you looked at the PEG parser recently added to guile? It does everything the combinators do with an added compressor. Its quite powerful and seems to work well. -- Sent from my pa 0/00!p for Android. References 1. https://hyperdev.fr/blog/getting-started-with-guile-parser-combinators.html ------QPBILL8HSYA3U1PH8O2MWMMWTPXAQT Content-Type: application/pgp-keys; name="pEpkey.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pEpkey.asc"; size=3825 LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkZ3Y25XMEJFQURhNWti U0t0ZEd6ZzQ1SjZkQnRFS21lZFM2bEtEQkx1UmlNZTRTNHppTFVMaVV5RTlWCmVNeTA0TUUzbFN6 WHg4TlpSNjVxSzdENDRhVlRvV29iUlcxMEhGWi9YOWh5bFlrcnFzUk45cndieW5mOTFrcU0KcVI2 TkRxQjJKRHZTek9LRzM0U2dnTzVkVGh1RE1GdzNmT3Z1cGhtSnN5b2s3OGVYQlFqTkxyaXNvQnhT SEFyVgpzZjdIMlJIYlNmTmZaclMxaEtUUzRtbFBpNnJZS2ZFMUFvbm8wdUs5SnVVZHBTTyswODdV ejhRam5GVTE5c09BClJWTWtUT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