Recent

Author Topic: Pascal origin, where does it come from  (Read 20882 times)

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Pascal origin, where does it come from
« Reply #60 on: October 15, 2020, 05:24:20 pm »

Modula-2 of course had no special string type, but instead used (open?) arrays with zero origin.

MarkMLl

And Miele Modula 2 for  OS/9  (realtime Unix) had not even one library for strings.
The very simple routines  like insert, delete , concat you had to do on your own.

Not such a big support for Modula 2.

Winni

MarkMLl

  • Hero Member
  • *****
  • Posts: 6686
Re: Pascal origin, where does it come from
« Reply #61 on: October 15, 2020, 06:08:55 pm »
And having to check for both an index being within bounds and the current character not being zero is painful (particularly with people saying that break/continue/exit are tantamount to goto so must be cast out)... although I wish more C programs took the trouble to do so.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Blade

  • Full Member
  • ***
  • Posts: 177
Re: Pascal origin, where does it come from
« Reply #62 on: September 12, 2021, 05:27:30 pm »
1. Why Niklaus Wirth moved on from Pascal to Modula, and then to Oberon?
2. Is there any current worth mentioning professional software built with Modula or Oberon?
3. Is Modula or Oberon any better than modern Pascal?

I think many people are curious about at least the first 2 questions, which are very good ones.  The 3rd question, of Pascal versus Modula and Oberon, has a lot to do with preference.  Though a huge factor is Pascal having the corporate backing of Apple and then Borland/Embarcadero.

In a more recent interview done with Wirth (link below), there is more insight given into his thinking in regards to developing Modula and Oberon.  It appears that in the case of the time frame of him doing Modula and Oberon, he was greatly curious about OS and hardware development.  As a scientist, Wirth had a degree in electrical engineering and built his own TVs as a younger man.  This background also corresponds with him developing the Lilith computer (link below).

In an alternate universe, Niklaus Wirth could have been the European replacement of Bill Gates or Steve Jobs.  His Lilith computer, along with the operating system based on Modula-2 and Oberon came out in a competing time frame.  Oberon, the OS, was out on computers when Windows 3.1 was being developed.  In fact, a lot of research will have to be done to ascertain which was more advanced.  It appears Oberon was in many respects, though eventually Microsoft's success, new versions, and money would mostly overwhelm all competitors. 

His interests were beyond just programming languages.  It could be argued that he didn't so much abandon Pascal, as he had his sights on higher goals or other pursuits in the computer industry (to include RISC Architecture and FPGA).  We also have to remember, that he was an consultant on the development of Clascal (which became Object Pascal), so he still had his "fingers in the mix" there too.  Lastly, an element of this is that Wirth retired in 1999 (was a professor since 1968).  So his level of involvement in various pursuits appears to be not as vigorous as his younger days.  Though even in retirement, he has done a lot of amazing things.

https://youtu.be/OEmMx55SF8U
(Interview with Niklaus Wirth, subtitles are in English)

https://en.wikipedia.org/wiki/Lilith_(computer)
(DISER Lilith, custom built computer with AMD processor, uses Modula-2 to build OS, started project in 1978)

MarkMLl

  • Hero Member
  • *****
  • Posts: 6686
Re: Pascal origin, where does it come from
« Reply #63 on: January 01, 2022, 08:07:21 pm »
Apropos language history, somebody elsewhere has just pointed me at https://www.cl.cam.ac.uk/~mr10/cpl2bcpl.pdf by Martin Richards, discussing the history of CPL (an ALGOL-60 derivative), BCPL, and hence briefly C.

It has some interesting observations on the gradual changes of character sets as the industry moved towards a definition of ASCII, for example CPL used § and § for blocks, which was superseded first by $(  $) and later {  }.

It's also interesting that CPL and BCPL apparently used "Pascal style" calling convention, unlike C which has its own.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

MarkMLl

  • Hero Member
  • *****
  • Posts: 6686
Re: Pascal origin, where does it come from
« Reply #64 on: August 05, 2022, 11:36:58 am »
A very belated comment on := as a digraph to get it into the record.

Thanks for that. I can certainly see that they've used it as a de-facto equivalent, but skimming the paper I can't see it defined as a digraph etc. My experience- although I'm entirely happy to be proven wrong- is that computers of the ALGOL-60 era very often had caps-only 64-codepoint character sets with arrows (and inequalities etc.) available, and that manufacturers had their own list of equivalents to allow the industry-standard IBM cardpunches to be used.

Apparently := was in IAL (AKA ALGOL 58), where it was allegedly "forced in" by the American delegates overriding the preference of Zuse/Rutishauser. See https://en.wikipedia.org/wiki/Plankalk%C3%BCl#Assignment_operation and the Bauer reference section 6 and footnote 9.

So contrary to my earlier belief := was never a digraph for left-assigning ←, but instead was adopted (with an arrow as an alternative) as a replacement for the Rutishauser right-assigning ⇒ or Zuse's unique glyph which I believe has no modern codepoint.

https://en.wikipedia.org/wiki/File:Ergibt-Zeichen.png

MarkMLl
« Last Edit: August 05, 2022, 11:41:01 am by MarkMLl »
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

MarkMLl

  • Hero Member
  • *****
  • Posts: 6686
Re: Pascal origin, where does it come from
« Reply #65 on: November 15, 2023, 11:25:29 am »
Yes, information about Pascal's and Wirth's connection to Ada is hard to come by too, though in looking at Ada, it becomes readily apparent.  Even Wiki makes no mention of Wirth's influence on Ada, though gives a brief mention of Pascal.

Adding to a rather old thread for historical completeness. Via https://en.wikipedia.org/wiki/High_Order_Language_Working_Group I find http://archive.adaic.com/pol-hist/history/holwg-93/holwg-93.htm hence

Quote
David Fisher acted as the Secretariat for the HOLWG, and so became the one who assembled, sifted, correlated, and integrated the requirements, since during the first couple of years, this was the primary action and output of the HOLWG. Fisher had designed machines at Burroughs and taught at Vanderbilt University, before joining IDA. His position was that of the technical heart of the project. It would be improper to say that he "wrote" the requirements, since this was an integration effort of Service needs with worldwide technical input. However, he that produced the final requirements documents; these were his offspring.

The resulting document, entitled STRAWMAN [HOLWG, 1975a], was forwarded to the Military Departments, other government agencies, the academic community, and industry. Additionally, a number of technical experts outside the United States were solicited for comments. The European community was especially responsive, particularly valuable since language research had been more active there than in the United States over the previous decade. ONR London paid several academics (Dijkstra, Hoare, Wirth, ...) to provide inputs, but we got more valuable aid from European industry.

Burroughs was, of course, heavily into ALGOL-60 derivatives for its mainframes, which by the mid-70s would probably have been the B6800 series with semiconductor memory rather than core.

I can't find any more information on who the other paid consultants were, but it's interesting to speculate that there was substantial overlap with the authors and supporters of the ALGOL-68 "Minority Report", i.e. Dijkstra, Duncan, Garwick, Hoare, Randell, Seegmuller, Turski, Woodger, Naur and Wirth.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018