Opened 19 months ago

Last modified 18 months ago

#444 new feature

Build info tables for each object at module init time.

Reported by: benl Owned by: benl
Priority: normal Milestone: memoizer
Component: Runtime System Version: none
Keywords: Cc:


When the program starts up, each module should get to run some initialisation code which creates an info table for each of the runtime object types that module defines (functions, data constructors etc). When new objects are allocated fill in their info table index to point to the appropriate entry in the info table.

For the memoization project the info table should contain at least the hash of the AST for function values. Other useful things to store would be the encoded AST of function values and the names of data constructors so that we can pretty print any heap value in the system.

Change History (1)

comment:1 Changed 18 months ago by benl

  • Owner set to benl
Note: See TracTickets for help on using tickets.