Difference between revisions of "Yhc/RTS"
< Yhc
Jump to navigation
Jump to search
NeilMitchell (talk | contribs) |
TomShackell (talk | contribs) m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
The runtime system is divided into several parts. |
The runtime system is divided into several parts. |
||
+ | * [[/Types]] Notes on types used in this description |
||
* [[/Machine]] The virtual machine architecture |
* [[/Machine]] The virtual machine architecture |
||
* [[/Heap]] The structure of heap nodes |
* [[/Heap]] The structure of heap nodes |
||
Line 16: | Line 17: | ||
* [[/Foreign]] Foreign function interface system |
* [[/Foreign]] Foreign function interface system |
||
* [[/Debug]] Debugging the runtime system |
* [[/Debug]] Debugging the runtime system |
||
+ | * [[/Concurrency]] How concurrency is handled |
||
+ | * [[/Exceptions]] How exception handling is handled |
Latest revision as of 18:23, 9 March 2007
Part of 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.
Overall Layout
The runtime system is divided into several parts.
- /Types Notes on types used in this description
- /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
- /Concurrency How concurrency is handled
- /Exceptions How exception handling is handled