guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nyacc patches for Mes to avoid bundling?


From: Jan Nieuwenhuizen
Subject: Re: Nyacc patches for Mes to avoid bundling?
Date: Fri, 05 May 2017 08:07:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Matt Wette writes:

Hi Matt,

>> Hi Jan,
>> 
>> Those don’t 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 ?  Character 
> 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

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]