Skip to content

VKCOM/tl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL

TL is a data description language and data storage format.

Overview

In general, interest in TL stems from a desire to serialize data and make RPC calls to servers that implement TL RPC, as well as to implement such servers

TL describes data structures, including RPC queriesand their responses, using syntax derived from functional programming languages.

The TL format is characterized by compactness and high efficiency.

TL is schema-driven format. Tool caled tlgen is used to generate structs/classes and (de)serialization methods.

Running without installation

You can run tool without installation. This is recommended way for most use cases.

go run github.com/vkcom/tl/cmd/tlgen@latest <options>

For build scripts, you can pin particular version instead of latest.

Installation

Install tlgen with the following command

go install github.com/vkcom/tl/cmd/tlgen@latest

Documentation

License

TL is licensed under the Mozilla Public License Version 2.0.