PILOT Programming Language Concepts
PILOT Programming Language Concepts - The full form of PILOT programming language is Programmed Instruction Learning or Teaching, which was developed in 1960. Pilot language was developed by John Amsden Starkweather, who was a Psychology Professor at University of California, San Francisco. LOGO is the younger sibling of PILOT programming language.
Syntax of PILOT Programming language
The pilot language code contains few important syntax such as –
- An optional label – It is alone in a line, not followed by other code.
- A command letter – It consist letter for initiation in program, where each letter is uniquely declared. Like R for indicating a remark for comment.
- An optional Y or N (Where Y is Yes and N is No)
- A conditional expressions within the parenthesis.
- A colon – "…….."
- One or more operand delimited by commas.
Some facts regarding Command Letters
The command letter are used in Core Pilot to declare different initiation from A to Y. The initiation of each letter is explained below.
- A - Letter – For accepting buffer
- C - Letter – Compute and assign numeric value.
- D – Letter – Dimension on array during implementation
- E – Letter – It is used without any operand. The end subroutine return from or abort program
- J – letter – Jump to level.
- M – Match the accepted buffer against string variables and literals.
- N – Letter – Type if last match unsuccessful
- R – Letter – It has no effect because operand of R is Comment.
- T – Letter – To type operand as output.
- U –Letter – It is used to call a subroutine. The subroutine should starts with a label and ends with E.
- Y – letter – Type if last match successful.
In 1991, IEEE published a standard for Pilot as IEEE Std 1154-1991, afterwards it was withdrawn. A dedicated implementation based on this was implemented by Eric Raymond. In 1990 esteem PILOT for Atari ST Computers was developed and programmed by Tom Nielsen. It includes Atari-specific features such as control of Laserdisc and CDROM devices.