The start of Bean
- Primitive types are the first strong base to be used to handle complex stuff (BASIC_TYPES.h)
- The second base is the creation of space to be able to write stuff in it (GET_SPACE.h)
- The third and most important is the entity being able to handle the primitive types and the space (knowledge and paper) to be able to create (draw).
A "variable" has the following information attached to it always
- Type (struct definition)
- Name (to be able to reference individual variables)
- create/check/free/print functions
- specific type functions and operations between same data types
The create function creates a structure from minimal arguments needed for the structure members
The check function will verify if the information on a structure is valid
The free function frees the memory used by a structure
The print function prints the information stored in a structure
This folder will contain the following headers:
- BASIC_TYPES.h: with the most primitive data types available.
- MEM_SPACE.h: with the first custom data type mem_space, to hold writable space.
- ENDIAN.h: with a few definitions to support both big and little endian systems.
- BEAN.h: the header that includes all headers inside the include folder