<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, Parser Differences</title>
    <link>http://www.mapleprimes.com/posts/35973-Parser-Differences</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 20:59:31 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 20:59:31 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, Parser Differences</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, Parser Differences</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences</link>
    </image>
    <item>
      <title>1D vs Command Line</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences?ref=Feed:MaplePrimes:Parser Differences:Comments#comment60144</link>
      <itunes:summary>&lt;p&gt;Your penultimate example is surprising; it indicates that the Standard 1D parser differs from the command-line parser.&amp;nbsp; That is&lt;/p&gt;
&lt;pre&gt;
(**) proc(x); local a; end proc;
&lt;/pre&gt;
&lt;p&gt;is syntactically acceptable in command-line Maple.&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, Parser Differences</description>
      <guid>60144</guid>
      <pubDate>Wed, 13 Jan 2010 11:07:05 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
    <item>
      <title>syntactically acceptable?</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences?ref=Feed:MaplePrimes:Parser Differences:Comments#comment60145</link>
      <itunes:summary>&lt;p&gt;I get an error here:&lt;/p&gt;
&lt;pre&gt;
    |\^/|     Maple 13 (IBM INTEL NT)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2009
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 &amp;lt;____ ____&amp;gt;  Waterloo Maple Inc.
      |       Type ? for help.
&amp;gt; proc(x); local a; end proc;
Error, unexpected local declaration in procedure body
&amp;gt; quit
memory used=0.9MB, alloc=1.1MB, time=0.06
&lt;/pre&gt;
&lt;pre&gt;

&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, Parser Differences</description>
      <guid>60145</guid>
      <pubDate>Wed, 13 Jan 2010 11:49:43 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
    <item>
      <title>clarification</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences?ref=Feed:MaplePrimes:Parser Differences:Comments#comment60146</link>
      <itunes:summary>&lt;p&gt;I can explain a little more what I mean when I state that the following is a bug.&lt;/p&gt;
&lt;pre&gt;
# valid in 2D but not in 1D
2.sin(x);
&lt;/pre&gt;
&lt;p&gt;In 1D Maple notation, the decimal point has a greater precedence in parsing than does the infix `.` multiplication operator. So the above example is actually implicit multiplication by 2. the floating-point value. So, really, this is just another implicit multiplication example.&lt;/p&gt;
&lt;p&gt;The system has anomalies. Precedence is not merely an operator issue (see ?operators,precedence ), but is also a parsing issue. Where can one see it documented that the decimal point has a &amp;quot;greater parsing precedence&amp;quot; than does infix `.`, but less than infix `..`?&lt;/p&gt;
&lt;pre&gt;
# In either entry mode, this gives a range
2..sin(x);
&lt;/pre&gt;
&lt;p&gt;At the very least, this is a missing documentation bug (much like &lt;a href="http://www.mapleprimes.com/blog/patrickt/todayilearnedaboutsoftwarefloatingpointnumbers#comment-30909"&gt;this&lt;/a&gt; ). Why doesn't ?syntax mention 2D Math's implicit multiplication, or link to a 2D Math syntax page?&lt;/p&gt;
&lt;p&gt;While I'm at it, the ?syntax help-page describes the ambiguity of a^b^c and the need for brackets, in 1D Maple notation where it makes sense. But the ?operators,precedence help-page has the same explanation in 2D Math notation, where it doesn't make any sense.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, Parser Differences</description>
      <guid>60146</guid>
      <pubDate>Wed, 13 Jan 2010 21:12:49 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>linux 64</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences?ref=Feed:MaplePrimes:Parser Differences:Comments#comment60147</link>
      <itunes:summary>&lt;p&gt;Interesting:&lt;/p&gt;
&lt;pre&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; |\^/|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maple 13 (X86 64 LINUX)
._|\|&amp;nbsp;&amp;nbsp; |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2009
&amp;nbsp;\&amp;nbsp; MAPLE&amp;nbsp; /&amp;nbsp; All rights reserved. Maple is a trademark of
&amp;nbsp;&amp;lt;____ ____&amp;gt;&amp;nbsp; Waterloo Maple Inc.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type ? for help.
&amp;gt; proc(x); local a; end proc;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc(x) local a;&amp;nbsp; end proc

&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, Parser Differences</description>
      <guid>60147</guid>
      <pubDate>Wed, 13 Jan 2010 22:15:07 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
    <item>
      <title>or worrying...</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences?ref=Feed:MaplePrimes:Parser Differences:Comments#comment60148</link>
      <itunes:summary>&lt;p&gt;Do you think that this is a 64 bit issue? (later I will boot into Linux 32 and check).&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, Parser Differences</description>
      <guid>60148</guid>
      <pubDate>Wed, 13 Jan 2010 22:22:49 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
    <item>
      <title>In Linux 32</title>
      <link>http://www.mapleprimes.com/posts/35973-Parser-Differences?ref=Feed:MaplePrimes:Parser Differences:Comments#comment60149</link>
      <itunes:summary>&lt;p&gt;I get also an error message:&lt;/p&gt;
&lt;pre&gt;
    |\^/|     Maple 13 (IBM INTEL LINUX)
._|\|   |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2009
 \  MAPLE  /  All rights reserved. Maple is a trademark of
 &amp;lt;____ ____&amp;gt;  Waterloo Maple Inc.
      |       Type ? for help.
&amp;gt; proc(x); local a; end proc;
Error, unexpected local declaration in procedure body
&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, Parser Differences</description>
      <guid>60149</guid>
      <pubDate>Thu, 14 Jan 2010 10:18:14 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
  </channel>
</rss>