cwal

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2022-10-18
19:26
Correct counting of comment blocks for the new --keep-first flag. Leaf check-in: a4e43d7088 user: stephan tags: trunk
18:18
Extend stripcomments.c to be able to retain a leading comment. check-in: a60efa6d9b user: stephan tags: trunk
18:17
Account for a deprecation in highlight.js. check-in: 37d8092c50 user: stephan tags: trunk
2022-08-15
19:28
Typo and minor CSS tweak. check-in: 47d6ff8063 user: stephan tags: trunk
19:17
In-doc demo code typo fix. check-in: d2e28de3bd user: stephan tags: trunk
2022-06-23
16:30
Tweaked createDists.sh so that its 'touch' arguments work in a BusyBox environment (Alpine Linux under docker). check-in: 0f7ba1ab4b user: stephan tags: trunk
2022-06-21
11:24
Doc tweak to work around a markdown parsing ambiguity. check-in: 6686b15776 user: stephan tags: trunk
11:10
Added long-missing whcl/manual/api-tmpl.md (was simply never checked in). check-in: 25ca5aec1a user: stephan tags: trunk
2022-06-19
19:39
whcl: extended the if/while/do-while syntaxes to support (...) and [...] in place of {...} in their conditional block part. check-in: cc803cf73c user: stephan tags: trunk
2022-06-10
17:20
Typo and formatting fixes in internal comments. check-in: e9983400af user: stephan tags: trunk
17:13
whcl: resolved a null-pointer assertion which could happen when x.y appears in a command-call context and y is not a property of x. check-in: 9c82fa80b3 user: stephan tags: trunk
2022-06-09
15:26
Typo fix in example whcl code. check-in: 328bf73576 user: stephan tags: trunk
2022-05-01
23:53
Preemptive hypothetical corner-case fix for the previous checkin: only unset the cycle-breaking flag if this invocation was the one which set it. This would seem to make no difference unless some code ignores a being-propagated cycle-check error and invokes the cyclic propref when that error case is propagating (which would be an API violation). Minor doc touchups. check-in: 181e7ecb0e user: stephan tags: trunk
03:59
Corrected the cwal_propref recursion check. It previously only caught the case when the initial being-resolved propref was recursed into but will now catch the case when a sub-invocation recurses into/via itself without re-invoking the initial propref resolution. check-in: a40e9df122 user: stephan tags: trunk
2022-04-14
04:15
More tinkering with the fabled recursive vaccuum. This one fails in the whcl.fs init code but only in the whole constellation, not when run in isolation, and only with the right combination of sweep/vac intervals (==1/5). check-in: 376d3d165f user: stephan tags: trunk
2022-04-13
16:35
Tiny internal cleanups. check-in: 8205032d39 user: stephan tags: trunk
16:34
When sending a value to the recycler, make sure to unset its vacuum-proof flag. Edit: _not_ unsetting doesn't break anything because all such flags are removed when the value is pulled from the recycler, but can (did) lead to confusion when debugging. check-in: 64e470366f user: stephan tags: trunk
14:15
More tinkering with, and notes for, the failed cwal_engine_vacuum_v2(). check-in: 1fc9b12acd user: stephan tags: trunk
13:11
More work on the cwal embedded docs. Removed references to the now-proven-bogus recursive vacuum algorithm. check-in: 68ec23ec4f user: stephan tags: trunk
13:09
Minor css tweaks. check-in: e0a0f93afd user: stephan tags: trunk
13:05
Removed cwal_engine_vacuum_v2(). Its initial impl was not only fundamentally broken, but i can't get what it was _trying_ to do to work. check-in: 0d5c78b8d8 user: stephan tags: trunk
08:09
Removed a done todo. check-in: 6011c8e7c3 user: stephan tags: trunk
08:07
Annotated a TODO. check-in: 3da74f5b97 user: stephan tags: trunk
08:05
Added whcl decl {varname val var2 val...} syntax. check-in: 408488e99a user: stephan tags: trunk
07:58
Moved the cwal index.md. check-in: ee67cc2e22 user: stephan tags: trunk
07:56
Added a whcl unit test script which demonstrates the "inability" to leak stranded cyclic values. check-in: b4aeb9525a user: stephan tags: trunk
2022-04-12
15:31
Correct display of x-/z-string names in/via cwal_dump_allocation_metrics(), broken by recent refactoring. check-in: d63c81511b user: stephan tags: trunk
13:51
Started work on rewriting the long-stagnant (yet still largely relevant) cwal-related wiki pages as embedded docs. check-in: 412c6b7881 user: stephan tags: trunk
07:45
Added some explanatory comments to cwal_engine_vaccum_v2()'s impl. check-in: 57de7431dc user: stephan tags: trunk
07:17
Introducing cwal_engine_vacuum_v2(). Edit: alas, this was premature and flawed :(. check-in: 3f92c0f509 user: stephan tags: trunk
2022-04-11
18:44
Merged in propref-weakref branch. Weak references to aliases seem to work okay, but their utility (beyond _not_ introducing cycles) is debatable. Trivia: this adds the library's first-ever use of a Union-type value. (It's a perfect fit for this specific case.) check-in: 79b26e5009 user: stephan tags: trunk
18:40
More docs. Closed-Leaf check-in: fb2cea79ff user: stephan tags: propref-weakref
18:25
Not thrilled about this, but am going with the "assigning to an alias-to-var resurrects the var" semi-solution to the "missing alias target" problem because we have what appears to be an irreconcilable difference between two different semantics we would like to have for different contexts and this one is the lesser of two evils. check-in: 9d45d638bd user: stephan tags: propref-weakref
16:36
whcl: disabled one of the unit tests which tests a situation which is in direct conflict with another one, and which one is the best approach for that case is as yet undecided. Time for a break. check-in: ff0c16a83d user: stephan tags: propref-weakref
13:04
More work on whcl propref handling after adding weak support. This essentially works but breaks one of the unit tests in such a way as to raise legitimate questions about which failure modes we want/need to propagate and which we can/should hide by simply returning the undefined value. Still undecided. check-in: 9e375fc4b1 user: stephan tags: propref-weakref
11:06
Weakly-referenced proprefs seem to work, but more testing is needed. The most glaring open bug is that whcl's 'unset X' cannot work on an expired propref X because accessing it looks like an undeclared var because of the resulting NULL pointer (same problem as accessing an unset property on its target container). check-in: d041e12487 user: stephan tags: propref-weakref
05:41
Initial work towards enabling a weakref option for proprefs. It compiles and runs but none of the weakref cases are really handled (it can lead to NULL derefs which previously were not possible). Decisions are still pending on how we should treat access to a disappeared weakref (silent or loud failure?). check-in: f30e20a7a0 user: stephan tags: propref-weakref
02:52
Centralized setup of the whcl-centric cwal_json_output_opt settings. (Edit re-applying trunk tag here. The repo somehow got into a state with two branches at the same time and cancelling the trunk tag completely eliminated the trunk.) check-in: b50f3fa675 user: stephan tags: trunk
2022-04-10
05:09
Build fix for whclsh amalgamation. check-in: 35c88b54b7 user: stephan tags: trunk
04:44
Expanded whcl numeric tests and fixed the not-working-as-advertized script-bound number-parsing routines. check-in: 07e5f6c85c user: stephan tags: trunk
02:52
whcl's assert/affirm now accept a single {...} argument as a script to run. whcl's expr evaluation now treats BICs like identifiers. check-in: d5db820c8c user: stephan tags: trunk
01:44
Expanded the types of keys whcl object literals will accept. check-in: b71216bb69 user: stephan tags: trunk
00:22
Removed some dead code. check-in: e76d4dbd84 user: stephan tags: trunk
2022-04-09
22:47
Switched whcl back to "deep scoping" because proprefs otherwise introduce too many unreapable (without the ability to recursively vacuum) values in the top scope. This requires many more allocs, as state had to be moved from per-engine (back) to per-scope, but peak mem is within a few kb. This has the same cyclic reaping problem but it tends to be shorter-lived with deeper scopes. This also runs much faster. check-in: 6ff75da738 user: stephan tags: trunk
22:42
Worked around a recent change in [adbfb4b0f0] which should have been free of side effects but broke s2. TODO: investigate why s2 is doing this. Closed-Leaf check-in: 67dffe3eb9 user: stephan tags: whcl-scope-rework
22:08
Minor readability tweak. check-in: 6efe120e6d user: stephan tags: whcl-scope-rework
20:42
Fixed a test broken by recent changes. Fixed, i hope, the deps generation which caused that file to not recompile sooner. check-in: 1806e53b1c user: stephan tags: trunk
09:53
Corrected some propref breakage introduced by the addition of their read-only flag. check-in: 5417e26cdf user: stephan tags: whcl-scope-rework
09:42
Fixed a legitimate switch fallthru warning and a couple of other warnings reported on a raspberry pi. check-in: b060c9f492 user: stephan tags: whcl-scope-rework
09:36
Apparently we have some broken deps - this couldn't possibly compile against recent changes. check-in: 9326adc800 user: stephan tags: whcl-scope-rework