An introduction Zype Programming Language
What is Zype ?
Zype is a easy-to-write & easy-to-read Programming Language by Zype, Inc.
Syntax
<key> "value"
Where in JSON it is:
{
"key": "value"
}
Some Long examples include:
<name> "Rajdeep Malakar";
<email> "Rajdeep@tgeeks.cf";
<languages> {
<Python> true;
<JavaScript> true;
<ZypeLang> true;
<C#> false
};
<projects> [
"ZypeC";
"ZypeSDK";
"Compass CLI"
]
And in JSON:
{
"name": "Rajdeep Malakar",
"email": "Rajdeep@tgeeks.cf",
"languages": {
"Python": true,
"JavaScript": true,
"ZypeLang": true,
"C#": false
},
"projects": [
"ZypeC",
"ZypeSDK",
"Compass CLI",
]
It is easier to write than JSON.
How to compile or read ?
To compile or Read Zype Files, you need to either use ZypeSDK (for Python) or to use Compass CLI (for Windows only).
In this tutorial we will cover the usage of Compass CLI . In the next tutorial we will cover the usage of Zype SDK (for Python).
Installation of Compass CLI
Using WinGet:
WinGet install Compass
Or,
WinGet install Zype.Compass
Or, Using MSI Installer:
Download the MSI Installer of Compass CLI (Windows 10 only) v1.1.0 from here.
Usage
To use Compass CLI you can open a Terminal and type:
compass -v
It will return the version of Compass CLI.
To search all Zype files in a directory, you can run:
compass -s
To read individual files run:
compass <filename>
To save a Cache of a File run:
compass <filename> -c
Thanks, for taking your time to read this article.
In the next article you will know the usage of ZypeSDK (for Python).