Movatterモバイル変換


[0]ホーム

URL:


The ABC Programming Language: a short introduction

(Alsoavailable in Japanese)

New:The Originsof Python - An article by Lambert Meertens on the origins of ABC, and itsinfluence on Python.

New:Implementation forthe Raspberry Pi!.

The ABC Programmer'sHandbook is available online.

ABC is an interactive programming language and environment for personalcomputing, originally intended as a good replacement for BASIC. It was designedby first doing atask analysis of the programming task.

ABC is easy to learn (an hour or so for someone who has already programmed),and yet easy to use. Originally intended as a language for beginners, it hasevolved into a powerful tool for beginners and experts alike.

Here is an example functionwords to collect the set of all wordsin a document:

   HOW TO RETURN words document:      PUT {} IN collection      FOR line IN document:         FOR word IN split line:            IF word not.in collection:               INSERT word IN collection      RETURN collection

Some features of the language:

Some features of the environment:

Here follows a quick overview of the programming language ABC and itsimplementations, and a few examples of ABC programs. Full documentation aboutABC is in the ABC Programmer's Handbook (details below).

MORE INFORMATION

Full details of ABC and the implementations, along with many exampleprograms are in the book"The ABCProgrammer's Handbook" by Leo Geurts, Lambert Meertens and StevenPemberton, originally published by Prentice-Hall (ISBN 0-13-000027-2), andlater reissued by Bosko Books (ISBN 0-9547239-4-5).

See also Steven Pemberton,"An Alternative Simple Language andEnvironment for PCs", IEEE Software, Vol. 4, No. 1, January 1987, pp.56-64.

There are also copies of an irregular newsletter (see above). Back issuesnot online are no longer available.

Email:steven.pemberton@cwi.nl


Steven Pemberton,CWI,AmsterdamLast modified: 2024-02-09
[8]ページ先頭

©2009-2025 Movatter.jp