Re: Nyacc patches for Mes to avoid bundling?

2017-05-12 Thread Matt Wette
> On May 11, 2017, at 11:00 PM, Jan Nieuwenhuizen wrote: > > Matt Wette writes: > >>> Got it. Will add fixes. Should show up in release after 0.78.1. >>> >> >> 0.78.2 released >> >> `make check' now works > > Thanks! Almost there...I need the attached patch. Wondering why I need -L > t

Re: Nyacc patches for Mes to avoid bundling?

2017-05-11 Thread Jan Nieuwenhuizen
Matt Wette writes: >> Got it. Will add fixes. Should show up in release after 0.78.1. >> > > 0.78.2 released > > `make check' now works Thanks! Almost there...I need the attached patch. Wondering why I need -L test-suite? Also Not sure why the commenting-out of the make rule with only the

Re: Nyacc patches for Mes to avoid bundling?

2017-05-11 Thread Matt Wette
> On May 10, 2017, at 5:21 PM, Matt Wette wrote: > > >> On May 10, 2017, at 2:01 PM, Jan Nieuwenhuizen wrote: >>> Wow, great; that's real simple! I fixed two typos (see attached patch >>> 1) and created a Guix[SD] package description in guix.scm (patch 2) that >>> I intend to submit for inclu

Re: Nyacc patches for Mes to avoid bundling?

2017-05-10 Thread Matt Wette
> On May 10, 2017, at 2:01 PM, Jan Nieuwenhuizen wrote: >> Wow, great; that's real simple! I fixed two typos (see attached patch >> 1) and created a Guix[SD] package description in guix.scm (patch 2) that >> I intend to submit for inclusion into Guix, so that I can unbundle >> Nyacc from the Mes

Re: Nyacc patches for Mes to avoid bundling?

2017-05-10 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes: Hi Matt, > Wow, great; that's real simple! I fixed two typos (see attached patch > 1) and created a Guix[SD] package description in guix.scm (patch 2) that > I intend to submit for inclusion into Guix, so that I can unbundle > Nyacc from the Mes package. I just tested

Re: Nyacc patches for Mes to avoid bundling?

2017-05-08 Thread Jan Nieuwenhuizen
Matt Wette writes: > I have released a 0.78.1 with the following additions: > 1) configure > 2) README.nyacc => README, INSTALL > 3) Makefile.in Wow, great; that's real simple! I fixed two typos (see attached patch 1) and created a Guix[SD] package description in guix.scm (patch 2) that I inten

Re: Nyacc patches for Mes to avoid bundling?

2017-05-07 Thread Matt Wette
> On May 7, 2017, at 12:54 AM, Jan Nieuwenhuizen wrote: > > Jan Nieuwenhuizen writes: > >>> Maybe I can hack a `configure’ script together. >> >> Great! FWIW, I lifted build-aux/compile-all.scm from GuixSD to compile >> the scheme files for Mes (mainly Nyacc). You may want to look at >> that

Re: Nyacc patches for Mes to avoid bundling?

2017-05-07 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes: >> Maybe I can hack a `configure’ script together. > > Great! FWIW, I lifted build-aux/compile-all.scm from GuixSD to compile > the scheme files for Mes (mainly Nyacc). You may want to look at > that/do that too. I upgraded Mes to Nyacc 0.78.0 and I've added (basic) st

Re: Nyacc patches for Mes to avoid bundling?

2017-05-06 Thread Jan Nieuwenhuizen
Matt Wette writes: >> If you want I could have a look and copy what I've for Mes, but Nyacc >> can be much simpler. I never use autotools but do try to conform to GNU >> standards. > > Autoconf is overkill for scheme source IMO. > > Maybe I can hack a `configure’ script together. Great! FWIW, I

Re: Nyacc patches for Mes to avoid bundling?

2017-05-06 Thread Matt Wette
> On May 6, 2017, at 9:00 AM, Jan Nieuwenhuizen wrote: > I'll be looking to make a new Mes release for Guix too, with Nyacc > unbundled. For that, we need to package Nyacc and having `./configure > make install' would be the first step. Do you have plans or ideas for > that? > > If you want I

Re: Nyacc patches for Mes to avoid bundling?

2017-05-06 Thread Jan Nieuwenhuizen
Matt Wette writes: > Split-cppdef is now sing just string functions: > > (define (split-cppdef defstr) > (let ((x2st (string-index defstr #\()) ; start of args > (x2nd (string-index defstr #\))) ; end of args > (x3 (string-index defstr #\=))) ; start of replacement > (cond >

Re: Nyacc patches for Mes to avoid bundling?

2017-05-06 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: >>> If Mes has syntax-rules, Alex Shinn’s ‘match’ should work fine no? >> >> Yes, it should and Mes does have tests for that. >> But possibly I'm erring a bit too far on the minimalist side here. > > No it makes sense, I was just trying to understand. :-) That, and your q

Re: Nyacc patches for Mes to avoid bundling?

2017-05-06 Thread Matt Wette
> On May 5, 2017, at 3:59 PM, Matt Wette wrote: > > >> 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 curre

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

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: 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 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: 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: 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-04 Thread Jan Nieuwenhuizen
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

Re: Nyacc patches for Mes to avoid bundling?

2017-05-04 Thread Matt Wette
> On May 3, 2017, at 5:07 PM, Matt Wette wrote: > > >> On May 3, 2017, at 10:59 AM, Jan Nieuwenhuizen wrote: >> >> Hi Matt, >> >> Mes is now packaged in Guix. It bundles a modified copy of >> Nyacc-0.76.5. It would like to package Nyacc separately and >> depend on that, however, Mes cannot

Re: Nyacc patches for Mes to avoid bundling?

2017-05-03 Thread Matt Wette
> On May 3, 2017, at 10:59 AM, Jan Nieuwenhuizen wrote: > > Hi Matt, > > Mes is now packaged in Guix. It bundles a modified copy of > Nyacc-0.76.5. It would like to package Nyacc separately and > depend on that, however, Mes cannot use Nyacc as is, at the > moment because of three Mes problem

Nyacc patches for Mes to avoid bundling?

2017-05-03 Thread Jan Nieuwenhuizen
Hi Matt, Mes is now packaged in Guix. It bundles a modified copy of Nyacc-0.76.5. It would like to package Nyacc separately and depend on that, however, Mes cannot use Nyacc as is, at the moment because of three Mes problems 1) Mes has no regex 2) Mes has no proper module system, there is