Re: Nyacc patches for Mes to avoid bundling?

2017-05-05 Thread Matt Wette
> 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 use that to implem

Re: Nyacc patches for Mes to avoid bundling?

2017-05-05 Thread Ludovic Courtès
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’.

Re: Using R7RS symbol syntax in guile

2017-05-05 Thread sidhu1f
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

Re: Nyacc patches for Mes to avoid bundling?

2017-05-05 Thread Jan Nieuwenhuizen
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 --

Re: ?-suffix for booleans... good-idea? or bad-idea?

2017-05-05 Thread Vladimir Zhbanov
? could be a prefix for booleans in contrast with predicates: (define ?red-x (red? x)) ... (if (red? x) 'a 'b) ... (if ?red-x 'a 'b) -- Vladimir

Re: Nyacc patches for Mes to avoid bundling?

2017-05-05 Thread Jan Nieuwenhuizen
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 particu

Re: Nyacc patches for Mes to avoid bundling?

2017-05-05 Thread Ludovic Courtès
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 so I tried to avoi

Re: ?-suffix for booleans... good-idea? or bad-idea?

2017-05-05 Thread szgyg
On Fri, May 05, 2017 at 08:26:03PM +0300, Vladimir Zhbanov wrote: > ? could be a prefix for booleans in contrast with predicates: > > (define ?red-x (red? x)) > ... > (if (red? x) 'a 'b) > ... > (if ?red-x 'a 'b) ?foo is used for macro template variables. (define-syntax begin1 (syntax-rules ()

Re: Nyacc patches for Mes to avoid bundling?

2017-05-05 Thread Matt Wette
> 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 before adding Nyacc