Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract stdlib definitions from the AST #329

Open
jubnzv opened this issue Mar 7, 2025 · 0 comments
Open

Extract stdlib definitions from the AST #329

jubnzv opened this issue Mar 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jubnzv
Copy link
Member

jubnzv commented Mar 7, 2025

Currently, stdlib.ts contains hard-coded definitions of interesting functions/methods to analyze, e.g.

export const BUILDER_MUTATING_METHODS = new Set<string>([
"storeRef",
"storeBits",
"storeInt",
"storeUint",
"storeBool",
"storeBit",
"storeCoins",
"storeAddress",
"skipBits",
]);

We could generate them automatically using the Tact parser; or maybe generate TS code that contains their definitions in advance.

@jubnzv jubnzv added the enhancement New feature or request label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant