home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / a293_1 / !AForth_Docs_QuickIntro < prev    next >
Encoding:
Text File  |  1993-04-12  |  1.5 KB  |  12 lines

  1.  
  2. A Quick Introduction to AForth
  3.  
  4.  
  5. For those who have some experience using Forth, here is a short introduction to AForth. AForth is an implementation of the draft proposal standard Forth called ANS Forth. The standard will hopefully some day become an approved ANSI standard. ANS Forth has been developed upon previous standard efforts such as FORTH-83 and FORTH-79 but also upon common practices within the Forth community. ANS Forth thus mostly resembles FORTH-83, though with a few additions and changes. The main goal of the standard is to make ANS Forth programs portable over a wide range of platforms.
  6.  
  7. AForth is a language module like BBC ARM BASIC. It is entered by typing 'Forth' at the commandline, optionally succeded by commandline options. Once you are within Forth you can list all the words (commands) by typing 'WORDS'. Note that AForth is case insensitive, so you can just as well type 'words'. You leave AForth by typing 'BYE'.
  8.  
  9. If you have previously used another Forth, such as FIG-FORTH or FORTH-83, you will not find AForth much different from these. ANS Forth has though some new additions, such as data size abstraction, file handling, dynamic memory allocation etc. etc.
  10.  
  11. The directories 'Includes' and 'Examples' within the !AForth directory contain some Forth source files which you can load by typing 'Forth <file-name>' at the commandline. Some of the files in the 'Examples' directory will run automatically if double-clicked (provided you have also double-clicked on the !AForth application directory).
  12.