From mark at purdue.edu Mon Oct 19 05:47:49 2015 From: mark at purdue.edu (Mark Senn) Date: Mon, 19 Oct 2015 08:47:49 -0400 Subject: [Purdue-pm] Perl::Critic, Coverity Message-ID: <40735.1445258869@pier.ecn.purdue.edu> Thought you might be interested in the message following "-mark". NQP is the bootstrapping language for Perl 6. The Perl 6 development team is working on trying to release Perl 6 version 1.0 before Christmas. In my opinion, Perl 6 is a much better language than Perl 5. (If you are a Mathematica user you may be interested to know that Mathematica 10.3 has been released.) -mark Sender: jeff at stratopan.com From: Jeffrey Ryan Thalhammer Date: Fri, 16 Oct 2015 15:38:54 -0700 Subject: Coverity Static Analysis For NQP To: perl6-compiler at perl.org Hello everyone- I'm a longtime Perl5 developer and the creator of Perl::Critic. More recently, I started working for Coverity, which makes commercial static analysis tools. Coverity offers a free analysis service through scan.coverity.com. This service is used by thousands of open source projects, including Perl5. I ran a local analysis of the NQP codebase and found 119 potential defects. If you enlist your project at scan.coverity.com you can get all the details. Can't wait until Christmas! -Jeff From gribskov at purdue.edu Tue Oct 20 04:43:06 2015 From: gribskov at purdue.edu (Michael Gribskov) Date: Tue, 20 Oct 2015 07:43:06 -0400 Subject: [Purdue-pm] Perl::Critic, Coverity In-Reply-To: <40735.1445258869@pier.ecn.purdue.edu> References: <40735.1445258869@pier.ecn.purdue.edu> Message-ID: <562628CA.40601@purdue.edu> as far as i can tell from the web site, only Java, C/C++, C# and Javascript are supported On 10/19/2015 8:47 AM, Mark Senn wrote: > Thought you might be interested in the message following "-mark". NQP > is the bootstrapping language for Perl 6. The Perl 6 development team > is working on trying to release Perl 6 version 1.0 before Christmas. In > my opinion, Perl 6 is a much better language than Perl 5. > > (If you are a Mathematica user you may be interested > to know that Mathematica 10.3 has been released.) > > -mark > > Sender: jeff at stratopan.com > From: Jeffrey Ryan Thalhammer > Date: Fri, 16 Oct 2015 15:38:54 -0700 > Subject: Coverity Static Analysis For NQP > To: perl6-compiler at perl.org > > Hello everyone- > > I'm a longtime Perl5 developer and the creator of Perl::Critic. More > recently, I started working for Coverity, which makes commercial static > analysis tools. > > Coverity offers a free analysis service through scan.coverity.com. This > service is used by thousands of open source projects, including Perl5. > > I ran a local analysis of the NQP codebase and found 119 potential defects. > If you enlist your project at scan.coverity.com you can get all the details. > > Can't wait until Christmas! > > -Jeff > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm -- Michael Gribskov Hockmeyer Hall of Structural Biology Department of Biological Sciences Purdue University 240 S. Martin Jischke Drive West Lafayette, IN 47907-1971 gribskov at purdue.edu vox: 765.494.6933 fax: 765.496.1189 calendar: http://www.google.com/calendar/embed?src=mgribskov%40gmail.com From mark at purdue.edu Tue Oct 20 07:36:17 2015 From: mark at purdue.edu (Mark Senn) Date: Tue, 20 Oct 2015 10:36:17 -0400 Subject: [Purdue-pm] more about Coverity Message-ID: <46041.1445351777@pier.ecn.purdue.edu> Purdue Perl Mongers mailing list plus some people not subscribed who I thought might be interested, Another message about Coverity follows my signature. It lists which languages it supports. Note he wrote Perhaps Perl6 will be too some day. but wrote nothing about Perl 5. Because of statements like this I'm trying to write all my new Perl programs in Perl 6. Plus, Perl 6 is a more complete, better designed language than Perl 5. The grammar (formal definition of syntax using the Perl 6 grammar command) for Perl 6 is available which makes writing analysis software for Perl 6 easier presumably. My guess is there will never be a grammar command describing Perl 5. NQP (Not Quite Perl) is the language used for bootstrapping Perl 6. (To get Perl 6 going in the first place it won't work to write it in Perl 6 because you don't have a Perl 6 to run it with.) Mark Senn, Systems Programmer, Engineering Computer Network, Purdue University >Sender: jeff at stratopan.com >From: Jeffrey Ryan Thalhammer >Date: Mon, 19 Oct 2015 13:56:06 -0700 >Subject: Re: Coverity Static Analysis For NQP >To: perl6-compiler at perl.org > >> Coverity can check the C source code for NQP, but AFAIK doesn't work >> on code written in NQP. > >That is correct. Only C, C++, C#, Objective-C, Java, & JavaScript. > >PHP and Python are scheduled for next year. Perhaps Perl6 will be too some >day. > >But the C source for NQP shows 119 potential defects as of 8a8bf63d. > >-Jeff From mark at purdue.edu Fri Oct 23 05:57:31 2015 From: mark at purdue.edu (Mark Senn) Date: Fri, 23 Oct 2015 08:57:31 -0400 Subject: [Purdue-pm] Perl 6 compiler Message-ID: <18495.1445605051@pier.ecn.purdue.edu> (Brad, Broc, I suggest you sign up for the Purdue Perl Mongers mailing list at http://mail.pm.org/mailman/listinfo/purdue-pm -mark) The "Birthday" release of Rakudo Perl 6 is out. ``It?s the first release candidate/beta of the compiler for the anticipated 6.0 ?Christmas? release.'' I used to only install the very-easy-to-install Rakudo Star Perl 6 releases at home. I'm going to start installing the monthly releases. I use and recommend using the Moar Virtual Machine. -mark Date: Fri, 23 Oct 2015 08:20:41 -0400 Subject: Announce: Rakudo Perl 6 compiler, Development Release #92 ("Niceville") From: Will Coleda To: "perl6-compiler at perl.org" On behalf of the Rakudo development team, I?m very happy to announce the October 2015 release of Rakudo Perl 6 #92 ?Niceville?. Rakudo is an implementation of Perl 6 on the Moar Virtual Machine[^1] and the Java Virtual Machine. This is the ?Birthday? release of Rakudo Perl 6; It?s the first release candidate/beta of the compiler for the anticipated 6.0 ?Christmas? release. The ?Christmas? release will occur on or about 17 December 2015, assuming no critical bugs are found between now and then. Please try the release, your feedback is greatly appreciated. The tarball for this release is available from . Please note: This announcement is not for the Rakudo Star distribution[^2] --- it?s announcing a new release of the compiler only. For the latest Rakudo Star release, see . The Rakudo Perl compiler follows a monthly release cycle, with each release named after a Perl Mongers group. This month?s release is named after the Niceville chapter, because it sounds like a wonderful, magical place. Some of the changes in this release are outlined below: + We are now officially in beta! + There is now an infix:<.> operator that does method calls with slightly looser precedence than the postfix unary method call. + New operator 'infix o' for function composition + 'fc' for Unicode-correct case folding implemented + grep now accepts :k, :v, :kv, :p attributes + 'Supply.throttle' for rate-limiting + Array.push is now used for pushing one element (mostly); Array.append exists for pushing multiple values. Same for 'unshift'/'prepend' + Basic arithmetic operations ('+', '*', '-', '/') on Range objects that shift or scale the end points while maintaining exclusions + The v notation now allows alphabetic components: v1.2.beta. (Incompatible because method calls on a version must be protected by \ or () now.) + 'use v6b+;' notation is now recognized and enforced + Many built-in methods that return iterables are now much faster + Better error messages when comparing version strings with numbers + Several error messages that were lacking line numbers now include them These are only some of the changes in this release. For a more detailed list, see ?docs/ChangeLog?. The development team thanks all of our contributors and sponsors for making Rakudo Perl possible, as well as those people who worked on the design docs, the Perl 6 test suite, MoarVM and the specification. The following people contributed to this release: Elizabeth Mattijsen, Larry Wall, Jonathan Worthington, Pawel Murias, Christian Bartolom?us, Tobias Leich, Stefan Seifert, Will "Coke" Coleda, Pepe Schwarz, Francois Perrad, skids, Rob Hoelz, Faye Niemeyer, Moritz Lenz, Jimmy Zhuo, Timo Paulssen, St?phane Payrard, cygx, Nick Logan, Solomon Foster, tony-o, Bart Wiegmans, Steve Mynott, diakopter, niner, Tokuhiro Matsuno, Carl M?sak, Nicholas Clark, thundergnat, Jonathan Scott Duff, Shoichi Kaji, sue spence, David Warring If you would like to contribute or find out more information, visit , , ask on the mailing list, or ask on IRC #perl6 on freenode. The next release of Rakudo (#93), is scheduled for 19 November 2015. A list of the other planned release dates and code names for future releases is available in the ?docs/release_guide.pod? file. A Rakudo development release typically occurs a few days (often two) after the third Tuesday of each month. The development team appreciates feedback! If you?re using Rakudo, do get back to us. Questions, comments, suggestions for improvements, cool discoveries, incredible hacks, or any other feedback -- get in touch with us through (the above-mentioned) mailing list or IRC channel. Enjoy! [^1]: See [^2]: What?s the difference between the Rakudo compiler and the Rakudo Star distribution? The Rakudo compiler is a compiler for the Perl 6 language. Not much more. The Rakudo Star distribution is the Rakudo compiler plus a selection of useful Perl 6 modules, a module installer, the most recent incarnation of the ?Using Perl 6? book, and other software that can be used with the Rakudo compiler to enhance its utility. Rakudo Star is meant for early adopters who wish to explore what?s possible with Rakudo Perl 6 and provide feedback on what works, what doesn?t, and what else they would like to see included in the distribution. -- Will "Coke" Coleda From mark at purdue.edu Tue Oct 27 06:13:52 2015 From: mark at purdue.edu (Mark Senn) Date: Tue, 27 Oct 2015 09:13:52 -0400 Subject: [Purdue-pm] Perl 6 Great List Refactor Message-ID: <22504.1445951632@pier.ecn.purdue.edu> (Thanks to Joe Kline for updating Perl 6 on our work computers.) As a result of the recent "Great List Refactor" (also known as "GLR" or "glr") semantic changes in Perl 6 in the past six months or so I had to change my Perl 6 program from @string ==> map {.chars} ==> my @width; return @width.max; to return max map {.chars}, @string; or, and I like this better because it reads left to right, return (@string ==> map {.chars} ==> max); I like Perl 6 much better than Perl 5. -mark From mark at purdue.edu Wed Oct 28 06:00:46 2015 From: mark at purdue.edu (Mark Senn) Date: Wed, 28 Oct 2015 09:00:46 -0400 Subject: [Purdue-pm] Perl 6 multisubs and multimethods Message-ID: <47775.1446037246@pier.ecn.purdue.edu> ( Brad, Broc, I'm not going to cc stuff to you anymore. Sign up for the mailing list (see pm.purdue.org) if you wantt to get stuff I send to the mailing list in the future. ) In Perl 6 one can write multisubs and multimethods where you define a routine and declare what types, values, and number of arguments it takes. This saves one from having to write code to do different things based on that information and is just another way you can "Let Perl 6 Do It" instead of having to write code to do it. For example, let's say you want to have a program named door that you can either call with "door open" or "door close". Here is one way to do it: List-Subscribe: List-Id: Date: Sun, 28 Jun 2015 12:24:31 +0200 From: Moritz Lenz To: perl6-users at perl.org Hi, On 06/28/2015 12:39 AM, Tom Browder wrote: > I'm trying to take advantage of the MAIN suroutine to handle most all of > my routine command line arg handling. One idiom I use a lot is for the > user to choose only one of two args, but one must be chosen. So since it's not optional, you might consider not making it an option (prefixed with "--"), but rather a simple command: $ cat door #!/usr/bin/env perl6 multi MAIN('open') { say "Opening door"; } multi MAIN('close') { say "Closing door"; } $ ./door Usage: ./door open ./door close $ ./door open Opening door Cheers, Moritz Again, this feature is general and calls the right version of the routine automatically depending on types, values, and number of arguments a routine is called with. Thought you might be interested. -mark From jacoby.david at gmail.com Fri Oct 30 07:46:51 2015 From: jacoby.david at gmail.com (Dave Jacoby) Date: Fri, 30 Oct 2015 10:46:51 -0400 Subject: [Purdue-pm] Belated Administrivia Message-ID: 1) Topic: Nehemiah intended his comment about a "learning $LANG from scratch" as a joke. I consider it a potentially good topic, more on the methodology of bringing your problem-solving knowledge into a new field, but it isn't a talk he wishes to give, so that opens up November for a new talk. I have wanted to talk about HTML mail for a while, because I'm still working through my feelings, but as I haven't played with the code recently, I don't have a solid talk (but I do have a few crucial slides), so I'll throw this in as a fallback in case nobody else has a burning need to present. And also, perhaps, to stoke someone into talking, if just to avoid HTML mail. B) 2) Location and date: There are a few things that affect this. We haven't been using the WSLR time and date, and I have been asked for it. I've been out most of the week so I haven't gotten back, but my first instinct is to let them have it. On the other hand, Mark Senn has pushed me to start announcing Perl Mongers events to Purdue Today, and I am unsure about them accepting events that are off-campus. Should I let Tues, Nov 17 go and have Brock and/or Wally reserve a room for us on Wed, Nov 18? I feel that's the way, but I started crying four times during _Tomorrowland_ two days ago, so right now I hold my feelings as suspect. 3) Perl 6: Mark Senn is interested in organizing an event in celebration of the release of Perl 6. That could easily be our Dec.16 meeting ("Before Christmas") or not. He has reached out for co-sponsorship with ITaP. Anyone interested in helping him organize this is encouraged to reach out to him. -- David Jacoby jacoby.david at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: