Skip to content

Diagrams in Appendix 1 #19

Description

@taradinoc

Appendix 1, "A Look Inside", contains many ASCII-art diagrams showing the internal representation of MDL objects. How should we transcribe these?

The diagrams mostly consist of table-like shapes for objects, with vertically stacked rows representing machine words, and each row optionally divided into two cells (the halves of each word). The divisions between rows are sometimes solid and sometimes dashed; the side borders are also sometimes embellished to show omitted rows.

Besides the objects, the diagrams also include arrows representing pointers. Sometimes the arrows link two or more objects through their fields (an arrow begins inside one object's cell and points to the exterior of another object, which has its own cell with an an arrow pointing to another object); sometimes the arrows link one row in an object to a previous row (representing a chain of frames on the stack).

Transcribing the ASCII art directly would be historically accurate, but wouldn't be very accessible.

Is this something that could be handled by a semantic diagramming language like Graphviz?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions