"L" A-B-C Project
A series of tutorials for programming languages of interest. The
tutorial for a given language "L" consists of a sequence of sample
programs, each demonstrating the most straight-forward to accomplish
some basic operation in that language. The sample programs start with
"Hello World" and increase in complexity through terminal and file
nput/ output. The sample programs can be used as building blocks to
make production programs.
Sample programs should be short and straight-forward. Techniques
should be generic and as portable aspossible. Generally avoid
platform-dependent techniques in favor of genericity.
(May create "<language>-on-<platform>" A-B-C where platform-dependent
techniques have particularly great advantage, or where generic
techniques are particularly disadvantageous.)
* The A-B-Cs
1. Hello: Print literal string on terminal.
2. Print string from variable on terminal.
3. Echo: Accept user input, print on terminal.
4. Input from command line, print on terminal.
* Languages
- C
- C-on-VMS
- Macro-20
- Common Lisp
- MAC Lisp
- Scheme
- BASIC-10
- HP BASIC
- FORTRAN
- BLISS
Response:
text/plain