<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/dialect/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/dialect/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/dialect/discussion/</id><updated>2023-04-14T16:55:00.278000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>BUG correction: evaluation of boolean expressions with AND / OR</title><link href="https://sourceforge.net/p/dialect/discussion/137829/thread/4065e9c17a/?limit=25#dc60" rel="alternate"/><published>2023-04-14T16:55:00.278000Z</published><updated>2023-04-14T16:55:00.278000Z</updated><author><name>sbettini</name><uri>https://sourceforge.net/u/sbettini/</uri></author><id>https://sourceforge.net280427ecd881dbceed6d9efcc8724212c95d3107</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;in case someone would be still interested, after playing a day with debugger I think that this serious bug now is solved. &lt;/p&gt;
&lt;p&gt;In order to have a correct evaluation tokAnd and tokOr need to start/end new sub-expressions, so in DialectInterp.cpp you have to remove management from FirstRelational() and SecondRelational() putting this in _Expression():&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;case&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;tokAnd&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="nt"&gt;m_Token&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nt"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;(!&lt;/span&gt;&lt;span class="nt"&gt;_Expression&lt;/span&gt;&lt;span class="o"&gt;(&amp;amp;&lt;/span&gt;&lt;span class="nt"&gt;temp&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;return&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;false&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;result&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;result&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;temp&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nt"&gt;return&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;true&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;case&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;tokOr&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="nt"&gt;m_Token&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nt"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;(!&lt;/span&gt;&lt;span class="nt"&gt;_Expression&lt;/span&gt;&lt;span class="o"&gt;(&amp;amp;&lt;/span&gt;&lt;span class="nt"&gt;temp&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;return&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;false&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;result&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;result&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;||&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;temp&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nt"&gt;return&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;true&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Naturally after declaration of the temp value variable in the beginning of the procedure.&lt;/p&gt;
&lt;p&gt;Hope this helps, cheers&lt;br/&gt;
Stefano&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Is still George somewhere around?</title><link href="https://sourceforge.net/p/dialect/discussion/137829/thread/d1a295c7cb/?limit=25#33e2/5de0" rel="alternate"/><published>2023-04-07T23:59:35.222000Z</published><updated>2023-04-07T23:59:35.222000Z</updated><author><name>sbettini</name><uri>https://sourceforge.net/u/sbettini/</uri></author><id>https://sourceforge.net971318821276a2d48dae2835724907e7430c609c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I can perfectly understand George, thanks.&lt;/p&gt;
&lt;p&gt;What a shame  be not completely self-sufficient to keep going this wonderful product.&lt;br/&gt;
I learned C++ playing with your very brilliant source, and was (and still is!) a challenge and a joy.&lt;/p&gt;
&lt;p&gt;Many thanks again for your work&lt;br/&gt;
Stefano&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can someone check this on version pre 1.16?</title><link href="https://sourceforge.net/p/dialect/discussion/137829/thread/6bc9ea0012/?limit=25#5b66" rel="alternate"/><published>2023-04-07T23:43:21.044000Z</published><updated>2023-04-07T23:43:21.044000Z</updated><author><name>sbettini</name><uri>https://sourceforge.net/u/sbettini/</uri></author><id>https://sourceforge.net6d371cb13f536d8416ea4c1648e0d09b39a9e141</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Probably posting on TICKET section was not a good idea....&lt;/p&gt;
&lt;p&gt;if 1 = 2 and 2 = 3&lt;br/&gt;
print true&lt;br/&gt;
else&lt;br/&gt;
print false&lt;br/&gt;
endif&lt;br/&gt;
---&amp;gt;true (BUG)&lt;/p&gt;
&lt;p&gt;if (1 = 2) and (2 = 3)&lt;br/&gt;
print true&lt;br/&gt;
else&lt;br/&gt;
print false&lt;br/&gt;
endif&lt;/p&gt;
&lt;p&gt;---&amp;gt;false (CORRECT)&lt;/p&gt;
&lt;p&gt;Unfortunately seem to be a major problem at parser level (_Expression() and descendant tree functions) not so simple to manage, at least for me.&lt;/p&gt;
&lt;p&gt;The parens workaround is a little annoing and break the elegance of the syntax, could someone check with some old version (pre 1.16) if the problem was already here maybe from the beginning?&lt;/p&gt;
&lt;p&gt;TIA&lt;br/&gt;
Stefano&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Is still George somewhere around?</title><link href="https://sourceforge.net/p/dialect/discussion/137829/thread/d1a295c7cb/?limit=25#33e2" rel="alternate"/><published>2020-05-13T20:27:58.867000Z</published><updated>2020-05-13T20:27:58.867000Z</updated><author><name>George Harth</name><uri>https://sourceforge.net/u/georgeh/</uri></author><id>https://sourceforge.net4ca4ff3d966424b07fe7d5a2103a2c94636c2ff4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Stefano!&lt;/p&gt;
&lt;p&gt;Sorry for my very late reply.  I only just saw this.&lt;/p&gt;
&lt;p&gt;It has been many, many years since I've looked at this code.  I love the threading idea, but I couldn't even begin to make reasonable suggestions without spending a good deal of time refreshing my memory.&lt;/p&gt;
&lt;p&gt;Cheers... George&lt;/p&gt;
&lt;hr/&gt;&lt;/div&gt;</summary></entry><entry><title>Is still George somewhere around?</title><link href="https://sourceforge.net/p/dialect/discussion/137829/thread/d1a295c7cb/?limit=25#7df1" rel="alternate"/><published>2019-04-15T16:07:29.690000Z</published><updated>2019-04-15T16:07:29.690000Z</updated><author><name>sbettini</name><uri>https://sourceforge.net/u/sbettini/</uri></author><id>https://sourceforge.netafab1e881d81f9978215b55bb151ea7751c132e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm still working on this beautiful software, implementing some of less developed area.&lt;/p&gt;
&lt;p&gt;Now I would like to work on threading, and I wonder what was the original idea behind the partial work on cvalue. Being the stack and the token pointer unique inside the interpreter a simple statement "do_async" that run the interpret in a new thread could not be enough, I think that the threaded code must have at least his own copy of the current stack...&lt;br/&gt;
Maybe a complete copy of the current CDialectInterp instance? Any suggestion?  :)&lt;/p&gt;
&lt;p&gt;Thanks for your brilliant work, cheers!&lt;br/&gt;
Stefano&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Guilect?</title><link href="https://sourceforge.net/p/dialect/discussion/137830/thread/805ff0d3/" rel="alternate"/><published>2015-02-19T14:04:29.036000Z</published><updated>2015-02-19T14:04:29.036000Z</updated><author><name>Milville</name><uri>https://sourceforge.net/u/jminabla/</uri></author><id>https://sourceforge.netbfb83815081a53ed4df752c2d0a4834d25d03c6a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Unbelievable: I was expecting to be the last one in the world to use Dialect...&lt;br /&gt;
In case on need: I keep all sources files somewhere in one server.&lt;br /&gt;
Cheers&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Guilect?</title><link href="https://sourceforge.net/p/dialect/discussion/137830/thread/805ff0d3/" rel="alternate"/><published>2015-02-18T16:58:46.357000Z</published><updated>2015-02-18T16:58:46.357000Z</updated><author><name>Mr.NonObservant</name><uri>https://sourceforge.net/u/mrnonobservant/</uri></author><id>https://sourceforge.net4ea9cb27e4a7f12a0fe949c73de2db60dd3c4c5b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Guilect GUI Editor and Sample Source &lt;br /&gt;
&lt;a href="http://www.mediafire.com/download/fph712tls09p3qw/Guilect16.zip" rel="nofollow"&gt;http://www.mediafire.com/download/fph712tls09p3qw/Guilect16.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.mediafire.com/download/fph712tls09p3qw/Guilect16.zip" rel="nofollow"&gt;http://www.mediafire.com/download/fph712tls09p3qw/Guilect16.zip&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Waybackmachine.org</title><link href="https://sourceforge.net/p/dialect/discussion/137829/thread/b24ca2d8/" rel="alternate"/><published>2015-02-18T16:49:48.452000Z</published><updated>2015-02-18T16:49:48.452000Z</updated><author><name>Mr.NonObservant</name><uri>https://sourceforge.net/u/mrnonobservant/</uri></author><id>https://sourceforge.net1bf10fad0716555fd4dadd64caeb5acdae0f496e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I got GUILECT and a bunch of source examples for dialect from Guillect himself I promised to periodically repost links to it for others to peruse so here it is.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.mediafire.com/download/xz1otkz8jr4e31e/Dialect_source_2.zip" rel="nofollow"&gt;http://www.mediafire.com/download/xz1otkz8jr4e31e/Dialect_source_2.zip\&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.mediafire.com/download/fph712tls09p3qw/Guilect16.zip" rel="nofollow"&gt;http://www.mediafire.com/download/fph712tls09p3qw/Guilect16.zip&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>