Skip to content

Commit

Permalink
feat: TL parser and struct generator (#555)
Browse files Browse the repository at this point in the history
* init tl_parser

* init tl parser

* support builtin types

* support constructor number

* single line comment

* multi line comment

* args parse

* pass fields

* optional fields

* functional combinators

* exclamation_point_modifier

* shot tx id gen

* boxed enum

* simplify RawFullAccountState

* gen all

* use latest block as default route

* drop aliases
  • Loading branch information
akostylev0 authored Nov 24, 2023
1 parent 08368b6 commit a4392d2
Show file tree
Hide file tree
Showing 18 changed files with 1,589 additions and 703 deletions.
78 changes: 58 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
resolver = "2"
members = [
"tl_parser",
"tonlibjson-sys",
"tonlibjson-client",
"ton-grpc",
Expand Down
9 changes: 9 additions & 0 deletions tl_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "tl_parser"
version = "0.1.0"
edition = "2021"
authors = ["Andrei Kostylev <[email protected]>"]

[dependencies]
anyhow = { workspace = true }
nom = "7.1.3"
Loading

0 comments on commit a4392d2

Please sign in to comment.