BLISS
BLISS merupakan bahasa pengaturcaraan sistem yang dimajukan di Universiti Carnegie Mellon oleh W. A. Wulf, D. B. Russell, dan A. N. Habermann sekitar 1970. Ia kemungkinannya bahasa pengaturcaraan sistem paling terkenal sehingga C muncul beberapa tahun kemudiannya. Semenjak itu, C berkembang dan BLISS lesap begitu sahaja. (Semasa C baru bermula, beberapa projek dalaman Bell Labs sedang berdebat mengenai kekuatan BLISS vs. C.)
Contoh kod sumber
suntingContoh berikut diambil dari buku Panduan Mengaturcara Bliss (Bliss Programming Manual):
MODULE E1 (MAIN = CTRL) =
BEGIN
FORWARD ROUTINE
- CTRL,
- STEP;
ROUTINE CTRL =
!+
! This routine inputs a value, operates on it, and
! then outputs the result.
!-
- BEGIN
- EXTERNAL ROUTINE
- GETNUM, ! Input a number from terminal
- PUTNUM; ! Output a number to terminal
- LOCAL
- X, ! Storage for input value
- Y; ! Storage for output value
- GETNUM(X);
- Y = STEP(.X);
- PUTNUM(.Y)
- END;
ROUTINE STEP(A) =
!+
! This routine adds 1 to the given value.
!-
- (.A+1);
END
ELUDOM
Versi
sunting- BLISS-10
- BLISS-11 - a cross compiler for the PDP-11
- BLISS-16
- BLISS-16C - DEC version of BLISS-11
- BLISS-32
- BLISS-36
- BLISS-64
- Common BLISS - portable subset
Rujukan
sunting- Wulf, W. A.; Russell, D. B.; Habermann, A. N. (1971). BLISS: A Language for Systems Programming. CACM 14(12):780-790, Dec 1971
- Wulf, W. A.; Johnson, R. K.; Weinstock, C. B.; Hobbs, S. O.; Geschke, C. M. (1975). The Design of an Optimizing Compiler. New York: Elsevier, ISBN 0-444-00158-1.
Pautan luar
sunting- BLISS Manual at DECUS Diarkibkan 2006-12-07 di Wayback Machine
- Site with PDFs of manuals Diarkibkan 2008-01-25 di Wayback Machine
- Alan Lehotsky posting about BLISS at DEC
- Language Reference Manual[pautan mati kekal]
- "BLISS: A Language for Systems Programming" by W.A. Wulf, D.B. Russell, and A.N. Habermann. (PostScript)
- Session notes for "Introduction to BLISS" by Matthew D. Madison. (PostScript)