From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/12096 Path: news.gmane.org!not-for-mail From: Ivan Lazar Miljenovic Newsgroups: gmane.text.pandoc Subject: Re: Google Summer of Code 2015 Date: Sun, 22 Feb 2015 14:12:25 +1100 Message-ID: References: <20150221231559.GG42178@localhost.hsd1.ca.comcast.net> <20150221232739.GA42324@localhost.hsd1.ca.comcast.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1424574752 22518 80.91.229.3 (22 Feb 2015 03:12:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2015 03:12:32 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBC2L5ZPTZEOBBGMSUWTQKGQESOVVMYY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Feb 22 04:12:26 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qc0-f183.google.com ([209.85.216.183]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YPMy2-0001nm-KJ for gtp-pandoc-discuss@m.gmane.org; Sun, 22 Feb 2015 04:12:26 +0100 Original-Received: by qcqi8 with SMTP id i8sf2119402qcq.5 for ; Sat, 21 Feb 2015 19:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=xC50sdAZvQPT0BMQo04ijz/9xj94agLWRpiq0rA8nS4=; b=PufkBLHHBGPWqqv0IOTJmZASGuu35w1RLAVI74ZdRZ31GyvpbtbspRx+uf2Tzc1IMe 6/wofJck+o+U2Qe6FHgChvR+GkIzMkg130dya6fiTDteARjIxbbz7SwuZoOo72NQdY8F B9XJyx/q7mi1ffAGixat3aepbkDQgx6L2ehUhwY0lJLK9RUOpsCm4F7W1RsanPSOBxkV Mwjkj4f//IdEuXi0ErJFNY9+h/jH2TRB4foQw7h58z+zm6aMgbB6won7oZmjCiPB+9ex XRiwtHc35LH8/PYmeUKPsbUmNi7somZOkiGlBgHDQ/btzWYnsPb/C+Vchx0BM58ZFlJu OH8g== X-Received: by 10.50.40.9 with SMTP id t9mr68686igk.7.1424574745971; Sat, 21 Feb 2015 19:12:25 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.124.133 with SMTP id mi5ls515674igb.28.gmail; Sat, 21 Feb 2015 19:12:25 -0800 (PST) X-Received: by 10.66.233.198 with SMTP id ty6mr5618464pac.24.1424574745434; Sat, 21 Feb 2015 19:12:25 -0800 (PST) Original-Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com. [2607:f8b0:400e:c03::231]) by gmr-mx.google.com with ESMTPS id xj4si3403920pbc.2.2015.02.21.19.12.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 19:12:25 -0800 (PST) Received-SPF: pass (google.com: domain of ivan.miljenovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c03::231 as permitted sender) client-ip=2607:f8b0:400e:c03::231; Original-Received: by padet14 with SMTP id et14so18340117pad.11 for ; Sat, 21 Feb 2015 19:12:25 -0800 (PST) X-Received: by 10.70.128.231 with SMTP id nr7mr8773786pdb.116.1424574745294; Sat, 21 Feb 2015 19:12:25 -0800 (PST) Original-Received: by 10.70.7.193 with HTTP; Sat, 21 Feb 2015 19:12:25 -0800 (PST) In-Reply-To: <20150221232739.GA42324-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org> X-Original-Sender: ivan.miljenovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ivan.miljenovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c03::231 as permitted sender) smtp.mail=ivan.miljenovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:12096 Archived-At: On 22 February 2015 at 10:27, John MacFarlane wrote: > +++ John MacFarlane [Feb 21 15 15:15 ]: >> >> +++ Matthew Pickering [Feb 20 15 21:45 ]: >>> >>> Dear list, >>> >>> I have created a ticket on the Haskell.org GSoC idea list for one of the >>> ideas which John suggested[1] would be suitable. It is important that >>> that >>> projects are fairly freestanding (not requiring intimate knowledge of the >>> architecture) and are selected based on utility to the Haskell community >>> as >>> a whole. >>> >>> If anyone has any comments, feel free to edit the proposal or reply here >>> and I will make the changes. >>> >>> https://ghc.haskell.org/trac/summer-of-code/ticket/1660#ticket >> >> >> It's a good proposal. Some further motivation: pandoc's current >> Markdown parser is not very efficient. It even goes exponential on some >> inputs, which is not good for web use. >> >> I've already developed algorithms for parsing CommonMark efficiently, >> without backtracking. They are so much more efficient than what pandoc >> currently does that even the JavaScript implementation of commonmark is >> 3-4 times faster than pandoc, and the C implementation is 30-40 times >> faster. >> >> So I'd hope for a 10X speedup with a rewrite. > > > Further thoughts on this. > > The best GSOC projects benefit the whole community (infrastructure). > > So, it might make more sense to write a standalone CommonMark parser > library with a liberal (BSD) license, that could be used in other > Haskell projects (e.g., potentially, in some future version of Haddock). > > If this is made extensible, pandoc could simply use this library. > But the library would also be available for other purposes. > > Pandoc itself won't ever be relicensed. But I think it would be a good > idea, if contributors will agree, to dual license pandoc-types BSD3/GPL. > (There are only a few commits by people other than me, so this is > feasible.) If pandoc-types is licensed BSD3, is there any real need for it to also be licensed GPL (especially since Cabal doesn't really understand dual-licensing)? > > This would allow authors of more liberally licensed libraries to > include a nice "handle" or interface with pandoc. For example, a > BSD licensed CommonMark parsing library could provide an option > to parse to a Pandoc structure, which could then be consumed by > any of the pandoc writers. > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/20150221232739.GA42324%40localhost.hsd1.ca.comcast.net. > > For more options, visit https://groups.google.com/d/optout. -- Ivan Lazar Miljenovic Ivan.Miljenovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://IvanMiljenovic.wordpress.com