Skip to content

Commit f2cc181

Browse files
authored
Merge pull request #675 from pixelplex/add-tlb-codegen-link
Add tlb codegen link
2 parents 097e0e3 + fb9fa19 commit f2cc181

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

docs/develop/dapps/asset-processing/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here you can find a **short overview** on [how TON transfers work](/develop/dapp
88

99
## Overview on messages and transactions
1010

11-
Embodying a fully asynchronous approach, TON Blockchain involves a few concepts which are uncommon to traditional blockchains. Particularly, each interaction of any actor with the blockchain consists of a graph of asynchronously transferred [messages](/develop/smart-contracts/guidelines/message-delivery-guarantees) between smart contracts and/or the external world. Each transaction consists of one incoming message and up to 512 outgoing messages.
11+
Embodying a fully asynchronous approach, TON Blockchain involves a few concepts which are uncommon to traditional blockchains. Particularly, each interaction of any actor with the blockchain consists of a graph of asynchronously transferred [messages](/develop/smart-contracts/guidelines/message-delivery-guarantees) between smart contracts and/or the external world. Each transaction consists of one incoming message and up to 255 outgoing messages.
1212

1313
There are 3 types of messages, that are fully described [here](/develop/smart-contracts/messages#types-of-messages). To put it briefly:
1414
* [external message](/develop/smart-contracts/guidelines/external-messages):

docs/develop/data-formats/tl-b-language.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -642,13 +642,6 @@ a comment
642642
// This is one line comment
643643
```
644644

645-
## IDE Support
646-
647-
The [intellij-ton](https://github.com/andreypfau/intellij-ton) plugin supports Fift, FunC and also TL-B.
648-
The TL-B grammar is described in
649-
the [TlbParser.bnf](https://github.com/ton-blockchain/intellij-ton/blob/main/src/main/grammar/TlbParser.bnf) file.
650-
651-
652645
## Useful sources
653646

654647
- [A description of an older version of TL](https://core.telegram.org/mtproto/TL)

docs/develop/data-formats/tlb-ide.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
# IDE Support
22

3+
The [intellij-ton](https://github.com/andreypfau/intellij-ton) plugin supports the Fift and FunC programming languages
4+
as well as the typed language binary (TL-B) format.
35

4-
### Highlight
5-
The [intellij-ton](https://github.com/andreypfau/intellij-ton) plugin supports the Fift and FunC programming languages as well as the typed language binary (TL-B) format.
6-
7-
Additionally, the correct TL-B syntax specifications are described in the [TlbParser.bnf](https://github.com/andreypfau/intellij-ton/blob/main/src/main/grammars/TlbParser.bnf) file.
8-
9-
### TL-B Parsers
10-
11-
TL-B parsers help carry out the serialization of basic [TL-B types](/develop/data-formats/tl-b-types). Each of which implements TL-B types as an object, and returns serialized binary data.
12-
13-
| Language | SDK | Social |
14-
|------------|-------------------------------------------------------------------------------------------------------------|------------------------|
15-
| Kotlin | [ton-kotlin](https://github.com/andreypfau/ton-kotlin/tree/main/ton-kotlin-tlb) (+ parsing `.tlb` files) | https://t.me/tonkotlin |
16-
| Go | [tonutils](https://github.com/xssnick/tonutils-go/tree/master/tlb) | https://t.me/tonutils |
17-
| Go | [tongo](https://github.com/tonkeeper/tongo/tree/master/tlb) (+ parsing `.tlb` files) | https://t.me/tongo_lib |
18-
| TypeScript | [tlb-parser](https://github.com/ton-community/tlb-parser) | - |
6+
Additionally, the correct TL-B syntax specifications are described in
7+
the [TlbParser.bnf](https://github.com/ton-blockchain/intellij-ton/blob/main/src/main/grammar/TlbParser.bnf) file.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# TL-B Tools
2+
3+
## TL-B Parsers
4+
5+
TL-B parsers help carry out the serialization of basic [TL-B types](/develop/data-formats/tl-b-types). Each of which
6+
implements TL-B types as an object, and returns serialized binary data.
7+
8+
| Language | SDK | Social |
9+
|------------|----------------------------------------------------------------------------------------------------------|------------------------|
10+
| Kotlin | [ton-kotlin](https://github.com/andreypfau/ton-kotlin/tree/main/ton-kotlin-tlb) (+ parsing `.tlb` files) | https://t.me/tonkotlin |
11+
| Go | [tonutils](https://github.com/xssnick/tonutils-go/tree/master/tlb) | https://t.me/tonutils |
12+
| Go | [tongo](https://github.com/tonkeeper/tongo/tree/master/tlb) (+ parsing `.tlb` files) | https://t.me/tongo_lib |
13+
| TypeScript | [tlb-parser](https://github.com/ton-community/tlb-parser) | - |
14+
15+
## TL-B Generator
16+
17+
[tlb-codegen](https://github.com/ton-community/tlb-codegen) package allows you to generate Typescript code for serializing and deserializing structures according to the TLB scheme provided.

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ const sidebars = {
581581
'develop/data-formats/transaction-layout',
582582
'develop/data-formats/crc32',
583583
'develop/data-formats/tlb-ide',
584+
'develop/data-formats/tlb-tools',
584585
],
585586
},
586587
'develop/data-formats/tl',

0 commit comments

Comments
 (0)