Easy and neat (for now basic) programming language!
Cythonic is an extremely easy to use programming language designed with simplicity and readability in mind. It's syntax is designed to be as close to natural language as possible, making it accessible for beginners and convenient for experienced developers. Cythonic supports a variety of "commands" (basic for now) for file manipulation, mathematical operations, string processing and more.
https://github.com/user-attachments/assets/6fe71beb-26c3-4fae-869b-0e5406897a5c
- Simple Syntax: Commands are written in an easy to understand English like syntax.
- File Operations: Create, read, append, delete and copy files.
- String Manipulation: Reverse, sort, convert case, find length and repeat strings.
- Mathematical Operations: Basic arithmetic operations such as addition, subtraction, multiplication and division.
Before you begin, ensure that you have the following installed on your system:
-
A C compiler (like
gcc
) -
"make" utility
-
"git"
-
Update Your System: sudo apt-get update && sudo apt-get upgrade
-
Install the Required Packages: sudo apt-get install build-essential git
-
Clone the Cythonic Repository: git clone https://github.com/DogSoftware/Cythonic.git
-
Navigate to the Cythonic Directory: cd cythonic
-
Build the Program: make
-
Try out one of the sample Cythonic script ./cythonic examples/hello-world.cy
-
Update Your System: sudo dnf update
-
Install the Required Packages: sudo dnf install gcc git make
-
Clone the Cythonic Repository: git clone https://github.com/DogSoftware/Cythonic.git
-
Navigate to the Cythonic Directory: cd cythonic
-
Build the Program: make
-
Try out one of the sample Cythonic script ./cythonic examples/hello-world.cy
-
Update Your System: sudo pacman -Syu
-
Install the Required Packages: sudo pacman -S base-devel git
-
Clone the Cythonic Repository: git clone https://github.com/DogSoftware/Cythonic.git
-
Navigate to the Cythonic Directory: cd cythonic
-
Build the Program: make
-
Try out one of the sample Cythonic script ./cythonic examples/hello-world.cy
Note: Cythonic works fine on Windows Subsystem for Linux
Prints the given text to the "console".
Pauses execution for the specified number of seconds.
Displays the current version of Cythonic.
Creates a new file with the specified name and extension.
Reads and displays the contents of the specified file.
Appends the given text to the specified file. The text to append should be enclosed within curly braces {}.
Deletes the specified file.
"open_url www.example.com" Note the semicolon ain't required in open_url!
Simulates opening the specified URL.
Displays the current system time in YYYY-MM-DD HH:MM:SS format.
Adds the two provided numbers and displays the result.
Subtracts the second number from the first and displays the result.
Multiplies the two provided numbers and displays the result.
Divides the first number by the second and displays the result. If the second number is zero an error message is displayed.
Reverses the given string and displays it.
Calculates and displays the length of the given string.
Converts the given string to uppercase and displays it.
Converts the given string to lowercase and displays it.
Sorts the characters in the given string alphabetically and displays the sorted string.
Repeats the given string the specified number of times.
Copies the contents of the source file to the destination file.
Hasta la vista baby and terminate that bloody program. The ultimate exit command!
Copyright (c) DogSoftware All rights reserved.
Licensed under the MIT license:
Copyright 2024 DogSoftware
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.