<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
Here are some additional remarks about the "conf" configuration
file, and the file of results:<br>
<br>
Le 19/04/2016 13:09, Samuel Gougeon a écrit :<br>
</div>
<blockquote cite="mid:571611F8.20402@free.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<font face="Arial">.../...</font>
<ol>
<ul>
<li>Presently, slint() does not allow <br>
</li>
<ul>
<li>to <b>provide a </b><b>Scilab version against which
the Scilab code must be checked</b>. <br>
</li>
<li>to provide a subset of rules (or categories of rules)
that must be checked, instead of checking all defined
rules.<br>
</li>
</ul>
</ul>
</ol>
</blockquote>
.<br>
<ul>
<li>Apparently, the so-called "configuration" file is somewhat
used to that, but it's rather unhandy: to set a set of rules, we
have to edit the conf file, to <span style="color:rgb(0,0,0);">turn
</span><span style="color:rgb(0,0,0);">enable</span><span
style="color:rgb(92,92,92);">=</span><span
style="color:rgb(188,143,143);">"</span><span
style="color:rgb(188,143,143);">true</span><span
style="color:rgb(188,143,143);">"</span><span
style="color:rgb(0,0,0);"> into enable</span><span
style="color:rgb(92,92,92);">=</span><span
style="color:rgb(188,143,143);">"</span><span
style="color:rgb(188,143,143);">false</span><span
style="color:rgb(188,143,143);">"<font color="#000000"> for
each rule that we want to cancel (or the opposite), to save
modifications, and then call slint() with the file as "conf"
parameter... instead of directly passing the vector of rules
indices, or a vector of text ids (case-insensitive, please)
such as ["</font></span><span style="color:rgb(0,0,0);">uselessarg</span><span
style="color:rgb(188,143,143);"></span><span
style="color:rgb(188,143,143);"><font color="#000000">" "</font></span><span
style="color:rgb(0,0,0);">FunctionName</span><span
style="color:rgb(188,143,143);"></span><span
style="color:rgb(188,143,143);"><font color="#000000">"
"redefinition"], or a vector of ids of rules subsets. Rather
cumbersome.<br>
<br>
</font></span></li>
<li><span style="color:rgb(188,143,143);"><font color="#000000">The
format of the file of results is not documented. It is an
XML file. Why has this encoding been chosen? XML is for
parsers rather than for humans -- whereas a CSV is directly
readable --, but here for which parser? Nothing is told
about how to process/update/upgrade input files using
results. Is there anything planned, for instance with
Scinotes that could use input files and XMLed results to
edit files and highlight parts to be updated, or even to
automate the upgrade? If nothing is presently planned in
such a way, imo encoding results in CSV would be better.</font></span></li>
</ul>
<p>Best regards<br>
Samuel Gougeon<br>
<br>
</p>
</body>
</html>