2019-03-17 14:40:57 +02:00
< html >
< head >
2020-04-14 19:56:54 +03:00
< title > bytecode< / title >
2020-05-03 03:20:55 +03:00
< link href = "../docs-assets/Breadcrumbs.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
2020-03-19 02:11:25 +02:00
< meta name = "viewport" content = "width=device-width initial-scale=1" >
2019-03-17 14:40:57 +02:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
< meta http-equiv = "Content-Language" content = "en-gb" >
2020-05-03 03:01:21 +03:00
2020-05-03 03:20:55 +03:00
< link href = "../docs-assets/Contents.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Progress.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Navigation.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Fonts.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
< link href = "../docs-assets/Base.css" rel = "stylesheet" rev = "stylesheet" type = "text/css" >
2020-04-14 19:56:54 +03:00
2019-03-17 14:40:57 +02:00
< / head >
2020-05-03 03:01:21 +03:00
< body class = "commentary-font" >
2020-03-19 02:11:25 +02:00
< nav role = "navigation" >
2020-04-14 19:56:54 +03:00
< h1 > < a href = "../index.html" >
2020-05-03 18:34:53 +03:00
< img src = "../docs-assets/Inform.png" height = 72" >
2020-04-14 19:56:54 +03:00
< / a > < / h1 >
< ul > < li > < a href = "../compiler.html" > compiler tools< / a > < / li >
2020-03-19 02:11:25 +02:00
< li > < a href = "../other.html" > other tools< / a > < / li >
< li > < a href = "../extensions.html" > extensions and kits< / a > < / li >
< li > < a href = "../units.html" > unit test tools< / a > < / li >
2020-04-14 19:56:54 +03:00
< / ul > < h2 > Compiler Webs< / h2 > < ul >
2020-03-19 02:11:25 +02:00
< li > < a href = "../inbuild/index.html" > inbuild< / a > < / li >
< li > < a href = "../inform7/index.html" > inform7< / a > < / li >
< li > < a href = "../inter/index.html" > inter< / a > < / li >
2020-04-14 19:56:54 +03:00
< / ul > < h2 > Inbuild Modules< / h2 > < ul >
< li > < a href = "../supervisor-module/index.html" > supervisor< / a > < / li >
< / ul > < h2 > Inform7 Modules< / h2 > < ul >
2020-03-19 02:11:25 +02:00
< li > < a href = "../core-module/index.html" > core< / a > < / li >
2020-08-27 17:50:24 +03:00
< li > < a href = "../assertions-module/index.html" > assertions< / a > < / li >
< li > < a href = "../values-module/index.html" > values< / a > < / li >
< li > < a href = "../knowledge-module/index.html" > knowledge< / a > < / li >
< li > < a href = "../imperative-module/index.html" > imperative< / a > < / li >
< li > < a href = "../runtime-module/index.html" > runtime< / a > < / li >
2020-03-19 02:11:25 +02:00
< li > < a href = "../if-module/index.html" > if< / a > < / li >
< li > < a href = "../multimedia-module/index.html" > multimedia< / a > < / li >
< li > < a href = "../index-module/index.html" > index< / a > < / li >
2020-04-14 19:56:54 +03:00
< / ul > < h2 > Inter Modules< / h2 > < ul >
< li > < span class = "unlink" > bytecode< / span > < / li >
2020-03-19 02:11:25 +02:00
< li > < a href = "../building-module/index.html" > building< / a > < / li >
2021-08-10 13:01:03 +03:00
< li > < a href = "../pipeline-module/index.html" > pipeline< / a > < / li >
< li > < a href = "../final-module/index.html" > final< / a > < / li >
2020-05-20 02:02:28 +03:00
< / ul > < h2 > Services< / h2 > < ul >
2020-04-14 19:56:54 +03:00
< li > < a href = "../arch-module/index.html" > arch< / a > < / li >
2020-08-27 17:50:24 +03:00
< li > < a href = "../calculus-module/index.html" > calculus< / a > < / li >
2020-04-14 19:56:54 +03:00
< li > < a href = "../html-module/index.html" > html< / a > < / li >
2020-05-20 02:02:28 +03:00
< li > < a href = "../inflections-module/index.html" > inflections< / a > < / li >
2020-08-27 17:50:24 +03:00
< li > < a href = "../kinds-module/index.html" > kinds< / a > < / li >
2020-05-20 02:02:28 +03:00
< li > < a href = "../linguistics-module/index.html" > linguistics< / a > < / li >
< li > < a href = "../problems-module/index.html" > problems< / a > < / li >
2020-08-27 17:50:24 +03:00
< li > < a href = "../syntax-module/index.html" > syntax< / a > < / li >
< li > < a href = "../words-module/index.html" > words< / a > < / li >
2020-03-19 02:11:25 +02:00
< li > < a href = "../../../inweb/docs/foundation-module/index.html" > foundation< / a > < / li >
2020-04-14 19:56:54 +03:00
< / ul >
2020-03-19 02:11:25 +02:00
< / nav >
< main role = "main" >
2020-04-14 19:56:54 +03:00
< ul class = "crumbs" > < li > < a href = "../index.html" > Home< / a > < / li > < li > < a href = "../compiler.html" > Inter Modules< / a > < / li > < li > < b > bytecode< / b > < / li > < / ul >
< p class = "purpose" > Dealing with intermediate-level Inform as bytecode in memory. This is version 1.< / p >
2019-03-17 14:40:57 +02:00
< hr >
2020-05-03 03:01:21 +03:00
< div class = "contentspage" >
< ul class = "chapterlist" >
2020-05-03 18:34:53 +03:00
< li >
< p class = "chapterentry" > < a name = "P" > < / a >
< span class = "chaptertitle" > Preliminaries< / span > < / p >
< ul class = "sectionlist" >
< li >
< p class = "sectionentry" > < a href = "P-wtmd.html" >
< spon class = "sectiontitle" > What This Module Does< / span > < / a > -
< span class = "sectionpurpose" > An overview of the bytecode module's role and abilities.< / span > < / p >
< / li >
< / ul >
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "chapterentry" > < a name = "1" > < / a >
< span class = "chaptertitle" > Chapter 1: Setting Up< / span > < / p >
< ul class = "sectionlist" >
< li >
< p class = "sectionentry" > < a href = "1-bm.html" >
< spon class = "sectiontitle" > Bytecode Module< / span > < / a > -
< span class = "sectionpurpose" > Setting up the use of this module.< / span > < / p >
< / li >
2022-02-14 01:44:50 +02:00
< li >
< p class = "sectionentry" > < a href = "1-tiv.html" >
< spon class = "sectiontitle" > The Inter Version< / span > < / a > -
< span class = "sectionpurpose" > The semantic version number for the current definition of Inter bytecode.< / span > < / p >
< / li >
2020-05-03 03:01:21 +03:00
< / ul >
< / li >
< li >
< p class = "chapterentry" > < a name = "2" > < / a >
2022-02-07 00:33:07 +02:00
< span class = "chaptertitle" > Chapter 2: The Trees< / span > < / p >
2020-05-03 03:01:21 +03:00
< ul class = "sectionlist" >
< li >
< p class = "sectionentry" > < a href = "2-it.html" >
< spon class = "sectiontitle" > Inter Trees< / span > < / a > -
< span class = "sectionpurpose" > To manage tree structures of inter code, and manage the movement of nodes within these trees.< / span > < / p >
< / li >
2022-01-29 02:21:23 +02:00
< li >
< p class = "sectionentry" > < a href = "2-in.html" >
< spon class = "sectiontitle" > Inter Nodes< / span > < / a > -
< span class = "sectionpurpose" > To create nodes of inter code, and manage everything about them except their tree locations.< / span > < / p >
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "sectionentry" > < a href = "2-bkm.html" >
< spon class = "sectiontitle" > Bookmarks< / span > < / a > -
< span class = "sectionpurpose" > Write positions for inter code being generated.< / span > < / p >
< / li >
2022-01-27 01:59:02 +02:00
< li >
< p class = "sectionentry" > < a href = "2-np.html" >
< spon class = "sectiontitle" > Node Placement< / span > < / a > -
< span class = "sectionpurpose" > Moving nodes in a tree, adding them to a tree, removing them from a tree.< / span > < / p >
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "sectionentry" > < a href = "2-tw.html" >
< spon class = "sectiontitle" > The Warehouse< / span > < / a > -
< span class = "sectionpurpose" > To manage the memory storage of inter code.< / span > < / p >
< / li >
2022-01-31 01:49:12 +02:00
< li >
2022-02-03 01:35:38 +02:00
< p class = "sectionentry" > < a href = "2-pck.html" >
< spon class = "sectiontitle" > Packages< / span > < / a > -
< span class = "sectionpurpose" > To manage packages of inter code.< / span > < / p >
2022-01-31 01:49:12 +02:00
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "sectionentry" > < a href = "2-inl.html" >
< spon class = "sectiontitle" > Inter Node Lists< / span > < / a > -
2022-02-03 01:35:38 +02:00
< span class = "sectionpurpose" > Utility functions to store lists of nodes, either as linked lists or flexibly-sized arrays.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< li >
< p class = "sectionentry" > < a href = "2-st.html" >
< spon class = "sectiontitle" > Symbols Tables< / span > < / a > -
< span class = "sectionpurpose" > To manage searchable tables of named symbols.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "2-sym.html" >
< spon class = "sectiontitle" > Symbols< / span > < / a > -
< span class = "sectionpurpose" > To manage named symbols in inter code.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "2-ann.html" >
< spon class = "sectiontitle" > Annotations< / span > < / a > -
< span class = "sectionpurpose" > To mark symbols up with metadata.< / span > < / p >
< / li >
< li >
2022-02-06 03:12:01 +02:00
< p class = "sectionentry" > < a href = "2-tw2.html" >
< spon class = "sectiontitle" > The Wiring< / span > < / a > -
< span class = "sectionpurpose" > Wiring symbols in one package to meanings in another, and via plugs and sockets even to packages in trees not yet loaded in.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< li >
< p class = "sectionentry" > < a href = "2-trn.html" >
< spon class = "sectiontitle" > Transmigration< / span > < / a > -
2022-02-06 03:12:01 +02:00
< span class = "sectionpurpose" > The act of moving a package from one Inter tree to another.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< / ul >
< / li >
< li >
< p class = "chapterentry" > < a name = "3" > < / a >
2022-02-07 00:33:07 +02:00
< span class = "chaptertitle" > Chapter 3: Their Instructions< / span > < / p >
2020-05-03 03:01:21 +03:00
< ul class = "sectionlist" >
< li >
2022-02-09 12:33:49 +02:00
< p class = "sectionentry" > < a href = "3-ic.html" >
< spon class = "sectiontitle" > Inter Constructs< / span > < / a > -
< span class = "sectionpurpose" > There are around two dozen constructs in textual Inter source code, with each instruction in bytecode being a usage of one of them.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< li >
< p class = "sectionentry" > < a href = "3-iibf.html" >
< spon class = "sectiontitle" > Inter in Binary Files< / span > < / a > -
< span class = "sectionpurpose" > To read or write inter between memory and binary files.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "3-iitf.html" >
< spon class = "sectiontitle" > Inter in Text Files< / span > < / a > -
2022-02-10 01:48:51 +02:00
< span class = "sectionpurpose" > To read a tree from a file written in the plain text version of Inter.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< li >
< p class = "sectionentry" > < a href = "3-vi.html" >
< spon class = "sectiontitle" > Verifying Inter< / span > < / a > -
2022-02-24 01:37:43 +02:00
< span class = "sectionpurpose" > Verifying that a new Inter instruction is correct and consistent.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
2022-02-21 15:05:50 +02:00
< li >
< p class = "sectionentry" > < a href = "3-ivp.html" >
< spon class = "sectiontitle" > Inter Value Pairs< / span > < / a > -
< span class = "sectionpurpose" > Two consecutive bytecode words are used to store a single value in binary Inter.< / span > < / p >
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "sectionentry" > < a href = "3-idt.html" >
< spon class = "sectiontitle" > Inter Data Types< / span > < / a > -
< span class = "sectionpurpose" > A primitive notion of data type, below the level of kinds.< / span > < / p >
< / li >
2021-04-25 15:23:45 +03:00
< li >
< p class = "sectionentry" > < a href = "3-mtd.html" >
< spon class = "sectiontitle" > Metadata< / span > < / a > -
< span class = "sectionpurpose" > Looking up metadata in special constants.< / span > < / p >
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "sectionentry" > < a href = "3-ie.html" >
< spon class = "sectiontitle" > Inter Errors< / span > < / a > -
2022-03-01 00:24:58 +02:00
< span class = "sectionpurpose" > To issue error messages arising from loading incorrect Inter code from files.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< / ul >
< / li >
< li >
< p class = "chapterentry" > < a name = "4" > < / a >
< span class = "chaptertitle" > Chapter 4: Void Constructs< / span > < / p >
< ul class = "sectionlist" >
< li >
< p class = "sectionentry" > < a href = "4-tnc.html" >
< spon class = "sectiontitle" > The Nop Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the nop construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "4-tcc.html" >
< spon class = "sectiontitle" > The Comment Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the comment construct.< / span > < / p >
< / li >
< li >
2022-02-11 12:48:26 +02:00
< p class = "sectionentry" > < a href = "4-tpc.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The Pragma Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the pragma construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "4-tlc.html" >
< spon class = "sectiontitle" > The Link Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the link construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "4-tac.html" >
< spon class = "sectiontitle" > The Append Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the append construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tpc2.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The PackageType Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the packagetype construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tpc3.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The Package Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the package construct.< / span > < / p >
< / li >
< li >
2022-02-23 01:31:47 +02:00
< p class = "sectionentry" > < a href = "4-ttc.html" >
< spon class = "sectiontitle" > The Typename Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the typename construct.< / span > < / p >
2020-05-03 03:01:21 +03:00
< / li >
< li >
< p class = "sectionentry" > < a href = "4-tdc.html" >
< spon class = "sectiontitle" > The DefaultValue Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the defaultvalue construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tvc.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The Variable Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the variable construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "4-tcc2.html" >
< spon class = "sectiontitle" > The Constant Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the constant construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "4-tic.html" >
< spon class = "sectiontitle" > The Instance Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the instance construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tpc4.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The Property Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the property construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tpc5.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The PropertyValue Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the propertyvalue construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tpc6.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The Permission Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the permission construct.< / span > < / p >
< / li >
< li >
2022-02-14 01:44:50 +02:00
< p class = "sectionentry" > < a href = "4-tpc7.html" >
2020-05-03 03:01:21 +03:00
< spon class = "sectiontitle" > The Primitive Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the primitive construct.< / span > < / p >
< / li >
< / ul >
< / li >
< li >
< p class = "chapterentry" > < a name = "5" > < / a >
< span class = "chaptertitle" > Chapter 5: Code Constructs< / span > < / p >
< ul class = "sectionlist" >
< li >
< p class = "sectionentry" > < a href = "5-tlc.html" >
< spon class = "sectiontitle" > The Label Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the label construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tlc2.html" >
< spon class = "sectiontitle" > The Local Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the local construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tic.html" >
< spon class = "sectiontitle" > The Inv Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the inv construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-trc.html" >
< spon class = "sectiontitle" > The Ref Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the ref construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tvc.html" >
< spon class = "sectiontitle" > The Val Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the val construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tlc3.html" >
< spon class = "sectiontitle" > The Lab Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the Lab construct.< / span > < / p >
< / li >
2022-01-11 01:51:42 +02:00
< li >
< p class = "sectionentry" > < a href = "5-tac.html" >
< spon class = "sectiontitle" > The Lab Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the Lab construct.< / span > < / p >
< / li >
2020-05-03 03:01:21 +03:00
< li >
< p class = "sectionentry" > < a href = "5-tcc.html" >
< spon class = "sectiontitle" > The Code Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the Code construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tec.html" >
< spon class = "sectiontitle" > The Evaluation Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the Evaluation construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-trc2.html" >
< spon class = "sectiontitle" > The Reference Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the Reference construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tcc2.html" >
< spon class = "sectiontitle" > The Cast Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the cast construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "5-tsc.html" >
< spon class = "sectiontitle" > The Splat Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the splat construct.< / span > < / p >
< / li >
< / ul >
< / li >
2022-02-14 01:44:50 +02:00
< li >
< p class = "chapterentry" > < a name = "6" > < / a >
< span class = "chaptertitle" > Chapter 6: Pseudo-Constructs< / span > < / p >
< ul class = "sectionlist" >
< li >
< p class = "sectionentry" > < a href = "6-tpc.html" >
< spon class = "sectiontitle" > The Plug Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the symbol construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "6-tsc.html" >
< spon class = "sectiontitle" > The Socket Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the socket construct.< / span > < / p >
< / li >
< li >
< p class = "sectionentry" > < a href = "6-tvc.html" >
< spon class = "sectiontitle" > The Version Construct< / span > < / a > -
< span class = "sectionpurpose" > Defining the version construct.< / span > < / p >
< / li >
< / ul >
< / li >
2020-05-03 03:01:21 +03:00
< / ul >
< / div >
2019-03-17 14:40:57 +02:00
< hr >
2020-05-03 03:01:21 +03:00
< p class = "purpose" > Powered by < a href = "https://github.com/ganelson/inweb" > Inweb< / a > .< / p >
2020-03-19 02:11:25 +02:00
< / main >
2019-03-17 14:40:57 +02:00
< / body >
< / html >