tact
tact copied to clipboard
Tact compiler main repository
Closes #526 Closes #619 (FunC grammar & parser by @novusnota) ### Main roadmap 1. ~~Write AST/formatter, and utilities to generate and emit Func code.~~ 3. Rewrite the existing codegen using...
Towards #512 and #455. It supports expressions and statements. Specifically: + Calls to module-level functions without attributes (including recursive calls). Unsupported attributes: native, inline, extends, mutates + Reference to module-level...
``` const foo: Int = 42; contract Test { get fun bar(): Int { let foo = 43; //
The following contract compiles, but produces a TS error: ```tact import "@stdlib/deploy"; contract Test with Deployable { id: Int as uint32 = 0; anotherData: Cell; init() { self.anotherData = beginCell().endCell();...
``` extends mutates fun inc(self: Int) { self += 1; } const C1: Int = 42; contract Test { get fun foo(): Int { 42.inc(); // this is fine C1.inc();...
The version 1.4.1 cannot deploy contracts properly. tact.config.json { "name": "ExampleJettonMaster", "path": "./src/contracts/jetton_example.tact", "output": "./src/output", "mode": "fullWithDecompilation", "options":{ } }, deploy ts code: let packed_msg2 = beginCell() .store( storeJettonMint({ $$type:...
This would check we don't break misti with accidental Tact's TS API changes. Depends on #543
Internal structs implementation was reworked in #590 to allow structs with more than 15 fields, but it also made getters return struct in a form of one tuple instead of...
Collection and individual content are returning null when querying TonAPI and Toncenter HTTP endpoints. However, I am able to correctly retrieve the NFT URI using the get_nft_data function. Additionally, NFTs...
Here is code of simple contract factory - it should deploy instances of itself when recieves "DeployContract" type of message: ``` import "@stdlib/deploy"; message DeployContract{ id: Int as uint64; }...