diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-08-04 12:04:53 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-08-04 12:04:53 +0200 |
commit | 39be501f308c8bdea7a36b0b366edebc21d4f382 (patch) | |
tree | 2a37c54a1202aa6b1827d18a6785db0132667345 /tex/context/base/mkiv/luat-cod.mkiv | |
parent | 757aa0290bc1f866475e055fdf8a9c6df1124860 (diff) | |
download | context-39be501f308c8bdea7a36b0b366edebc21d4f382.tar.gz |
2020-08-04 10:26:00
Diffstat (limited to 'tex/context/base/mkiv/luat-cod.mkiv')
-rw-r--r-- | tex/context/base/mkiv/luat-cod.mkiv | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/tex/context/base/mkiv/luat-cod.mkiv b/tex/context/base/mkiv/luat-cod.mkiv index 823b918c3..e7d58e8ab 100644 --- a/tex/context/base/mkiv/luat-cod.mkiv +++ b/tex/context/base/mkiv/luat-cod.mkiv @@ -15,8 +15,8 @@ \unprotect -%D We cannot use the following due to the fact that existing usage -%D demanded duplicating hashes. +%D We cannot use the following due to the fact that existing usage demanded +%D duplicating hashes. %D %D \starttyping %D \def\expanded#1{\normalexpanded{\noexpand#1}} % ## mess @@ -24,10 +24,9 @@ \newif\ifproductionrun -%D Originally we compiled the \LUA\ files externally and loaded -%D then at runtime, but when the amount grew, we realized that -%D we needed away to store them in the format, which is what -%D bytecode arrays do. And so the following is obsolete: +%D Originally we compiled the \LUA\ files externally and loaded then at runtime, but +%D when the amount grew, we realized that we needed away to store them in the +%D format, which is what bytecode arrays do. And so the following is obsolete: %D %D \starttyping %D \setnewconstant\ctxluaembeddingmode \plusone @@ -36,16 +35,15 @@ %D 1 = runtime compilation and embedding %D \stoptyping %D -%D Allocation of \LUA\ engines has changed too. The original idea -%D was to have multiple \LUA\ instances and it worked that way for -%D several years. Hoewver in practice we used only one engine because -%D scripts need to share data anyway. So eventually \LUATEX\ got only -%D one instance. Because each call is reentrant there is not much -%D danger for crashes. +%D Allocation of \LUA\ engines has changed too. The original idea was to have +%D multiple \LUA\ instances and it worked that way for several years. Hoewver in +%D practice we used only one engine because scripts need to share data anyway. So +%D eventually \LUATEX\ got only one instance. Because each call is reentrant there +%D is not much danger for crashes. %D -%D Most code here has changed after version 0.60 as part of adaption to -%D new functionality. We no longer support the hooks for initializing -%D code as this can be done at the \LUA\ end. +%D Most code here has changed after version 0.60 as part of adaption to new +%D functionality. We no longer support the hooks for initializing code as this can +%D be done at the \LUA\ end. % we can drop the \zerocount as it's default |