Tuesday, February 21, 2006

Reading in ALGOL, Compiling in ALGOL

We are about ready to move on to the next programming language: ALGOL.

Here is a page with some free ALGOL compilers and interpreters. Try installing one and see if the following "hello world" code will run:

'BEGIN'
'COMMENT' Hello World in Algol 60;
OUTPUT(4,'(''('Hello World!')',/')')
'END'
Or in ALGOL 68:
( # Hello World in Algol 68 # print(("Hello World!",newline)))
In the book, read from pg. 95-121.

Here is a Wikipedia article on ALGOL:

No comments: