Kyandle

Parser for the Kyandle (.kya) syntax


License
MIT
Install
pip install Kyandle==1.0.1

Documentation

Parser

License

MIT License

Version

Version

Syntax

Types

There are three types:
dict (key = value, key = value ...),
list (value, value, value ...) and
native (native classes or objects to the language of the interpreter)

Dict

Dicts are written as <'key' IS 'value' AND 'key' IS 'value' ...> any key and value must be surrounded by ''
It is to be noted that IS and AND can be omitted

List

List are written as ^'value' AND 'value' AND 'value' ...$ any value must be surrounded by ''
It is to be noted that AND can be omitted

Native

Natives are object that are native to the language, they have a type identifier at the beginning
An python int object for the value 3 would be written as <'i3'> in a list. The interpreter may then reconvert it to the type.