Re: can't make from a S/// ?

2021-11-21 Thread William Michels via perl6-users
Dear Marc, We may have version-specific issues, but I can't be certain at the moment because you changed the first two lines of your Grammar. #old: rule TOP {* %% \n } token line { * %% ',' } #new: rule TOP {* } token line { * %% ',' \n } If I change back to the #old lines above,

Re: can't make from a S/// ?

2021-11-21 Thread Marc Chantreux
hello William, > #old: > rule TOP {* %% \n } > token line { * %% ',' } > #new: > rule TOP {* } > token line { * %% ',' \n } ohhh ... indeed! when i fixed the code on Ralph's instructions, i finally was able to slurp a whole file and discovered a emtpy entry at the end of the flow

Re: can't make from a S/// ?

2021-11-21 Thread Ralph Mellor
On Fri, Nov 19, 2021 at 8:32 AM Marc Chantreux wrote: > > [switch `($/)` signature to `($_)` and `make` to `.make:`] > > i dug around it but missed it! arggh ... I've been digging around online doc etc and spotted that this is covered on the Traps page of the official doc: https://docs.raku.org/

Re: why not raku ?

2021-11-21 Thread Ralph Mellor
My 2c: On Fri, Nov 19, 2021 at 9:45 AM Marc Chantreux wrote: > > > I like ruby and perl > > so do I but raku is by far my prefered interpreted langage now. Nit. It's compiled, in the same way Java or C# is compiled. Consider: ``` say 42; constant foo = die; ``` If it were interpreted, the `42`

Re: why not raku ?

2021-11-21 Thread Piper H
What's the package management tool for raku? The stuff like gem/bundle for ruby and cpanm for perl5. Thanks. On Mon, Nov 22, 2021 at 9:43 AM Ralph Mellor wrote: > My 2c: > > On Fri, Nov 19, 2021 at 9:45 AM Marc Chantreux wrote: > > > > > I like ruby and perl > > > > so do I but raku is by far

Re: why not raku ?

2021-11-21 Thread Clifton Wood
Piper: That would be zef https://github.com/ugexe/zef On Sun, Nov 21, 2021 at 8:51 PM Piper H wrote: > What's the package management tool for raku? > The stuff like gem/bundle for ruby and cpanm for perl5. > > Thanks. > > On Mon, Nov 22, 2021 at 9:43 AM Ralph Mellor > wrote: > >> My 2c: >> >>

Re: why not raku ?

2021-11-21 Thread Clifton Wood
Ralph: It has *two* compelling use cases, and it's the ones that brought me to Raku in the first place: - First class C integration without the need for C (NativeCall) - Grammars I have gone through over 20 C libraries with at least a modicum of success. All in Raku. All easily done to get the