This talks about what every file does.
- OpCode enums (OP_NOT, OP_ADD, ...)
- struct Chunk + Chunk related utility functions (initChunk, freeChunk, ...)
A chunk has:
- a current
int count(size), - a current
int capacity, if something is added and the current count would exceed the capacity the capacity has to be increased. - a pointer to the
uint8_t* code - an integer array
int* lines - an array of constants which belong to this chunk
ValueArray constants