restore24
Re:Ask HN: Thoughts on Tcl as a Language in 2024?
on Saturday July 27, 2024 @05:20PM (#41089416)
IMO, it has the best ergonomics among scripting languages for embedding into native applications. I'm using it as a serialization format for a game, with the JimTcl interpreter. It's easy to create fluent hierarchical structures that straddle the line between code and data:
object "player" {
health 100
ammo 10
}
https://github.com/msteveb/jimtcl
Re:How I Learned to Stop Worrying and Love the State Machine
on Monday February 26, 2018 @04:39PM (#16469204)
Similarly, I have a early-stage JS library for hierarchical statecharts. It revolves around nested contexts and an explicit message passing interface for controlling states between parent/child/sibling. Example: