7.17.6 Initialization

Prev Up Next Page 295 of 800 Search internet

Codification of a page starts with initialization of the codex of the page: If a page with cache c and reference h references at least one other page, then c[h]['codex'] is initialized to the empty codex. If the page references no other pages and if construct number 1 of the page has arity 2, then c[h]['codex'][h][1][0]['definition'] is set to << << 0 ,, !"proclaim" >> >>. In that way, construct number 1 is initialized such that it denotes proclamation.

This solves the problems stated at the end of the introduction: when a page references no other pages, the codex of the page is initialized such that construct number 1 denotes proclamation.

We shall refer to a page which references no other pages as a base page. Thus, codification of a base page starts by initializing construct 1 to denote proclamation so that construct 1 is a proclamation construct during first reading. If construct 1 proclaims itself to be a proclamation construct, then that proclamation will ensure that the construct also becomes a proclamation construct during second reading and all following readings.

This gives an idea how the bootstrap occurs: When a page is loaded, all pages referenced by the pages are loaded first. And if the referenced pages in turn reference pages, then the latter pages are loaded first. This continues until a base page is reached. The base page does not reference any other pages, so it can be loaded without loading any other pages first. Furthermore, since the page is a base page, its construct 1 is initialized to denote proclamation, and that starts the bootstrap.

Prev Up Next Page 295 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05