Skip to content

TPL is a dynamically typed, multi-threaded, memory safe, garbage collected, multi paradigm programming language with high level simplicity.

License

Notifications You must be signed in to change notification settings

Tanish-Ranjan/TPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Professional's Language (TPL)

The Professional's Language (TPL) is a modern, procedural scripting language developed using Kotlin. It is designed to empower developers of all levels to create efficient and versatile applications. It combines the:

  • Simplicity of high-level languages for clear and concise code.
  • Power of low-level languages for intricate system programming.

Key Features:

  • Built with Kotlin: Leverages the power and features of the Kotlin language for TPL's core functionalities.
  • Interpreted Execution (with future compiler): Currently runs code line by line during execution. A compiler for pre-compiling TPL code into machine code is planned for future releases.
  • Multi-paradigm Design: Seamlessly blend high-level and low-level programming paradigms.
  • Dynamic Typing & Garbage Collection: Simplified development and efficient memory management.
  • Multi-threading Support: Optimize execution and utilize computational resources effectively.
  • Kotlin Integration: Embed Kotlin code blocks for powerful functionality.
  • Easy to Learn & Use: Clear syntax and a smooth learning curve.
  • Memory Safety: Minimizes memory-related errors for a robust development environment.
  • Plugin System: Customize the compiler and tailor TPL to your specific needs.

Who Should Use tpl?

  • Beginners: Learn the fundamentals of programming with a clear and approachable language.
  • Experienced Developers: Explore a versatile scripting language for various development tasks.
  • Anyone: Build efficient and customizable applications with TPL's unique features.

Getting Started:

  1. Installation: Follow the installation instructions: Installation Instructions
  2. Documentation: Explore the comprehensive TPL documentation: Documentation
  3. Community: Join the TPL community to connect: Instagram

We welcome you to the world of TPL! We encourage you to explore the language, experiment with your scripts, and share your feedback.

License:

TPL is licensed under the TPL License. See the LICENSE for more information.

Installation

Prerequisites (Java)

Before installing the TPL interpreter, ensure you have Java 8 or above installed on your system. TPL relies on Java to execute code.

Verifying Java Installation

  • Open a terminal or command prompt.
  • Type java -version and press Enter.

If Java is installed correctly, you should see the installed Java version displayed. If not, you'll need to download and install Java from the official website.
Now that you have verified (or installed) Java, you can proceed with the TPL interpreter installation.

Installing Interpreter

This guide outlines the installation process for the TPL scripting language. Here, we'll cover two options:

  1. Using the TPL VS Code Extension (Recommended)
  2. Traditional Command-Line Installation

Downloading the TPL Interpreter

Before diving into either installation method, you'll need to download the TPL interpreter. Head over to the release section: TPL Releases

  • Locate the latest version (as of now, v0.1.0-beta06).
  • Download the interpreter available as a JAR file.

1. Using the TPL VS Code Extension (Recommended)

For a convenient and integrated development environment, we recommend using the TPL VS Code extension. It allows you to work with TPL scripts directly within VS Code. To install it:

  • Open VS Code.
  • Navigate to the Extensions tab (Ctrl+Shift+X on Windows/Linux, Cmd+Shift+X on macOS).
  • Search for "TPL Extension".
  • Locate the extension developed by "Tanish Ranjan".
  • Click Install. Once installed, the extension will automatically configure VS Code for TPL development. Refer to the extension's installation guide for further details and setup instructions.

2. Traditional Command-Line Installation

For those who prefer the command line, follow these steps:

  • Save the downloaded JAR: Save the downloaded interpreter file (e.g., tpl_interpreter.jar) to a desired location on your system.

  • Create a TPL script file: Use a text editor to create a file with a .tpl extension (e.g., myscript.tpl). Write your TPL code in this file.

  • Run the TPL interpreter: Open a terminal or command prompt. Run the following command:

    java -jar <path-to-downloaded-interpreter> <path-to-your-tpl-file>

    Replace <path-to-downloaded-interpreter> with the actual path to the extracted TPL interpreter file (e.g., tpl_interpreter.jar), and <path-to-your-tpl-file> with the path to your TPL script (e.g., myscript.tpl).

About

TPL is a dynamically typed, multi-threaded, memory safe, garbage collected, multi paradigm programming language with high level simplicity.

Topics

Resources

License

Stars

Watchers

Forks