Jump to content

Rosetta Code:Village Pump/Dialects: Difference between revisions

short compatibility analysis
m (removed pre tags)
(short compatibility analysis)
Line 192:
 
One thing about a dialect (as used in Wikipedia) is that it says its a ''relatively small variation or extension of the language''. I can understand when a version of an interpreter/compiler adds functions, functions with more features/options, and maybe even statements. But ooRexx is a major change/enhacement (I think) in capability and syntax. That ooRexx can accept almost all classic REXX syntax isn't the issue, it has to do with the underlining concepts. In the talk section, it was stated that the '''C++''' (object-oriented) isn't a dialect of '''C'''. Now, I'm not claiming that either statement is definitive, it probably just boils down to how many people believe one side of the issue or the other. Judging by the lack of a concise definition, I can only assume this matter is mainly a matter of interpretation as the separation of languages from dialects may end up being a case of degree. -- [[User:Gerard Schildberger|Gerard Schildberger]] 14:07, 9 July 2012 (UTC)
----
Much of the above digresses from my question how to handle Rexx programs that can run on classis AND ooRexx
without duplicating code or creating variants where not necessary.
I looked at (and tested) the alphabetically first 20 Rexx solutions and found 15 of them to be compatible.
The five that are not (and the incompatibilities:
24 game/Solve L=
Align columns V1 o v2 t.=; @.= _=
Anagrams @.
Apply a callback to an array a.=; b.=
Array concatenation p= f=
So the major hangup here is the use of assignment without righthandside
and second comes the use of symbols (symbol characters that ooRexx does not support.
Fixing these would be easy and allow for stating that "all Rexx programs shown here can run under ooRexx"
A statement I would love to make and you don't.
ooRexx IS a grandchild of original Rexx because it was raised in the IBM family.
Now it has found a new home in RexxLA and is open source, free, stable and top quality.
Whether there are objects inside I don't care. I personally don't use those on the ooutside. Too old for that.
--[[User:Walterpachl|Walterpachl]] 02:33, 10 July 2012 (UTC)
2,295

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.