aboutsummaryrefslogtreecommitdiff
path: root/doc/BytecodeHeader.md
blob: 684a5ef80d9c7b6f90e936dd3ddfe0ceecf6180c (plain)
1
2
3
4
5
6
7
8
# Header layout
|Size|Name         |Description                                                                 |
|----|-------------|----------------------------------------------------------------------------|
|4   |Magic number |The magic number used to identify an amalgam bytecode file.                 |
|1   |Major version|The major version of the bytecode. Updates in this is a breaking change.    |
|1   |Minor version|The minor version of the bytecode. Updates in this are backwards compatible.|
|1   |Patch version|The patch version of the bytecode. Updates in this are only minor bug fixes.|
The versions in the header only changes for every release, not every change.