>> The main claim to fame that this package has is that is is able to override 
>> the normal precedence of AND conjuctions and have OR conjunctions be 
>> evaluated at a higher priority, by adding an extra pair of parentheses 
>> around two or more logic expressions conjoined by OR:

Yikes!

There was an expression used by the civil service in the British comedy show 
"Yes, Prime Minister" that springs to mind : "That is a very brave decision, 
Prime Minister".

As a heavy user of HLASM SPMs, this goes against the accepted parsing of most 
other constructs and also the "rule of least astonishment".

If you absolutely must have that functionality, can I suggest that you have a 
more obvious indicator - something like "AND_MORE" or "OR_MORE" so that it is 
obvious to the code reader what is going on.

Rob Scott
Rocket Software



-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of FancyDancer
Sent: 13 September 2020 12:18
To: [email protected]
Subject: Re: Structured Programming Macro Package

EXTERNAL EMAIL





I wrote this set of macros a number of years ago, and used it in a number of 
programs. I recently looked at the package again, tested it, and found a number 
of shortcomings. There were cases where the input was legitimate, according to 
my design, and the output was wrong.

I dived into an intensive redesign, and by last week the system appeared to be 
working perfectly: it correctly produced code for every test case that I have 
been able to think of. So the unit test phase is complete, and it is ready for 
Alpha Test.

If anyone on the list has an interest in evaluating (and testing) this package, 
please let me know?

The main claim to fame that this package has is that is is able to override the 
normal precedence of AND conjuctions and have OR conjunctions be evaluated at a 
higher priority, by adding an extra pair of parentheses around two or more 
logic expressions conjoined by OR:

IF (CLC,A,Z,NE),AND,((CLC,B,Z,NE),OR,(CLC,C,Z,NE))

Thank you.

Dan Snyder

================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

Reply via email to