tl
tl copied to clipboard
feat: support TON
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
https://github.com/tdlib/td works fine with all .TL files in: https://github.com/ton-blockchain/ton/tree/master/tl/generate/scheme
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.