From caa5069ed5fb90799a573774f2ab84f7686615b1 Mon Sep 17 00:00:00 2001 From: Graham Nelson Date: Fri, 19 Feb 2021 23:20:09 +0000 Subject: [PATCH] Began revamp of plugins --- docs/BasicInformKit/S-blc.html | 4 +- docs/BasicInformKit/S-cmb.html | 2 +- docs/BasicInformKit/S-dfn.html | 4 +- docs/BasicInformKit/S-fl.html | 6 +- docs/BasicInformKit/S-lst.html | 2 +- docs/BasicInformKit/S-mth.html | 2 +- docs/BasicInformKit/S-rlb.html | 6 +- docs/BasicInformKit/S-rlt.html | 90 +- docs/BasicInformKit/S-rlt2.html | 12 +- docs/BasicInformKit/S-tbl.html | 14 +- docs/BasicInformKit/S-txt.html | 2 +- docs/assertions-module/4-ass.html | 8 +- docs/assertions-module/4-ass2.html | 2 +- docs/assertions-module/4-rpt.html | 4 +- docs/assertions-module/4-tc.html | 2 +- docs/assertions-module/6-terr.html | 4 +- docs/codegen-module/1-arc.html | 2 +- docs/codegen-module/4-fi6.html | 108 +- docs/core-module/1-cm.html | 18 +- docs/core-module/1-cp.html | 6 +- docs/core-module/1-cp2.html | 2 +- docs/core-module/1-cs.html | 2 +- docs/core-module/1-htc.html | 8 +- docs/core-module/1-inaa.html | 4 +- docs/core-module/1-pc.html | 323 + docs/core-module/1-plg.html | 245 + docs/core-module/1-pp.html | 2 +- docs/core-module/1-wtc.html | 6 +- docs/core-module/2-up.html | 2 +- docs/core-module/index.html | 10 + docs/if-module/1-im.html | 81 +- docs/if-module/2-bd.html | 14 +- docs/if-module/3-bck.html | 38 +- docs/if-module/3-dvc.html | 10 +- docs/if-module/3-enah.html | 2 +- docs/if-module/3-mcr.html | 4 +- docs/if-module/3-prs.html | 6 +- docs/if-module/3-rgn.html | 58 +- docs/if-module/3-sc.html | 10 +- docs/if-module/3-scn.html | 36 +- docs/if-module/3-sm.html | 100 +- docs/if-module/3-sr.html | 2 +- docs/if-module/3-tm.html | 76 +- docs/if-module/3-tnt.html | 4 +- docs/if-module/3-tp.html | 40 +- docs/if-module/3-ts.html | 10 +- docs/if-module/4-act.html | 100 +- docs/if-module/4-anl.html | 2 +- docs/if-module/4-ap.html | 6 +- docs/if-module/5-gl.html | 2 +- docs/if-module/5-gp.html | 52 +- docs/if-module/5-gv.html | 2 +- docs/imperative-module/2-rls.html | 2 +- docs/index-module/2-ifs.html | 77 +- docs/index-module/2-ipw.html | 6 +- docs/inform7/1-mn.html | 10 +- docs/inform7/M-pm.html | 1858 +- docs/inform7/index.html | 2 +- docs/inform7/preform-diagnostics.txt | 3774 ++- docs/inform7/syntax-diagnostics.txt | 26282 +++++++++------- docs/kinds-module/4-kc.html | 2 +- docs/kinds-module/4-st.html | 2 +- docs/knowledge-module/2-ins.html | 4 +- docs/knowledge-module/2-nv.html | 2 +- docs/knowledge-module/3-prp.html | 2 +- docs/knowledge-module/4-is.html | 8 +- docs/knowledge-module/4-ks.html | 2 +- docs/knowledge-module/4-pp.html | 4 +- docs/knowledge-module/5-ia.html | 2 +- docs/knowledge-module/5-pi.html | 2 +- docs/knowledge-module/5-tmw.html | 2 +- docs/multimedia-module/1-mm.html | 12 +- docs/multimedia-module/2-ef.html | 20 +- docs/multimedia-module/2-fgr.html | 26 +- docs/multimedia-module/2-se.html | 28 +- docs/runtime-module/2-cu.html | 2 +- docs/runtime-module/3-ad.html | 6 +- docs/runtime-module/4-adj.html | 2 +- docs/runtime-module/4-cl.html | 2 +- docs/runtime-module/4-ct.html | 2 +- docs/runtime-module/4-efart.html | 2 +- docs/runtime-module/4-epv.html | 4 +- docs/runtime-module/4-es.html | 2 +- docs/runtime-module/4-fc.html | 2 +- docs/runtime-module/4-i6i.html | 2 +- docs/runtime-module/4-ic.html | 38 +- docs/runtime-module/4-ins.html | 2 +- docs/runtime-module/4-itc.html | 8 +- docs/runtime-module/4-iti.html | 2 +- docs/runtime-module/4-jl.html | 2 +- docs/runtime-module/4-lpart.html | 4 +- docs/runtime-module/4-lt.html | 2 +- docs/runtime-module/4-msr.html | 2 +- docs/runtime-module/4-ni.html | 2 +- docs/runtime-module/4-pc.html | 323 - docs/runtime-module/4-plg.html | 476 - docs/runtime-module/4-prp.html | 2 +- docs/runtime-module/4-rart.html | 2 +- docs/runtime-module/4-rsfk.html | 2 +- docs/runtime-module/4-rsft.html | 6 +- docs/runtime-module/4-rsp.html | 2 +- docs/runtime-module/4-rtn.html | 2 +- docs/runtime-module/4-tl.html | 2 +- docs/runtime-module/4-ts.html | 2 +- docs/runtime-module/4-ts2.html | 2 +- docs/runtime-module/4-tv.html | 2 +- docs/runtime-module/4-uoart.html | 2 +- docs/runtime-module/4-vart.html | 2 +- docs/runtime-module/4-vrb.html | 2 +- docs/runtime-module/index.html | 10 - docs/supervisor-module/5-ks.html | 10 +- docs/supervisor-module/5-ls.html | 14 +- docs/supervisor-module/5-ps2.html | 6 +- docs/supervisor-module/6-cs.html | 4 +- docs/supervisor-module/6-inc.html | 2 +- docs/values-module/2-rvl.html | 2 +- docs/values-module/2-spc.html | 2 +- docs/values-module/3-tod.html | 2 +- docs/values-module/4-cad.html | 2 +- .../Chapter 5/Kit Services.w | 10 +- .../Chapter 5/Project Services.w | 6 +- inform7/Chapter 1/Main.w | 2 +- inform7/Downloads/preform-diagnostics.txt | 3076 +- inform7/Figures/memory-diagnostics.txt | 66 +- inform7/Figures/preform-summary.txt | 14 +- inform7/Figures/timings-diagnostics.txt | 32 +- .../Inter/BasicInformKit/Sections/FileIO.i6t | 6 +- .../assertions-module/Chapter 4/Assemblies.w | 2 +- .../assertions-module/Chapter 4/Assertions.w | 8 +- .../Chapter 4/Refine Parse Tree.w | 4 +- .../assertions-module/Chapter 4/The Creator.w | 2 +- .../The Equality Relation Revisited.w | 4 +- inform7/core-module/Chapter 1/Core Module.w | 11 + .../core-module/Chapter 1/How To Compile.w | 4 +- inform7/core-module/Chapter 1/Plugin Calls.w | 240 + inform7/core-module/Chapter 1/Plugins.w | 151 + .../core-module/Chapter 1/What To Compile.w | 2 +- inform7/core-module/Contents.w | 2 + inform7/if-module/Chapter 1/IF Module.w | 29 + .../if-module/Chapter 2/Bibliographic Data.w | 2 +- inform7/if-module/Chapter 3/Backdrops.w | 12 +- inform7/if-module/Chapter 3/Devices.w | 4 +- .../Chapter 3/Map Connection Relations.w | 2 +- inform7/if-module/Chapter 3/Persons.w | 2 +- inform7/if-module/Chapter 3/Regions.w | 24 +- inform7/if-module/Chapter 3/Scenes.w | 6 +- inform7/if-module/Chapter 3/Showme Command.w | 2 +- inform7/if-module/Chapter 3/Spatial Model.w | 36 +- inform7/if-module/Chapter 3/The Map.w | 32 +- .../if-module/Chapter 3/The Naming Thicket.w | 4 +- inform7/if-module/Chapter 3/The Player.w | 18 +- inform7/if-module/Chapter 4/Action Patterns.w | 2 +- inform7/if-module/Chapter 4/Actions.w | 14 +- .../if-module/Chapter 5/Grammar Properties.w | 34 +- inform7/imperative-module/Chapter 2/Rules.w | 2 +- .../Chapter 2/Index File Services.w | 58 +- .../Chapter 2/Index Physical World.w | 6 +- .../knowledge-module/Chapter 2/Instances.w | 4 +- .../Chapter 2/Nonlocal Variables.w | 2 +- .../knowledge-module/Chapter 3/Properties.w | 2 +- .../Chapter 4/Inference Subjects.w | 8 +- .../Chapter 4/Kind Subjects.w | 2 +- .../Chapter 4/Property Permissions.w | 4 +- .../Chapter 5/Indefinite Appearance.w | 2 +- .../Chapter 5/Property Inferences.w | 2 +- .../Chapter 5/The Model World.w | 2 +- .../Chapter 1/Multimedia Module.w | 10 + .../Chapter 2/External Files.w | 10 +- inform7/multimedia-module/Chapter 2/Figures.w | 16 +- .../Chapter 2/Sound Effects.w | 16 +- .../Chapter 4/Emit Property Values.w | 2 +- .../Chapter 4/Instance Counting.w | 10 +- .../runtime-module/Chapter 4/Plugin Calls.w | 240 - inform7/runtime-module/Chapter 4/Plugins.w | 357 - inform7/runtime-module/Contents.w | 2 - inform7/values-module/Chapter 2/Rvalues.w | 2 +- .../values-module/Chapter 2/Specifications.w | 2 +- .../values-module/Chapter 3/Times of Day.w | 2 +- .../Chapter 4/Constants and Descriptions.w | 2 +- inter/codegen-module/Chapter 1/Architecture.w | 2 +- .../kinds-module/Chapter 4/Kind Commands.w | 2 +- .../kinds-module/Chapter 4/Star Templates.w | 2 +- .../Figures/excerpts-diagnostics.txt | 2 +- 183 files changed, 20952 insertions(+), 18343 deletions(-) create mode 100644 docs/core-module/1-pc.html create mode 100644 docs/core-module/1-plg.html delete mode 100644 docs/runtime-module/4-pc.html delete mode 100644 docs/runtime-module/4-plg.html create mode 100644 inform7/core-module/Chapter 1/Plugin Calls.w create mode 100644 inform7/core-module/Chapter 1/Plugins.w delete mode 100644 inform7/runtime-module/Chapter 4/Plugin Calls.w delete mode 100644 inform7/runtime-module/Chapter 4/Plugins.w diff --git a/docs/BasicInformKit/S-blc.html b/docs/BasicInformKit/S-blc.html index 9f1e0a64e..5643afed9 100644 --- a/docs/BasicInformKit/S-blc.html +++ b/docs/BasicInformKit/S-blc.html @@ -338,7 +338,7 @@ We abstract that with two routines to read and write entries. long_block = long_block + header_size_in_bytes + seek_byte_position; switch(entry_size_in_bytes) { 1: return long_block->0; - 2: #Iftrue (WORDSIZE == 2); return long_block-->0; + 2: #Iftrue (WORDSIZE == 2); return long_block-->0; #ifnot; return (long_block->0)*256 + (long_block->1); #endif; 4: return long_block-->0; @@ -374,7 +374,7 @@ We abstract that with two routines to read and write entries. long_block = long_block + header_size_in_bytes + seek_byte_position; switch(entry_size_in_bytes) { 1: long_block->0 = val; - 2: #Iftrue (WORDSIZE == 2); long_block-->0 = val; + 2: #Iftrue (WORDSIZE == 2); long_block-->0 = val; #ifnot; long_block->0 = (val/256)%256; long_block->1 = val%256; #endif; 4: long_block-->0 = val; diff --git a/docs/BasicInformKit/S-cmb.html b/docs/BasicInformKit/S-cmb.html index 57dde0d26..8272c0588 100644 --- a/docs/BasicInformKit/S-cmb.html +++ b/docs/BasicInformKit/S-cmb.html @@ -84,7 +84,7 @@ routines. MAKEMUTABLE_KOVS: return 1; COPYKIND_KOVS: return COMBINATION_TY_CopyKind(arg1, arg2); COPYQUICK_KOVS: rtrue; - COPYSB_KOVS: BlkValueCopySB1(arg1, arg2); + COPYSB_KOVS: BlkValueCopySB1(arg1, arg2); KINDDATA_KOVS: return COMBINATION_TY_KindData(arg1); EXTENT_KOVS: return -1; COPY_KOVS: COMBINATION_TY_Copy(arg1, arg2, arg3); diff --git a/docs/BasicInformKit/S-dfn.html b/docs/BasicInformKit/S-dfn.html index c0c8cb4ba..0181daa7c 100644 --- a/docs/BasicInformKit/S-dfn.html +++ b/docs/BasicInformKit/S-dfn.html @@ -328,7 +328,7 @@ to I7. Constant RTP_WRONGASSIGNEDKIND = 60; Constant RTP_CANTBEOFFSTAGE = 61; Constant RTP_RELKINDVIOLATION = 62; -Constant RTP_CANTMAKEPART = 63; +Constant RTP_CANTMAKEPART = 63; Constant RTP_TEXTTOKENTOOHARD = 64; Constant RTP_TABLE_NOTABLE2 = 65; Constant RTP_RELATIONCHANGEIMPOSSIBLE = 66; @@ -430,7 +430,7 @@ creation sequence in the Standard Rules.) Constant AFTER_RB = 32; Constant REPORT_RB = 33; -Constant DOES_THE_PLAYER_MEAN_RB = 34; +Constant DOES_THE_PLAYER_MEAN_RB = 34; Constant MULTIPLE_ACTION_PROCESSING_RB = 35;

§12. Kind IDs. These are filled in automatically by Inform, and have the same names as are used diff --git a/docs/BasicInformKit/S-fl.html b/docs/BasicInformKit/S-fl.html index 454d8c242..fb5acfaf4 100644 --- a/docs/BasicInformKit/S-fl.html +++ b/docs/BasicInformKit/S-fl.html @@ -49,7 +49,7 @@ element is part of Inform's current definition, so:

-#IFDEF PLUGIN_FILES;
+#IFDEF FILES_PLUGIN;
 

§2. Structure. The I7 kind of value "auxiliary-file" is an --> array, holding a memory structure containing information about external files. The following @@ -453,9 +453,9 @@ run-time problem when there is no alternative.

§17. Back To Core.

-#IFNOT; PLUGIN_FILES
+#IFNOT; FILES_PCALL
 [ FileIO_GetC extf; return -1; ];
-#ENDIF; PLUGIN_FILES
+#ENDIF; FILES_PCALL