> On May 5, 2017, at 6:33 AM, Jan Nieuwenhuizen wrote:
>
> Matt Wette writes:
>
>> I see that you have PEG parser. You could use that to implement regexps I
>> believe.
>
> That's an interesting suggestion...however PEG is currently terribly
> slow with Mes. I added it
Jan Nieuwenhuizen skribis:
> Ludovic Courtès writes:
>
>>>3) For Mes I like simple pmatch better than match
>>
>> If Mes has syntax-rules, Alex Shinn’s ‘match’ should work fine no?
>
> Yes, it should and Mes does have tests for that. But running these
> tests is quite slow
Ludovic Courtès writes:
>>3) For Mes I like simple pmatch better than match
>
> If Mes has syntax-rules, Alex Shinn’s ‘match’ should work fine no?
Yes, it should and Mes does have tests for that. But running these
tests is quite slow so I tried to avoid match for Mescc...and for this
Matt Wette writes:
> I see that you have PEG parser. You could use that to implement regexps I
> believe.
That's an interesting suggestion...however PEG is currently terribly
slow with Mes. I added it before adding Nyacc to give me the option
to write the C parser in.
Greetings,
janneke
--
Thanks Stefan, what you say does give me a vague idea of what may be
happening, but delving into the guile ref. manual has not clarified
the picture, and its not important enough to try tackling the source
code directly. I'll stick to the standard guile symbol syntax
(#{...}#) for now :).
Regards
Hello,
Jan Nieuwenhuizen skribis:
>3) For Mes I like simple pmatch better than match
If Mes has syntax-rules, Alex Shinn’s ‘match’ should work fine no?
Ludo’.
> On May 4, 2017, at 11:07 PM, Jan Nieuwenhuizen wrote:
>
> 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.
I see that you have PEG parser. You could
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.