Wow, this is already looking fairly complete. It's easy to see this being an alternative to straight C/C++ for complicated simulation work. Embedded systems, too, since with modifications it could even compile to a specialized dialect like nesC
, which I recall being kind of tedious to write, for some reason. I'm not a C++ maven, so I just glanced over those examples, and they do look nicely concise. What stuck out to me was the "Beyond Templates" section where the C code has "typedef cell cell;" which should be "typedef struct cell cell;" if I remember the pattern correctly.