Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
/ Ceylonicus Public archive

Ceylonicus is the first Sinhala Programming Language (first to support sinhala-based syntax). It can run sinhala and english syntax in a single code-base.

License

Notifications You must be signed in to change notification settings

RezSat/Ceylonicus

Repository files navigation

Ceylonicus-Programming-Language


The First Sinhala Programming Language

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

Sinhala & English in unified codebase

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.

Naming Inspiration

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

Get Started with Ceylonicus

Ceylonicus offers multiple ways to run your code. Choose the method that best suits your workflow:

Method 1: Local Setup (Python & PyQt5)

For a powerful local development experience with a graphical user interface:

  1. Clone this repository:

    git clone https://github.com/RezSat/Ceylonicus.git
    cd Ceylonicus
    
  2. Ensure Python and PyQt5 are installed.

  3. 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.)

Method 2: Windows Executable

The simplest way to get started on Windows:

  1. Download the latest executable from the releases page.

  2. Execute your Ceylonicus file directly from your command prompt:

    {path_to_executable}\ceylonicus.exe {your_file.cyl}
    

    Example:

    ceylonicus.exe test.cyl
    

Method 3: Ceylonicus Web IDE (Browser-Based)

Code and run Ceylonicus directly in your web browser, no installation required!


Explore Examples

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.

About

Ceylonicus is the first Sinhala Programming Language (first to support sinhala-based syntax). It can run sinhala and english syntax in a single code-base.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages