ARTIFICIAL INTELLIGENCE
BIOLOGY AND BIOTECHNOLOGY
Appendices
Reference material: the operators, the type codes, the saved file format, the command line, where the method references are, the IDE’s keys, the words this manual uses, what LQ does not do yet, and the other IDEs and the places a program runs. Contents of the manual --- ## Contents - A. Operator Reference - B. Type Names and Mangling Codes - C. The
.lqs Text Format - D. The lqc Command Line - E. Runtime Method Index - F. IDE Keyboard Shortcuts - G. Glossary - H. Not Yet in LQ - I. Other IDEs and Run Modes --- ## A. Operator Reference From loosest to tightest (Chapter 9):CONSTRUCTION HOUSING AND REAL ESTATE
76. The Library's Own Spaces
Part of the library is written in LQ itself. These spaces are compiled with the runtime and loaded into every program, so their methods are called by name like any other — no import, no prefix. This chapter says what each space holds and where its methods are described; it has no examples of its own, because each method’s example is in the chapter that covers its area. The sources are the
.lqs files in runtime/Runtime/, one per space. They are ordinary LQ programs: open one in the IDE to see a library method drawn as a diagram.SOFTWARE AND DATA ENGINEERING
75. The View Library
The view types and widgets of Chapter 32, one by one: the leaves and the wrappers, the stacks and lists, the views that take input, identity and motion, the nine widgets,
paintView and measure, the builder form (VStack { … }), and the pieces of the frame loop a program can reach — repaint requests, the memo table, change watching. The chapter ends with brushes, the paints that are changed in place, and paintScene.SOFTWARE AND DATA ENGINEERING
74. Menus
A program’s menus are built in a registry the runtime keeps: a list of top-level menu titles and a list of entries, each entry an item or a separator belonging to one of those titles.
windowMenuApply hands the registry to macOS, which shows it as the menu bar and acts on the items' key equivalents. Linux and Windows show no menu bar, and the window acts on the items’ keys itself, so a program’s shortcuts work the same on all three (see “On Linux and Windows”, below). An item says what to do when it is chosen in one of two ways: it carries a closure (MenuItem, applyMenu, addItem), or it carries a number, a tag, that the program reads back from the shortcut queue (windowMenuAddItem, isAction). Chapter 33 introduces menus; this chapter is the reference.