Ceylonicus is the first programming language to support Sinhala language syntax, while also supporting English syntax seamlessly. This aims to make programming more accessible to Sinhala speakers. This project is a prototype/model language
Ceylonicus allows you to write both Sinhala and English code in the same source file. This flexibility makes it easy for users transitioning from English-based programming or mixing native terms with global standards.
Example:
විචල්ය අංකයක් = 10
write(අංකයක්)
This will output:
10
You can freely combine Sinhala identifiers and English functions or vice versa. There's no syntax conflict when mixing the two.
The name Ceylonicus comes from Bungarus ceylonicus, is a species of venomous elapid snake which is endemic to Sri Lanka. It also acknowledges that the language was prototyped using Python.
Experience Ceylonicus instantly: Launch Ceylonicus Web IDE
Ceylonicus offers multiple ways to run your code. Choose the method that best suits your workflow:
For a powerful local development experience with a graphical user interface:
-
Clone this repository:
git clone https://github.com/RezSat/Ceylonicus.git cd Ceylonicus
-
Ensure Python and PyQt5 are installed.
-
Run the GUI IDE:
python IDE.py
Alternatively, for command-line execution:
python main.py your_file.cyl
(Use the appropriate Python command for your operating system.)
The simplest way to get started on Windows:
-
Download the latest executable from the releases page.
-
Execute your Ceylonicus file directly from your command prompt:
{path_to_executable}\ceylonicus.exe {your_file.cyl}
Example:
ceylonicus.exe test.cyl
Code and run Ceylonicus directly in your web browser, no installation required!
- Visit the Ceylonicus Web IDE This is made possible by Brython, enabling Python to run directly in the browser.
Dive into language of Ceylonicus. You can find various code examples demonstrating the language's features within the examples
folder, or if you use the web ide you can also find them under Examples tab.