[Purdue-pm] more about Coverity

Mark Senn mark at purdue.edu
Tue Oct 20 07:36:17 PDT 2015


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 <jeff at thaljef.org>
>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


More information about the Purdue-pm mailing list