Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Deflector shields just came on, Captain.


devel / comp.lang.lisp / I made Parsnip - a parser combination library for Common Lisp

SubjectAuthor
o I made Parsnip - a parser combination library for Common Lispsamuelhu...@gmail.com

1
I made Parsnip - a parser combination library for Common Lisp

<fa28d665-04ca-4b69-ae52-e4cf14a86e3bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17041&group=comp.lang.lisp#17041

  copy link   Newsgroups: comp.lang.lisp
X-Received: by 2002:a05:6214:3e3:b0:444:3f84:d230 with SMTP id cf3-20020a05621403e300b004443f84d230mr14204492qvb.4.1649957620676;
Thu, 14 Apr 2022 10:33:40 -0700 (PDT)
X-Received: by 2002:a4a:a746:0:b0:324:406d:bacd with SMTP id
h6-20020a4aa746000000b00324406dbacdmr1095001oom.9.1649957620354; Thu, 14 Apr
2022 10:33:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.lisp
Date: Thu, 14 Apr 2022 10:33:40 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=205.175.118.104; posting-account=4bVa4QoAAAD8symMDh1Cq-J1wl7ipIm5
NNTP-Posting-Host: 205.175.118.104
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fa28d665-04ca-4b69-ae52-e4cf14a86e3bn@googlegroups.com>
Subject: I made Parsnip - a parser combination library for Common Lisp
From: samuelhunter1024@gmail.com (samuelhu...@gmail.com)
Injection-Date: Thu, 14 Apr 2022 17:33:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: samuelhu...@gmail.co - Thu, 14 Apr 2022 17:33 UTC

The latest version is on Quicklisp. I want to have a well-developed library, so I'm looking for review on its API, and style used in the code -- if you're looking for a parser combinator library, would you use this?

https://sr.ht/~shunter/parsnip/

I made this library after looking to parse a musical notation format. However, nearly all the combinators I've found online are either much too macro-heavy (And so aren't able to take advantage of first-class functions, and is ugly to generate parsers in runtime), or shows that it solves 80% of the problem, then dropped. My target audience is those that read data given by the end-user, like compilers or WYSIWYM editors. My non-audience is high-performance applications reading messages across the network, and I've been reading papers on parser combinator optimization in my personal time to close this gap.

Thanks!

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor