Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Konstantin 🔭
@konstantin@hachyderm.io  ·  activity timestamp 2 weeks ago

@Setok Oh really, that sounds cool. I guess writing tests is really the perfect use case for this, it's not a function you'd need to call or type by hand. It can get cumbersome in other use cases

Kristoffer Lawson
@Setok@attractive.space replied  ·  activity timestamp 2 weeks ago

@konstantin can also be used for encapsulation of a sort. At least in #Tcl, procedures (functions) can be created dynamically and with any names. So you could have a procedure that creates a new procedure (even like what you described), and returns the name which you could then set to a variable and use it that way (indeed OO systems tend to do that). Using aliases you could even create a command to do:

newProc hello {Does the usual hello world thing} {
puts “Hello, world”
}

  • Copy link
  • Flag this comment
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 3 weeks ago

Wacl – A Tcl Distribution for WebAssembly

https://github.com/ecky-l/wacl

#HackerNews #Wacl #Tcl #WebAssembly #Distribution #Programming #Innovation

GitHub

GitHub - ecky-l/wacl: A Tcl distibution for WebAssembly or Javascript

A Tcl distibution for WebAssembly or Javascript. Contribute to ecky-l/wacl development by creating an account on GitHub.
  • Copy link
  • Flag this post
  • Block
emery
@emery@hj.9fs.net  ·  activity timestamp 7 months ago

A reasonably effective implementation of the Syndicated Actor Model in Tcl: https://git.syndicate-lang.org/ehmry/sycl

#syndicate #tcl #ngi0

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login