tl icon indicating copy to clipboard operation
tl copied to clipboard

feat: support TON

Open andreypfau opened this issue 1 year ago • 2 comments

curl -s "https://raw.githubusercontent.com/ton-blockchain/ton/master/tl/generate/scheme/lite_api.tl" \
>     | go run github.com/gotd/tl/cmd/tl-print
panic: failed to parse line 15: definition: failed to parse param: failed to parse type: invalid name "4*["

goroutine 1 [running]:
main.main()
        /Users/andreypfau/GolandProjects/tl/cmd/tl-print/main.go:13 +0x140
exit status 2

andreypfau avatar Nov 17 '23 23:11 andreypfau

https://github.com/tdlib/td works fine with all .TL files in: https://github.com/ton-blockchain/ton/tree/master/tl/generate/scheme

andreypfau avatar Nov 17 '23 23:11 andreypfau

Yes, unfortunately only subset (used in telegram) of TL is supported and implementation is far from being full.

Currently I’m out of capacity to implement this, but I’m very open for contributions.

ernado avatar Nov 17 '23 23:11 ernado