An open API service indexing awesome lists of open source software.

https://github.com/tanish-ranjan/tpl

TPL is a dynamically typed, multi-threaded, memory safe, garbage collected, multi paradigm programming language with high level simplicity.
https://github.com/tanish-ranjan/tpl

modern programming-language

Last synced: about 4 hours ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://github.com/Tanish-Ranjan/TPL#installation)
2. Documentation: Explore the comprehensive TPL documentation: [Documentation](https://github.com/Tanish-Ranjan/TPL/tree/main/Documentations)
3. Community: Join the TPL community to connect: [Instagram](https://www.instagram.com/language.tpl)

**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](https://github.com/Tanish-Ranjan/TPL/blob/main/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](https://www.oracle.com/java/technologies/downloads/).

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](https://github.com/Tanish-Ranjan/TPL/releases)

- Locate the latest version (as of now, [v0.1.0-beta06](https://github.com/Tanish-Ranjan/TPL/releases/tag/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](https://github.com/Tanish-Ranjan/TPL-VSC-Extension#installation) 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:
``` bash
java -jar
```
Replace `` with the actual path to the extracted TPL interpreter file (e.g., `tpl_interpreter.jar`), and `` with the path to your TPL script (e.g., `myscript.tpl`).