tact-docs icon indicating copy to clipboard operation
tact-docs copied to clipboard

feat: new page for functions

Open novusnota opened this issue 1 year ago • 4 comments
trafficstars

WIP: WIP

Closes #131

novusnota avatar Jun 26 '24 17:06 novusnota

Any progress here?

anton-trunov avatar Jul 08 '24 09:07 anton-trunov

Any progress here?

anton-trunov avatar Jul 18 '24 09:07 anton-trunov

we need this page asap, especially with enhanced section on native functions showing how to FFI with FunC

anton-trunov avatar Jul 25 '24 10:07 anton-trunov

for instance, here is an example of a binding for FunC's parse_std_addr function:

;; FunC
(int, int) parse_std_addr(slice s) asm "REWRITESTDADDR";
// Tact
struct Addr {
    workchain: Int;
    address: Int;
}

@name(parse_std_addr)
native parseStdAddr(s: Slice): Addr;

(caveat emptor: I haven't tested it)

anton-trunov avatar Jul 25 '24 12:07 anton-trunov

Any progress here?

anton-trunov avatar Sep 03 '24 04:09 anton-trunov

Closed in favor of opening a new PR in https://github.com/tact-lang/tact

The commits here should be kept for a while, so the branch must not be deleted!

novusnota avatar Oct 01 '24 12:10 novusnota