Terlang - VS Code Extension
Terlang is a lightweight programming language designed by Terminal Root.
Terminal Root channel
Video about the language
Terlang GitHub
This extension provides syntax highlighting and snippets for Terlang within Visual Studio Code.
Features
- Syntax Highlighting: Enables proper colorization of Terlang source code.
- Code Snippets: Quickly insert Terlang syntax using predefined snippets.
Snippets
Command |
Prefix |
Description |
Print function |
out |
Displays a text string. |
Print function (new line) |
output |
Displays a text string with a line break. |
Declare a variable |
auto , let , var |
Declares a variable. |
While loop |
while |
Creates a while loop. |
For loop |
for |
Creates a for loop. |
Array/List |
array , list |
Declares an array or list. |
Function |
set , func |
Defines a function. |
Class |
class |
Declares a class with a method. |
Random number |
rand |
Generates a random number between two values. |
Clock function |
clock , date |
Retrieves the current date/time. |
Execute shell command |
exec |
Executes a shell command. |
Include function |
include |
Adds an external file. |
Version function |
version , args |
Outputs the current Terlang version. |
Installation
To use this extension, you must install the language made by Terminal Root in the repository below:
Terlang GitHub
File Association
This extension registers .ter files as Terlang scripts automatically.
License
MIT License.
Extension Developed by Saymon Macedo.
| |