mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Languages -- Ancient & Modern, Human & Machine

Reply
 
Thread Tools
Old 2015-06-21, 20:27   #1
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

1010910 Posts
Default begin co Algol 68 co ; skip; co The computer language co end

Anyone else here knows how to write code in Algol 68?
xilman is offline   Reply With Quote
Old 2015-06-21, 20:48   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

216438 Posts
Cool

I used to know it in 1980. But then again I could play oboe back then.

These days, all bets are off.
Batalov is offline   Reply With Quote
Old 2015-06-22, 01:03   #3
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

26·113 Posts
Default

Quote:
Originally Posted by xilman View Post
Anyone else here knows how to write code in Algol 68?
I did extensive work with it back in 1980-84. How many I help?
R.D. Silverman is offline   Reply With Quote
Old 2015-06-22, 02:09   #4
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

7,699 Posts
Default

At least 366 sample programs here: http://rosettacode.org/wiki/Category:ALGOL_68
Xyzzy is offline   Reply With Quote
Old 2015-06-22, 08:07   #5
Nick
 
Nick's Avatar
 
Dec 2012
The Netherlands

23·181 Posts
Default

Donald Knuth's original papers on the development of ALGOL 60 are available in a book (ISBN 9781575863825) and historically interesting. The same book contains his seminal papers "Top-Down Syntax Analysis" and "On the Translation of Languages from Left to Right" in which LL(k) and LR(k) parsing were first defined.
Nick is offline   Reply With Quote
Old 2015-06-22, 08:34   #6
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

11·919 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
I did extensive work with it back in 1980-84. How many I help?
I'm trying to bring it back into more widespread use. It's a beautiful language that deserves much more than a display case in a museum.

A list of implementations is given on the Rosetta Code page http://rosettacode.org/wiki/Category...mplementations and a very good implementation is Algol 68 Genie, which runs on most everything. and has excellent documentation. A new sub-version release is likely to come along soon because I've been working with the author by submitting bug reports and discussing usability enhancements.

There is a LinkedIn SIG for Algol 68, which is where I was first stimulated to start using the language again. I've also started the very first (AFAIK) GitHub project at https://github.com/Brnikat/PuzzleSolver and have contributed a few examples to the Rosetta Code repository.

(The GitHub stuff is incomplete and is primarily a vehicle for me to regain fluency in the language.)

Last fiddled with by xilman on 2015-06-22 at 08:36 Reason: (Add parenthesized sentence.)
xilman is offline   Reply With Quote
Old 2015-06-22, 12:19   #7
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

26×113 Posts
Default

Quote:
Originally Posted by xilman View Post
I'm trying to bring it back into more widespread use. It's a beautiful language that deserves much more than a display case in a museum.
Absolutely. It is my favorite language. I was working on a very large (2 million LOC) application known as EPS: Econometric
Programming System. (for a company that was known then as Data Resources)

It was to economics and econometrics what Maple is to symbolic math.

It had a comprehensive internal modeling language, along with LP solvers/optimizers, time series analysis, a large array of economic
functions, Fourier tools, Gauss-Seidel for solving large non-linear systems,
access to what was then the worlds largest on-line economic data base, etc.

It was a single source file! (Algol assigns sequence numbers to its LOC). Every so often the source would be printed........
onto blue microfiche. It was read with a microfiche reader......
R.D. Silverman is offline   Reply With Quote
Old 2015-06-22, 13:49   #8
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

11×919 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Absolutely. It is my favorite language.
Mine too. It has an elegance that very few other languages show and yet, with a decent compiler, competitive in efficiency with Fortran or C and much better than some more recent and more popular languages.

I learned it while an undergraduate and used it for my doctorate research. After that it was unavailable on any systems I used until I discovered Algol 68 Genie.

A68g is nice for its "unlimited" arithmetic precision for its LONG LONG types and so it is easy to write CNT applications as long as they're not time critical. In the fullness of time, I may see about the use of GMP as an option for multi-precision arithmetic like Perl's bigint library choices. I submitted a first cut of an RSA demo today, for instance.

If you're interested, and anyone else here too of course, we could start writing freeware in Algol 68.
xilman is offline   Reply With Quote
Old 2015-06-27, 09:30   #9
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

100111011111012 Posts
Default

Several other Rosetta Code examples are now in place. Take a look at Call a foreign language function for some particularly sick code.

One task, Hello world/Newline omission, can not be implemed at present in Algol 68 Genie. It will be in the next release because I've persuaded Marcel that calling newline just before stand out is closed is a mis-feature.

Several other bugs and mis-features in the interpreter and documentation have also been fed back to Marcel.
xilman is offline   Reply With Quote
Old 2015-07-05, 11:29   #10
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

523 Posts
Default

It is great to see the interest in Algol68, which is also my favourite language. I was at Royal Signals and Radar Establishment (RSRE) in the UK at the time that Mike Foster, Ian Currie and Sue Bond were building compilers for the language and trying to pursuade ICL and other computer companies to offer commercial versions of them. Sadly we didn't succeed.

I did take a look at Algol 68 genie but I didn't do much with it as I have not had the time to see if it compiles with native WIndows compilers targetting x64 (I am not interested in obsolescent win32 versions or those built with *nix on Windows environments).
Brian Gladman is offline   Reply With Quote
Old 2015-07-06, 12:37   #11
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

11·919 Posts
Default

Hi Brian,

I was >99% certain that you would also be a A68 fan given what I knew of your background. I urge you to try building Genie with a modern Win64 system. It's pretty likely that V 2.9 will be released in the relatively near future and now would be a good time to look for portability issues.

Are you a member of the LinkedIn group? That's where most of the discussion is going on.


My experience of A68 started with ICL systems but that was at Oxford University so perhaps not what you would call "commercial".


Paul
xilman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
suggested computer language for explaining some algorithms bhelmes Software 11 2019-07-19 07:10
When did PrimeNet begin rubberstamping results? Chuck PrimeNet 64 2014-01-06 01:22
In which country do you suggest me to begin my act Unregistered Information & Answers 0 2010-11-30 23:34
When did Rock'n'Roll begin? davieddy Lounge 9 2009-08-25 20:01
Can I skip the Self-Test? Deamiter Software 1 2002-11-28 17:54

All times are UTC. The time now is 00:30.

Tue Oct 20 00:30:24 UTC 2020 up 39 days, 21:41, 0 users, load averages: 3.04, 2.60, 2.30

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.