~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


ABC programming language - Wikipedia

<<Up     Contents

ABC programming language

Redirected from ABC (programming)

ABC is an imperative language[?] and programming environment[?] from CWI[?], Netherlands. It is interactive, structured, high-level, and easy to learn and use. It is a general-purpose programming language which you might use instead of BASIC, Pascal, or AWK. It is not a systems-programming language but is good for teaching or prototyping.

ABC has only five data types that can easily be combined; strong typing[?], yet without declarations; data limited only by memory[?]; refinements to support top-down programming; nesting by indentation[?]. Programs are typically around a quarter the size of the equivalent Pascal or C program, and more readable.

ABC includes a programming environment with syntax-directed editing[?], suggestions, persistent variables[?] and multiple workspaces and infinite precision arithmetic[?].

An example function words to collect the set of all words in 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

Interpreter/compiler, version 1.05.02, by Leo Geurts[?], Lambert Meertens[?], Steven Pemberton[?] <Steven.Pemberton@cwi.nl>. ABC has been ported to Unix, MS-DOS, Atari, Macintosh.

ABC was one of the influences in the design of the Python programming language.

See also Programming

External links


This article (or an earlier version of it) contains material from FOLDOC, used with permission.

wikipedia.org dumped 2003-03-17 with terodump




 
 
Dendritic Pink Peru OPAL jewel tumble polished jewelry gemstone single gorgeous PRETTY NICE peruvian
 Dendritic Pink Peru OPAL jewel tumble polished jewelry single gorgeous PRETTY NICE peruvian 
 
14 gram unique patterned golden brown ARAGONITE Cab cabbing jewelry wirewrap rough tumble polished
 14 gram unique patterned golden brown ARAGONITE Cab cabbing jewelry wirewrap tumble polished 
 
6 carat Golden canary yellow SCAPOLITE gem stone Facet rough gemstone Faceting gems jewel crystal 3
 6 carat Golden canary yellow SCAPOLITE ing jewel crystal 3 
 
8 gram orange Calcite or Aventurine Quartz gem stone Tumble polished cab cabbing rough 43 carat ct
 8 gram orange Calcite or Aventurine Quartz Tumble polished cab cabbing 43 carat ct 
 
8 carat Picasso Jasper gem stones Polished rectangle blocks Cabbing cab cabochon rough gemstones
 8 carat Picasso Jasper Polished rectangle blocks Cabbing cab cabochon