TL is a data description language and data storage format.
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.
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
.
Install tlgen
with the following command
go install github.com/vkcom/tl/cmd/tlgen@latest
- Internals (in Russian)
TL is licensed under the Mozilla Public License Version 2.0.