TGViewer
Channel Public Channel
Tact Kitchen

Tact Kitchen

@tact_kitchen

πŸ§‘β€πŸ³ Peek behind the scenes and into the steaming pot of hot updates to Tact compiler, tooling, documentation and ecosystem

⚑️ You know what's cooking β€” Tact!
⌨️ Sources: github.com/tact-lang
πŸ‘‰ t.me/boost/tact_kitchen

Brought to you by the Tact team
Subscribers
505
Photos
36
Videos
4
Links
60

Showing posts older than #14 Β· Back to latest

Older Posts 7 shown
Post #13 538
⚑️ 0. Cleared invalid return type from Slice.skipBits()

If you've previously tried to assign it's results somewhere, it failed with an unwieldy FunC error. But now, the return type is cleared, so one more unreadable error got out of the way!

If you need its return value for some reason, take a look at Slice.preloadBits()

πŸ§‘β€πŸ³ Contributor: Gusarich
πŸ™ Implementation: #388
🍽 To be released in: v1.4.0


⚑️ 1. Added bitwise NOT ~ operator

// Let's flip some bits! (~Λ˜β–ΎΛ˜)~
let nice: Int = ~~~~42 + ~~~~27;

// ~(Λ˜β–ΎΛ˜~)
dump(nice);


πŸ§‘β€πŸ³ Contributor: Gusarich
πŸ™ Implementation: #337
🍽 To be released in: v1.4.0


⚑️ 2. Added &=, |= and ^= operators

They combine operations (&, |, ^) with an assignment, so that you can move from this:

a = a & 01000101; // bitwise AND
b = b | 01000101; // bitwise OR
c = c ^ 01000101; // bitwise XOR


To this:

a &= 01000101;
b |= 01000101;
c ^= 01000101;


πŸ§‘β€πŸ³πŸŽ‰ Community contributor: Alejandbel
πŸ™ Implementation: #350
🍽 To be released in: v1.4.0

🍲 When cooking, make sure not to leave the trail of bits
♨️ @tact_kitchen
  • ⚑ 6
Post #12 521
⚑️ Remember those weird lvalue expected before ~load_int errors?

Like, when you tried to write this:

beginCell().storeInt(42, 7).asSlice().loadInt(7);


Or something similar, but still got that error?

βœ… Well, not anymore!

Now you can freely use .load() or any other extension function on Slices and compile your code successfully!

πŸ§‘β€πŸ³ Contributor: Gusarich
πŸ‘‰ Released in: v1.3.1
πŸ†™ To upgrade your projects, use npm upgrade, or a similar command in other Node.js package managers.

🍲 Gotta Stay Cookin'
♨️ @tact_kitchen
  • ⚑ 7
Post #11 530
Comments have been activated. Health inspectors are invited to make their observations βš•οΈ
Post #10 669
⚑️ Debugging page just got a massive update: Yay!

Very narrowed table of contents (there's more!):
1️⃣ Description of general debugging approaches for Tact smart contracts
2️⃣ Reference to commonly used debugging functions of Tact
3️⃣ How-to: enable debug mode
4️⃣ How-to: write tests in Blueprint, with Sandbox and Jest
5️⃣ How-to: log via emit()
6️⃣ How-to: handle bounced messages
7️⃣ Experimental lab setup

🍲 Chef's Kiss
♨️ @tact_kitchen
  • ⚑ 9
Post #8 939
πŸ—Ώ Where am I? What's Tact Kitchen?

πŸ§‘β€πŸ³ Welcome, fellow chef! Here we bring you tech updates from the Tact team in a digestible form. Read notes on things guaranteed to make it into future releases: from compiler news to plugin enhancements, all ready to be served.

❓ Why, you might ask? Sure, you can subscribe to any repository under github.com/tact-lang and get email notifications right away.

❗️ But if you do it too much, the sheer amount of updates will definitely keep your inbox busy. That's why we've made this channel β€” to make things nice and simple for you ❀️

πŸ“ Now, to navigation!

Main repositories on GitHub:
β€’ Compiler
β€’ Documentation (in the same repo)
β€’ Awesome Tact, the place to collect all community creations
β€’ …and the whole tact-lang, nothing is minor 😎

Community:
β€’ Telegram chat, for tech Q&As πŸ› 
β€’ X/Twitter profile
β€’ and Tact Kitchen β€” you're here, chef 🀌

🍲 Let's cook with Tact!
♨️ @tact_kitchen
  • ⚑ 11
Post #6 798
⚑️ Probably a navigation post, cooking it up!
  • ⚑ 17
Post #1
Channel created
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook β†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 β†’