| ▲ | mananaysiempre a day ago | |
> Don’t think TeX ever did that, that was a “simple” Pascal program. Not exactly the entire process image, no, but essentially all of its data in a single chunk. It’s a peculiar Pascal program because it bypasses basically all of Pascal’s typing, records, etc., and instead builds its own from a set of (WEB) macros on top of a giant untyped array. Quoth Knuth in TeX: The Program §115: > The dynamic storage requirements of TeX are handled by providing a large array mem in which consecutive blocks of words are used as nodes by the TeX routines. Pointer variables are indices into this array [...]. There are a few more areas designated for specific purposes, but at the end of the day (§1302) it works out about the way you’d expect: | ||