Skip to content

gamedev44/ELSLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELSLang CodeConverter I.S.E | Transpiler ++

ELSL++ Transterpreter

Overview

The ELSL++ Transterpreter is a customizable scripting translator tool designed to make programming more accessible for individuals who want to learn at their own pace, using their own words. Originally inspired by the ELSL to C++ Translator and based on the bat2html converter by PGD, this tool allows you to write code in one language and translates it into C++ code or another language of your choice via the drop-down menu, ready for compilation via On-the-fly interpretation.

Features

  • Customizable Syntax Translations: Define your own translations for ELSL keywords and symbols to target C++ code or other languages.
  • Live Coding: Enable live coding to see the translated code update in real-time as you type.
  • Direct Compilation to C++: Compile your code directly to C++.
  • Export Options: Easily export your translated code in various formats.
  • Theme Customization: Change the tool's theme for a personalized experience.
  • Dark and Light Modes: Toggle between dark and light modes for different visual styles.
  • Professional GUI: Enjoy a clean and professional graphical user interface.
  • And many more features to enhance your coding experience.

Getting Started

Prerequisites

  • A modern web browser (Chrome, Firefox, Edge, etc.)

Usage

  1. Clone or download the repository to your local machine.

  2. Open the ELSL++.html file in a web browser or simply by double-clicking. Alternatively, open it in Cmd.exe using the command below:

    command: start ELSL++.html
  3. Enter your ELSL code in the textarea under "Enter your ELSL code here..."

  4. Click the "Compile/Re-Compile" button to translate your ELSL code into C++.

  5. Customize Translations:

    • To load custom syntax translations, click "Editing" in the dropdown menu and select "Load Custom Syntax." You can provide your own JSON file with custom translations.
    • To refresh or reset bindings to default, click "Editing" and select "Refresh Bindings."
  6. Explore Options:

    • Change the theme by clicking "Options" and selecting "Change Theme."
    • Toggle dark mode with "Dark Mode" in the "Options" menu.
    • Enable or disable live coding with "Live Coding" in the "Options" menu.
    • Cycle variable types using "Type Cycle" in the "Options" menu.
  7. Export Code:

    • Click "Export" in the bottom-right dropdown menu to access export options.
    • Use "Copy to Clipboard" to copy the translated code.
    • Use "Export to File" to save the translated code as a file with options to choose the file type (e.g., .cpp, .h, .js, .py, etc.).

Contributing

Contributions are semi open source but still fully welcome! Feel free to fork this repository, make improvements, and submit push & pull requests as long as you credit us for our work and leave our security seal in here.

Acknowledgments

  • Inspired by the ELSL to C++ Translator and the bat2html converter by PGD.
  • Created by Mr. Asterisk to empower individuals to learn programming their way.

Security Seal

@PGD original code By: mr.asterisk

Contribute to my projects future and past.

https://www.patreon.com/sanon/membership