Skip to content

Releases: cometlang/comet

v0.23.4

03 Mar 11:06
Compare
Choose a tag to compare
Fix cleanup of the interpreter

There were some cases where clearing out the globals after finalizing
the garbage collector (notably, where a bunch of strings are generated)
would, in fact, trigger a garbage collection run.  That is basically
undefined behaviour, which results in a segfault.  Hurray!

v0.23.3

02 Mar 09:08
Compare
Choose a tag to compare
Fix try/finally block

Not having an exception catching block is quite legal, so we shouldn't
assume that there is one.  At which point, we should avoid placeholders
for finding exception types, so we don't try to get the string content
of a NIL_VAL, which results in a segfault.

v0.23.2

07 Feb 10:22
Compare
Choose a tag to compare
Fix import statement

Fixes the import statement enough that I can run a unit test that
imports a file with a foreach loop.  I presume this is correct.

v0.23.1

03 Feb 05:53
Compare
Choose a tag to compare
Add print constants for chunks

printing out the constants is quite useful for debugging, because we
only ever reference them by their index in the array...

v0.23.0

24 Jan 09:19
Compare
Choose a tag to compare
Fix to have clean run of is.cmt unit test

Some string builder fixes, some parser fixes for import and some
re-arrangements of the unit test output.  Either way, the easy test
runs.  string_test.cmt does _not_ run but I suspect some other construct
is leaving the stack in a bad way and that's causing unhappiness when
the file is run as a dynamic import.

v0.22.1

09 Jan 16:28
Compare
Choose a tag to compare
Error checking on input functions

v0.22.0

09 Jan 08:12
Compare
Choose a tag to compare
Implement input / get_password

Added an input and get_password function.

v0.21.0

09 Jan 06:18
Compare
Choose a tag to compare
Implement print_to

Allow printing to stderr or stdout

v0.20.1

08 Jan 08:56
Compare
Choose a tag to compare
Parser error fixups

v0.20.0

04 Jan 20:40
Compare
Choose a tag to compare
Implemented Boolean.parse

Minor other cleanup, but it's nice to know that booleans work as
intender