Cao-lang

Latest version: v0.2.4

Safety actively analyzes 623909 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

0.2.4

Bug Fixes

- Fix for-each popping off invalid values if the for-each input list is empty ([3787f6c](3787f6c63cdb58e3c72973262667f43a052d278b))

0.2.3

Bug Fixes

- Fix closure child indexing ([61f344e](61f344e21d948ea0fab4763789df65d224cb4e35))

0.2.1

Bug Fixes

- Fix a crash happening when printing native functions ([2149293](21492936b8da1a0076c62572fdf5000e3a3b699f))
- Stable function traces ([a393994](a3939945026d4d51e1cd60a3e6c1dc1af59cde9c))

Refactor

- Rename is_top_level_card ([877e130](877e1302ecae1787030b0afdfe8308f9cecd851d))

Chore

- Prepare for v0.2.1 ([aa8a91e](aa8a91e8db03fba3551669c1b7d165ea788c162e))

0.2.0

Bug Fixes

- Clear upvalues in `clear` ([c878e20](c878e20f9169ac3a9d51c0689bf4972f9a5506ef))
- Fix DynamicCall label ([8ffbf48](8ffbf487baa4d00a535050d682ebb68251503e31))
- Fix repeat local variable ([01fe0bb](01fe0bbd542d6b12d6ab6c04604e0204363aa66c))
- Fix for-each local variables ([9334d00](9334d00250b60659f6e2af1d730f7caa68ef8995))

Features

- Add comment card ([4cdee94](4cdee947232df593407e282c979e87abf3321a74))

0.1.110

Features

- Add `to_array` to stdlib ([2702876](27028762881a7921891dcc7b7f07032540067e1d))

Refactor

- [**breaking**] Rename Lanes to Functions ([ce13429](ce1342934af3ee318478e576bbd82eb9be22c868))
- [**breaking**] Remove the Pass card ([65978e3](65978e32dd811401469ca585fd8954f175eaf31d))

0.1.109

Bug Fixes

- Do not panic if cast_match fails ([e6164f8](e6164f8ace581d93a7b7cba9be945226c9eb6616))
- Fix min/max. Fix for-each altering table orders ([83f5d9f](83f5d9f9a0f83f81d8cab3902b5657ad1d08bb63))
- Fix non-identity key functions being ignored by min/max ([48a63e8](48a63e8a4cdada5782ded277fa624d18b6e55b38))
- Fix an issue in the HashMap implementation that could lead to spurious lookup failures after removing items ([3e33f23](3e33f2375ac3d65387721d5a2aac9c781f9df354))

Features

- [**breaking**] Native functions must return a Value on success instead of manipulating the stack for return values ([a38355f](a38355f04ee39a3a26429202736d66a599c81c03))
- Add a method for native functions to call cao-lang ([aa97618](aa976188b958db393a1bcc52a7aed6bf7e8b5074))
- Standard lib sort function ([5dbcf28](5dbcf28cf6cfd7111e4c5b3cbfa950e3aca00421))
- Add anonymous functions ([2c480f6](2c480f6d97f58083ba27c61bcc3ae069615ec9ea))
- Nested functions ([7451789](745178931a019eeb5ba87b7fd03f89595fe1fcb4))
- Function can capture variables from enclosing scopes ([1e4598f](1e4598f55369c833a872cc92235a8525b0517307))

Refactor

- [**breaking**] Return an object with `key` `value` keys when getting a row from a table ([71874c9](71874c9f65abc51863fc0de24a25c1e2cbd7a543))
- Rename Lanes to Functions ([52f8b44](52f8b44ecf12edf27432975f98b85b36b1bbbb92))
- [**breaking**] Rename `register_native_function` ([a72f480](a72f480bef8f170047f82c1a6714e912a2f1ad94))
- [**breaking**] Remove function serialization ([1eae87d](1eae87dd531f4af33f0ab52343debfea1ea480e6))

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.