From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.user Subject: Re: Nyacc patches for Mes to avoid bundling? Date: Fri, 05 May 2017 08:07:33 +0200 Organization: AvatarAcademy.nl Message-ID: <87shkj96qi.fsf@gnu.org> References: <87bmr93jot.fsf@gnu.org> <1B4686A9-DAC0-4DD4-B11B-78629E0C5339@gmail.com> <20B29595-EC72-4660-815A-0261AD88B519@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1493964491 28372 195.159.176.226 (5 May 2017 06:08:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 5 May 2017 06:08:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri May 05 08:08:07 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6WPO-0007KV-W2 for guile-user@m.gmane.org; Fri, 05 May 2017 08:08:07 +0200 Original-Received: from localhost ([::1]:45208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6WPU-0001El-Mn for guile-user@m.gmane.org; Fri, 05 May 2017 02:08:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6WP6-0001Ec-QI for guile-user@gnu.org; Fri, 05 May 2017 02:07:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6WP5-000431-Sk for guile-user@gnu.org; Fri, 05 May 2017 02:07:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6WOu-0003qY-OL; Fri, 05 May 2017 02:07:36 -0400 Original-Received: from peder.onsbrabantnet.nl ([88.159.206.46]:50806 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d6WOu-00083k-1b; Fri, 05 May 2017 02:07:36 -0400 X-Url: http://AvatarAcademy.nl In-Reply-To: <20B29595-EC72-4660-815A-0261AD88B519@gmail.com> (Matt Wette's message of "Thu, 4 May 2017 19:09:22 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:13669 Archived-At: Matt Wette writes: Hi Matt, >> Hi Jan, >>=20 >> Those don=E2=80=99t look to terrible to do. I will take a look. I think= they can be done. Thanks, that's great news. > But it would be nice to know what MES does have. String-search ? Charac= ter sets? Mes supports strings and character sets. They are implemented as list of characters, including ->list and list-> conversion functions. At the moment the number of string and character set functions is very limited (only what is needed now), but trivial to extend. So please feel free using any string or character set function (that does not use regexps). Come to think of it, if you have an idea of how to support regexps in pure Scheme, i.e. without adding the GNU rexexp.c library dependency, even that would be an option. Mes can currently compile itself to a binary, using Nyacc. So except for the problems I mentioned, Mes supports all of Nyacc (or so it seems :-) That should give you a good idea of what Mes can do, and most library functions are very easy to add. Sadly I don't have any documentation yet. Here is the string and character set libs: https://gitlab.com/janneke/mes/blob/master/module/srfi/srfi-13.mes https://gitlab.com/janneke/mes/blob/master/module/srfi/srfi-14.mes and this is the base library https://gitlab.com/janneke/mes/blob/master/module/mes/scm.mes You can see how easy it is to add functions. > I have replaced match w/ pmatch . Thanks! Greetings, Jan --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20