A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1079 ====================================================================== Reported By: tobiasm Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 1079 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Under Review Name: Tobias Martens Organization: User Reference: Section: bc Page Number: - Line Number: - Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2016-10-05 23:40 UTC Last Modified: 2016-10-06 08:09 UTC ====================================================================== Summary: focus on bc being an arithmetic language ======================================================================
---------------------------------------------------------------------- (0003396) Vincent Lefevre (reporter) - 2016-10-06 08:09 http://austingroupbugs.net/view.php?id=1079#c3396 ---------------------------------------------------------------------- Mathematica also complains about the use of --: In[1]:= 3-- 2 During evaluation of In[1]:= Decrement::rvalue: 3 is not a variable with a value, so its value cannot be changed. >> Out[1]= 2 3-- (the space after -- in the input is automatically added by the interactive UI, but the problem would be the same in a non-interactive way or with copy-paste). Even when writing math expressions on a paper, I would never write 3--2, or even with spaces: 3 - -2. I would always put parentheses: 3 - (-2). As a language, it entirely depends on whether one would be allowed to add new operators like "--" (for whatever meaning). Issue History Date Modified Username Field Change ====================================================================== 2016-10-05 23:40 tobiasm New Issue 2016-10-05 23:40 tobiasm Status New => Under Review 2016-10-05 23:40 tobiasm Assigned To => ajosey 2016-10-05 23:40 tobiasm Name => Tobias Martens 2016-10-05 23:40 tobiasm Section => bc 2016-10-05 23:40 tobiasm Page Number => - 2016-10-05 23:40 tobiasm Line Number => - 2016-10-06 07:41 Vincent LefevreNote Added: 0003395 2016-10-06 07:41 Vincent LefevreNote Edited: 0003395 2016-10-06 07:42 Vincent LefevreNote Edited: 0003395 2016-10-06 08:02 Vincent LefevreNote Edited: 0003395 2016-10-06 08:09 Vincent LefevreNote Added: 0003396 ======================================================================