![]() |
Phasor 3.1.1
Stack VM based Programming Language
|
Functions | |
| int | _ascii_to_u32_le (str s) |
Variables | |
| int | MAGIC = _ascii_to_u32_le("PHSB") |
| int | VERSION = 0x03000000 |
| int | HEADER_SIZE = 16 |
| int | SEC_CONSTANTS = 0x01 |
| int | SEC_VARIABLES = 0x02 |
| int | SEC_INSTRUCTIONS = 0x03 |
| int | SEC_FUNCTIONS = 0x04 |
phasor.Metadata ================ Binary format constants shared by the Serializer and Deserializer.
|
protected |
Pack a 4-character ASCII string into a little-endian uint32 magic number.
Definition at line 7 of file Metadata.py.
| int phasor.Metadata.HEADER_SIZE = 16 |
Definition at line 14 of file Metadata.py.
| int phasor.Metadata.MAGIC = _ascii_to_u32_le("PHSB") |
Definition at line 12 of file Metadata.py.
| int phasor.Metadata.SEC_CONSTANTS = 0x01 |
Definition at line 16 of file Metadata.py.
| int phasor.Metadata.SEC_FUNCTIONS = 0x04 |
Definition at line 19 of file Metadata.py.
| int phasor.Metadata.SEC_INSTRUCTIONS = 0x03 |
Definition at line 18 of file Metadata.py.
| int phasor.Metadata.SEC_VARIABLES = 0x02 |
Definition at line 17 of file Metadata.py.
| int phasor.Metadata.VERSION = 0x03000000 |
Definition at line 13 of file Metadata.py.