Brain-Storming about Language SYMMETRICS (Semantically)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Brain-Storming about Language SYMMETRICS (Semantically)

ThSITC
Let us look, unonimously, and also, unanimously, at NetRexx as a Langauge:

a) NEW statements, as FINALLY, and CATCH, don't need a DO !
    They do start a set of INSTRUCTIONS (note the PLURAL)

b) They do INTRODUCE a SEQUENCE of actions (called Instructions, in Netrexx)

c) I do (in my implementation, distiguish between INSTRUCTION Verbs and
DIRECTIVE Verbs)

d) you might think about DIRECTIVES as the proper :: things in ooRexx, e, g:

CLASS is a DIRECTIVE (in my terminology and implementation), as is
OPTIONS and
METHOD.

I'M also thinking that TRACE should be a DIRECTIVE ;-)
But that is my personal opinion, again (as TRACE is NO EXECUTABLE
statement, by the way ...)

e) We do, currently, have two major (ancient) pitfalls:


IF a=3 THEN instruction  ... that is ok.

IF a=3 then instruction1 ELSE instruction2 .. that SHOULD be recognized
    (that is, from my experience, one of the most common pitfalls for
newbies (which I am NOT, trust me))

f) We WILL need a SEMANTIC meaning of the ';' in the IF, THEN, ELSE, and
OTHERWISE clauses (personal opinion, again)

g) *and* we only will need an 'end if' for this whole mess ;-)

Massa Thomas.

PS: But as already said, multiple times: unanonymous, no problems, no
fight, personal opinion only, from experiences in some 15+ Computer
Languages (at least) . :-) ;-)

FULL STOP!
============================================================================

===============================================================================

--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge
Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team
(www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com