Commit Graph

2 Commits

Author SHA1 Message Date
42eec149f6 added comments to break.cosmo 2020-12-24 00:47:21 -06:00
a408353c25 added "break" and "continue" statements
a LoopState was added to the CCompilerState struct which keeps track of breaks, start chunk index, and the start scope of the active loop.
Also, break.cosmo was added to the examples directory, 'continue' and 'break' work as expected.
2020-12-24 00:41:00 -06:00