<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to tickets</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/" rel="alternate"/><link href="https://sourceforge.net/p/hacadacompiler/tickets/feed.atom" rel="self"/><id>https://sourceforge.net/p/hacadacompiler/tickets/</id><updated>2020-11-28T16:49:08.694000Z</updated><subtitle>Recent changes to tickets</subtitle><entry><title>#2 Shell_Execute variant without result</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/2/?limit=100#d79a" rel="alternate"/><published>2020-11-28T16:49:08.694000Z</published><updated>2020-11-28T16:49:08.694000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net8926d341289ee840d6d56ae2d632e66c2993a2ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Done in commit #286.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#2 Shell_Execute variant without result</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/2/?limit=100#5194" rel="alternate"/><published>2020-11-28T16:48:54.799000Z</published><updated>2020-11-28T16:48:54.799000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net7ad1376bc49a60d44262df902e05a32df33dfcff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#3 Result parameter for Create, Append, Open, Close</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/3/?limit=100#5970" rel="alternate"/><published>2020-11-27T20:58:49.020000Z</published><updated>2020-11-27T20:58:49.020000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net21481797cb18584f184242e3c5122b5a2c3925f3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,4 +1,4 @@&lt;/span&gt;
&lt;span class="gd"&gt;-Since exception handling is not yet supported, we&amp;amp;#39;d like a mean to handle cases where the above file operations fail.&lt;/span&gt;
&lt;span class="gi"&gt;+Since exception handling is not yet supported, we&amp;amp;#39;d like a mean to handle cases where the file operations Create, Append, Open, Close fail. An idea is to have variants with a Result parameter. These variants can be useful too when exception handling is implemented, by the way.&lt;/span&gt;
 Example for Create:
 ~~~
   --  If the operation fails, one of the Name_Error, Use_Error, Status_Error exceptions is raised.
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>#3 Result parameter for Create, Append, Open, Close</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/3/?limit=100#0748" rel="alternate"/><published>2020-11-27T20:54:45.382000Z</published><updated>2020-11-27T20:54:45.382000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net63dd32b981a336124ffbf8ee3b140a781d9121c2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,4 +1,4 @@&lt;/span&gt;
&lt;span class="gd"&gt;-Since exception handling is not yet supported, we&amp;amp;#39;d like a mean to handle case where the above file operations fail.&lt;/span&gt;
&lt;span class="gi"&gt;+Since exception handling is not yet supported, we&amp;amp;#39;d like a mean to handle cases where the above file operations fail.&lt;/span&gt;
 Example for Create:
 ~~~
   --  If the operation fails, one of the Name_Error, Use_Error, Status_Error exceptions is raised.
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>Result parameter for Create, Append, Open, Close</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/3/" rel="alternate"/><published>2020-11-27T20:51:16.613000Z</published><updated>2020-11-27T20:51:16.613000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.netc6c2949493d2ddc36e6780dbe58eaf7ada96f321</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since exception handling is not yet supported, we'd like a mean to handle case where the above file operations fail.&lt;br/&gt;
Example for Create:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="o"&gt;--&lt;/span&gt;  &lt;span class="k"&gt;If&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;operation&lt;/span&gt; &lt;span class="nv"&gt;fails&lt;/span&gt;, &lt;span class="nv"&gt;one&lt;/span&gt; &lt;span class="nv"&gt;of&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;Name_Error&lt;/span&gt;, &lt;span class="nv"&gt;Use_Error&lt;/span&gt;, &lt;span class="nv"&gt;Status_Error&lt;/span&gt; &lt;span class="nv"&gt;exceptions&lt;/span&gt; &lt;span class="nv"&gt;is&lt;/span&gt; &lt;span class="nv"&gt;raised&lt;/span&gt;.

  &lt;span class="nv"&gt;procedure&lt;/span&gt; &lt;span class="nv"&gt;Create&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;File&lt;/span&gt; : &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;out&lt;/span&gt; &lt;span class="nv"&gt;File_Type&lt;/span&gt;&lt;span class="c1"&gt;; Name : String);&lt;/span&gt;
  &lt;span class="nv"&gt;procedure&lt;/span&gt; &lt;span class="nv"&gt;Create&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;File&lt;/span&gt; : &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;out&lt;/span&gt; &lt;span class="nv"&gt;File_Type&lt;/span&gt;&lt;span class="c1"&gt;; Name : VString);&lt;/span&gt;

  &lt;span class="o"&gt;--&lt;/span&gt;  &lt;span class="nv"&gt;Variants&lt;/span&gt; &lt;span class="nv"&gt;of&lt;/span&gt; &lt;span class="nv"&gt;Create&lt;/span&gt;, &lt;span class="nv"&gt;Append&lt;/span&gt;, &lt;span class="nv"&gt;Open&lt;/span&gt;, &lt;span class="nv"&gt;Close&lt;/span&gt; &lt;span class="nv"&gt;with&lt;/span&gt; &lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Result&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="nv"&gt;parameter&lt;/span&gt;.
  &lt;span class="o"&gt;--&lt;/span&gt;  &lt;span class="k"&gt;If&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;operation&lt;/span&gt; &lt;span class="nv"&gt;fails&lt;/span&gt;, &lt;span class="nb"&gt;Result&lt;/span&gt; &lt;span class="nv"&gt;is&lt;/span&gt; &lt;span class="nv"&gt;set&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;value&lt;/span&gt; &lt;span class="nv"&gt;corresponding&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;exception&lt;/span&gt;.

  &lt;span class="nv"&gt;type&lt;/span&gt; &lt;span class="nv"&gt;File_Operation_Result&lt;/span&gt; &lt;span class="nv"&gt;is&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;Success&lt;/span&gt;, &lt;span class="nv"&gt;Erroneous_Name&lt;/span&gt;, &lt;span class="nv"&gt;Erroneous_Use&lt;/span&gt;, &lt;span class="nv"&gt;Erroneous_Status&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;

  &lt;span class="nv"&gt;procedure&lt;/span&gt; &lt;span class="nv"&gt;Create&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;File&lt;/span&gt; : &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;out&lt;/span&gt; &lt;span class="nv"&gt;File_Type&lt;/span&gt;&lt;span class="c1"&gt;; Name : String; Result: out File_Operation_Result);&lt;/span&gt;
  &lt;span class="nv"&gt;procedure&lt;/span&gt; &lt;span class="nv"&gt;Create&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;File&lt;/span&gt; : &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;out&lt;/span&gt; &lt;span class="nv"&gt;File_Type&lt;/span&gt;&lt;span class="c1"&gt;; Name : VString; Result: out File_Operation_Result); &lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>Result parameter for Create, Append, Open, Close</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/3/" rel="alternate"/><published>2020-11-27T20:51:16.613000Z</published><updated>2020-11-27T20:51:16.613000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.netbdf386109ba8344516e042e06d12ead95c34151d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 3 has been modified: Result parameter for Create, Append, Open, Close&lt;br/&gt;
