BBL - Basic syntax
B. Forms
Consider the various ways sentences may be formed in natural human languages.
Rejoice that in BBL (and in Lisp) there are only two: the atom and the function.
B.1. The Atom
A lone symbol or value, nothing more. BBL returns the value or the value represented by the symbol.
If the atom is a value, BBL returns the same value.
| Example: 47 |
a number |
| Example: "Hi mom!" |
a literal string |
| Example: 'A |
a literal symbol |
If it is a variable, BBL returns the value of the variable.
Try it! Go to the Listener and enter 47 into the command window and then return.
Then enter x into the command window and then return.
(A pause while you go to the BioBIKE Web Listener)
Back to Table of Contents
Continue