Carnivore is a simple scripting language written in C.
- cli interface skeleton
- allocator
- tokenizer
- lexer
- run function
- import functionality
- General:
- keep the code clean
- identation style is K&R (Variant 1TBS)
- Carnivore function names:
carnivore_<what_it_does>
(snake_case) - Types:
- types are CamelCase:
typedef int Int
typedef unsigned int UnsignedInt
- this is an example, instead of unsigned ints please use uint32_t or size_t for sizes
- types are CamelCase:
- Main:
- The main is for the carnivore behaviour as an interpreter!
- No parser, lexer or any other carnivore internal can be defined in main!