ejmr wrote:Continue can be implemented in terms of goto. But the reverse isn't possible.
Yeah, I think it makes sense given Lua's "small but powerful" design philosophy.
PIL Preface wrote:
Lua is a simple and small language. It has few (but powerful) concepts. This simplicity makes Lua easy to learn and contributes for a small implementation.
I've written some documentation and automated tests for Chain; everything can be found here from now on. It was surprisingly hard to document for such a small amount of code. If anyone has suggestions for improving the docs, please let me know.
Re. improving the documentation, one minor thing is that you can have syntax highlighting for the example code. In the Markdown, instead of indenting the examples by four spaces, you can surround them with grave accents / backticks and the name of the programming language like so...