tact
tact copied to clipboard
Tact compiler main repository
The example from the issue https://github.com/ton-blockchain/ton/issues/1022 should obviously map to Tact, so we need to check if Tact has the same bug and add a workaround for it (maybe even...
Currently, the compiler does not allow declaring an extension function over maps: ``` extends fun testFun(self: map) { ...... } ``` Hence, the compiler also rejects mutating functions having maps...
Things like this ``` if (f.op === "==" || f.op === "!=") { if (isNull(f.left) && isNull(f.right)) { if (f.op === "==") { return "true"; } else { return "false";...
This would allow user-defined data types that include general operations on maps, like the map with the O(1) length operation, see #471 or the implementation of `emptyMap` can be moved...
Currently, the following program does not compile: ``` struct SB { b1: Bool; b2: SC; } struct SC { c1: Int; } contract SemanticsTester { counter: Int = 5; sC:...
We should have an option to enable `debug` mode in `WriterContext.extract` when compiling a project, at least to ensure that the generated code can be compiled: https://github.com/tact-lang/tact/blob/12def54b4b17417dda06cbf0e7e411f003504f8a/src/generator/Writer.ts#L70 Related #805
### Are you using the latest released (or pre-released, a.k.a. "next") version? - [X] I'm using the latest Tact version ### Tact source code _No response_ ### Relevant Tact/build system...
It is processed in the [code](https://github.com/tact-lang/tact/blob/69ed55b242843bf0a6ce1e80acb39de23b9809c8/src/types/resolveDescriptors.ts#L787) but there is no corresponding test. Corresponding tact-docs issue: https://github.com/tact-lang/tact-docs/issues/375.
### What kind of features would like to see supported in Tact? ## The problem Right now there is no way to store any binary data in tact, because the...
For instance, the following [FunC builtins](https://github.com/ton-blockchain/ton/blob/master/crypto/func/builtins.cpp) do not have the corresponding Tact functions: - `divmod` - `muldiv` (perhaps with Fift's `*>>` and `