2023 2024 Student Forum

2023 2024 Student Forum (https://management.ind.in/forum/)
-   Main Forum (https://management.ind.in/forum/main-forum/)
-   -   Bbc bcpl (https://management.ind.in/forum/bbc-bcpl-222100.html)

Unregistered 14th November 2015 12:25 PM

Bbc bcpl
 
I am doing MCA degree from Anna University and came to know about BBC BCPL language want to know more about this. Will you please tell me some details of BBC BCPL language and also provide me sample example of this BCPL language?

Shaleen 14th November 2015 12:32 PM

Re: Bbc bcpl
 
BCPL (Basic Combined Programming Language) is a procedural, imperative, and structured computer programming language designed by Martin Richards of the University of Cambridge in 1966.

It was designed so that small and simple compilers could be written for it; reputedly some compilers could be run in 16 kilobytes. Further, the Richards compiler, itself written in BCPL

Please find the below attachment to get the BCPL Book on BBC Micro Computer:

BBC BCPL Book
https://management.ind.in/img/l/Bbc-bcpl-1.jpg
https://management.ind.in/img/l/Bbc-bcpl-2.jpg

Use and Implementation:

BCPL is the language in which the original hello world program was written. The first MUD was also written in BCPL (MUD1).

Several operating systems were written partially or wholly in BCPL (for example, TRIPOS and the earliest versions of AmigaDOS, a part of AmigaOS).

The BCPL ROM and attendent tools were written by John Richards (brother to Martin, and who founded Richards Computer Products) and associates.
The ROM was a classic BBC Micro ROM image containing a CINTCODE interpreter, command-line interface, and a few built-in commands.

Example of BCPL:

Print factorials:

GET "LIBHDR"

LET START() = VALOF $(
FOR I = 1 TO 5 DO
WRITEF("%N! = %I4*N", I, FACT(I))
RESULTIS 0
$)

AND FACT(N) = N = 0 -> 1, N * FACT(N - 1)

Some books for BBC BCPL:

BCPL on the BBC Microcomputer: User Guide

https://management.ind.in/img/l/Bbc-bcpl-3.jpg

B. C. P. L. for the B. B. C. Microcomputer: User Guide Paperback

https://management.ind.in/img/l/Bbc-bcpl-4.jpg


All times are GMT +5. The time now is 02:13 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2


1 2 3 4