index

2021-08-26

2021-09-18


data as lists or not as lists?

In lisp, any structured data can be expressed as lists of lists or values.

In dabric the data structure can be anything. Each value is prefixed with a type that tells the size of the following value in bytes so that if the reader does not know how to interpret the value it can skip it in the stream.

Dabric file structure

dabric file headers

In a Dabric file values are often prefixed with a number that tells how many bytes the following value takes. This way the file can be parsed even if the readers does not know how to interpret some of the values. The byte count is always expressed as a Variable length quantity (VLQ). This kind of values are called here "byte size prefixed".

Dabric file has a header that consists of

After the header comes the body as a type value pair.

Value types in Dabric prelude


Variable length quantity
2021-06-16
2021-06-21
2021-08-24
byte size prefixed values
identifier number size does not matter for storage space and readability
timestamps as offsets
dabric file headers
byte size prefixed values
type tag
value types in the Dabric prelude
2021-09-08
dabric file structure

This site is generated with zetgen