From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.user Subject: Re: [potluck dish] A CommonMark parser Date: Wed, 17 Feb 2016 20:49:47 -0500 Message-ID: References: <56C3A459.2070006@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1455760210 17779 80.91.229.3 (18 Feb 2016 01:50:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 01:50:10 +0000 (UTC) Cc: Guile User To: Erik Edrosa Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Feb 18 02:50:09 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aWDjM-0002Mz-Sc for guile-user@m.gmane.org; Thu, 18 Feb 2016 02:50:09 +0100 Original-Received: from localhost ([::1]:35363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWDjM-00082M-9M for guile-user@m.gmane.org; Wed, 17 Feb 2016 20:50:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWDj8-00081u-4f for guile-user@gnu.org; Wed, 17 Feb 2016 20:49:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWDj2-0004Ks-JV for guile-user@gnu.org; Wed, 17 Feb 2016 20:49:54 -0500 Original-Received: from mail-yw0-x22e.google.com ([2607:f8b0:4002:c05::22e]:35349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWDj2-0004KX-Bd for guile-user@gnu.org; Wed, 17 Feb 2016 20:49:48 -0500 Original-Received: by mail-yw0-x22e.google.com with SMTP id g127so29081629ywf.2 for ; Wed, 17 Feb 2016 17:49:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2U4b/B6oL0qCR6Mwe8EoXW3deT8EV5dVmKwCoFYZDSQ=; b=twnhyYZgM9VQShXvtaBO2NYaKOZA/paGlwwP84vFt/CuII62ghhONKeWmWJRIhvuL9 U6sELqaxvPzU04eowFDsdj5HpT9B5ck7PMeu1uUPsNu0z+l+NlT8s2EAWePM+Tq6XGxZ GeSfWKPmTv+uvdkeCFObjq4F+OW6C5jut+t11Wcq3NigTCfW9ByEe1A2jebqd2vNv9Di Asr1iEgLyAjOf0mnaZtmVyOkovoExsAbYEQ2/+iPY5EZp5XKezp7FcuXRpedg0HtMZWS iX98b/R6OaBsbdGQOMNX0n2PIXotMbI93fmrRccNYl0iuEsRN0UPs9uXnaHNULIehgaa +Sbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2U4b/B6oL0qCR6Mwe8EoXW3deT8EV5dVmKwCoFYZDSQ=; b=Y+I5HZtAqBmcZogwlYi/Rb/30nGI21sB9MEkZu9Y45PX7zu04TxrG1xeesk+4avfVB EuT3nEm0Bft5aZ5tfvvQwmEcTewERjTVmAvoVv0eNvPOW+tULh/kTyIOOrLAOxN5sT+n 5GEJOL+SvXNYiikCD+ebfmXr1GuISvbkTWPwFmFmjra/q8AKuZIfL+V1NrQeqCnzsuCf Ivs+3GIF195WFQjWGguv6CdjeLvOWBKW6t6lv9re3myUqpC0LV7bQ6eeJY/FfundMbsu aZ669HXlKv1tbDtPfziYNYJ3d8GH2zbFmpU6nhbb0YObTAFdGaC0dkjfDENP6M+OiADu E0rw== X-Gm-Message-State: AG10YORn4vhaQSO5X6IY+ld63UlpFxR6Km9mkG0fNaQ6CmK9Gy3as1CK6daNWXuA4+NdEpA3SBuBXBy70GlT5Q== X-Received: by 10.13.254.67 with SMTP id o64mr2769143ywf.77.1455760187699; Wed, 17 Feb 2016 17:49:47 -0800 (PST) Original-Received: by 10.37.25.86 with HTTP; Wed, 17 Feb 2016 17:49:47 -0800 (PST) In-Reply-To: <56C3A459.2070006@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::22e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:12418 Archived-At: Hello Erik, On Tue, Feb 16, 2016 at 5:36 PM, Erik Edrosa wrote: > Hello, > > I've been working on a parser for CommonMark[0], a specified version of > Markdown[1] being worked on (still not 1.0). It currently does not parse > the full spec, but it works so far for all block structures except for > HTML blocks. The code is still pretty rough and I welcome any feedback > to improve it. I am following their suggested strategy of parsing > CommonMark in two steps by parsing the block level structure and then > inline. Thanks for this tasty dish! The code looks great and I'm happy to see it that parses to SXML. I hope you are able to make an official release some time. I would love to add support for this to my static site generator. Happy hacking! - Dave