Skip to content

Ciencia-Cafe/carnivore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawing Carnivore

Carnivore is a simple scripting language written in C.

Work in progress

  • cli interface skeleton
  • allocator
  • tokenizer
  • lexer
  • run function
  • import functionality

Development rules

  • 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
  • Main:
    • The main is for the carnivore behaviour as an interpreter!
    • No parser, lexer or any other carnivore internal can be defined in main!

References

About

Carnivore programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published