Difference between revisions of "Yhc/RTS"

From HaskellWiki
< Yhc
Jump to navigation Jump to search
 
Line 1: Line 1:
  +
{{Yhc}}
  +
 
This document aims to give a brief overview of the structure of the [[Yhc]] runtime system. Hopefully with the help of this and the source code it should be possible for people to understand and make changes to the runtime system should they wish to do so.
 
This document aims to give a brief overview of the structure of the [[Yhc]] runtime system. Hopefully with the help of this and the source code it should be possible for people to understand and make changes to the runtime system should they wish to do so.
   

Revision as of 23:49, 15 January 2006

Part of Yhc

(Download)

This document aims to give a brief overview of the structure of the Yhc runtime system. Hopefully with the help of this and the source code it should be possible for people to understand and make changes to the runtime system should they wish to do so.

Overall Layout

The runtime system is divided into several parts.

  • /Machine The virtual machine architecture
  • /Heap The structure of heap nodes
  • /BytecodeFormat Format of the YHC bytecode file
  • /Bytecodes Instruction bytecodes
  • /GC Garbage collection (mark, sweep & compact)
  • /Modules Module loading and dynamic linking
  • /Primitive Primitive function calls & builtin functions
  • /Foreign Foreign function interface system
  • /Debug Debugging the runtime system