You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b2eaa55767 | 2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago |
README.md
📄 Docs
Specs · Conventions · Cheat-sheets · Style-guide
Documentation for Koy, the human-friendly data serialization language
🎏 Koy Lang
Koy is designed to be a minimal, simple and intuitive data serialization language; easy for you, your dog and your average 5 year-old. It has a small set of symbols, not too many rules and only one singular statement. Its lack of complexity makes it the perfect language for your project! easy to implement, debug and modularize.
Go ahead and check out the Conventions to learn about the generalities of the language! if you end up liking it, consider checking out the Specs sheet and the Style Guide.
📚 Cheat sheet
Cheat sheet for symbols
Symbols | Function | Example |
// |
Single-line comment |
|
/**/ |
Multi-line comment |
|
: |
Set a key, followed by its data type (optional) and then the value. To define a literal key put it between single quotes ('' ) |
|
${} |
Call a variable |
|
"" |
Define a normal string |
|
""" """ |
Define a multi-line string |
|
'' |
Define a literal value |
|
[] |
Define an array |
|
{} |
Define an object |
|
import |
Import other .koy files |
|
<< |
Overwrite values from objects |
|
Cheat sheet for rules
Example .koy
file using every feature
&