Edited By: Gautier de Montmollin (gdemont)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -1,4 +1,4 @@&lt;/p&gt;
&lt;p&gt;-Since exception handling is not yet supported, we'd like a mean to handle case where the above file operations fail.&lt;br/&gt;
+Since exception handling is not yet supported, we'd like a mean to handle cases where the above file operations fail.&lt;br/&gt;
 Example for Create:&lt;br/&gt;
 ~~~&lt;br/&gt;
   --  If the operation fails, one of the Name_Error, Use_Error, Status_Error exceptions is raised.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Result parameter for Create, Append, Open, Close</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/3/" rel="alternate"/><published>2020-11-27T20:51:16.613000Z</published><updated>2020-11-27T20:51:16.613000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.netfccf2dbe98c710b2005effc56e2aff1dff82aa80</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 3 has been modified: Result parameter for Create, Append, Open, Close&lt;br/&gt;
Edited By: Gautier de Montmollin (gdemont)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -1,4 +1,4 @@&lt;/p&gt;
&lt;p&gt;-Since exception handling is not yet supported, we'd like a mean to handle cases where the above file operations fail.&lt;br/&gt;
+Since exception handling is not yet supported, we'd like a mean to handle cases where the file operations Create, Append, Open, Close fail. An idea is to have variants with a Result parameter. These variants can be useful too when exception handling is implemented, by the way.&lt;br/&gt;
 Example for Create:&lt;br/&gt;
 ~~~&lt;br/&gt;
   --  If the operation fails, one of the Name_Error, Use_Error, Status_Error exceptions is raised.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Shell_Execute variant without result</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/2/" rel="alternate"/><published>2020-11-27T20:40:07.336000Z</published><updated>2020-11-27T20:40:07.336000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net1378f8e0e67327f891fa661488a8f075524e667e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Often, the result value of Shell_Execute is not useful, so an idea is to turn Shell_Execute into the following procedures. In HAC_Pack's specification:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="k"&gt;procedure&lt;/span&gt; &lt;span class="n"&gt;Shell_Execute&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Command&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;Result&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;out&lt;/span&gt; &lt;span class="nb"&gt;Integer&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;procedure&lt;/span&gt; &lt;span class="n"&gt;Shell_Execute&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Command&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;VString&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;Result&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;out&lt;/span&gt; &lt;span class="nb"&gt;Integer&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="c1"&gt;--  In this version, the result value is discarded:&lt;/span&gt;
  &lt;span class="k"&gt;procedure&lt;/span&gt; &lt;span class="n"&gt;Shell_Execute&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Command&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;procedure&lt;/span&gt; &lt;span class="n"&gt;Shell_Execute&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Command&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;VString&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>Shell_Execute variant without result</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/2/" rel="alternate"/><published>2020-11-27T20:40:07.336000Z</published><updated>2020-11-27T20:40:07.336000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net7d708f25851da8806cf53f560b5b7b09b3ec069b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 2 has been modified: Shell_Execute variant without result&lt;br/&gt;
Edited By: Gautier de Montmollin (gdemont)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1 Block - Declare begin end</title><link href="https://sourceforge.net/p/hacadacompiler/tickets/1/?limit=100#792c" rel="alternate"/><published>2019-03-25T01:11:10.496000Z</published><updated>2019-03-25T01:11:10.496000Z</updated><author><name>Gautier de Montmollin</name><uri>https://sourceforge.net/u/gdemont/</uri></author><id>https://sourceforge.net2663bb0c3c00954b8625dca0145346f6eb8bada6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is definitely something wrong in the implementation of the block statement, see comments @ procedure Block_statement in HAC.Parser. Perhaps I should just stop the compilation on block statements, and revive this construct when I find a correct way of handling the stack. A hint in those comments points to the FOR statement which has an implicit DECLARE.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;I have disabled the support for block statements (rev. 81).&lt;br/&gt;
Better that than having an erroneous compilation...&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>