summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2026-09-04Simplify the alloc callback functionpeter
FossilOrigin-Name: a08c14408099c9287646e3fcac0df8dfa04d23cd08273f6b17abe7bff79e0942
2026-09-04Add a test which runs all the scripts in tests/scripts/good to meaure how ↵peter
many memory allocations they perform, and then rerun them with a mode that causes the memory allocator to fail after N allocations. The scripts are run for all values of N from 0 to the number of allocations they need to succeed. FossilOrigin-Name: ed1953c203d3493d9c1adbcb9256d7d380bc1fdcfc7856f03f9d801291f478cd
2026-09-03Don't dynamically allocate external reference counted pointers, just use ↵peter
what the user puts on the stack. FossilOrigin-Name: 270cf0d72050bea15fc40a1e2811ba642e3ef26cbe1fa6231c5aa6f1872ccb34
2026-09-03Compute chunk->next based on chunk->size, and add some debug checkspeter
FossilOrigin-Name: d0b062b28f5486e63437cfefde99508c64b25d1bf6fecdc0af8c49a80a76ed80
2026-09-02[13ed99ff5b] Give the sources a license: GPLv3+peter
FossilOrigin-Name: 877496d6f607bc4b7cd35f2b763b2633f73804c5860542d59432c1974318d72c
2026-08-31The objects returned to the user are now integer-based references,peter
not actual pointers. This means the aplwc internals can update those pointers without the user noticing. FossilOrigin-Name: 654c7d0ec85da295a7fb6ed381500410686b280f342fa81a30481f5e9a20c58a
2026-08-30Still a lot to be done, but I'm going to bed.peter
Two remaining big issues: * aplwc (the parameter passed "everywhere") - should it move or not? * values returned from the public API should not move. FossilOrigin-Name: 31ab3154b8f3d5ac167218496e9e204324bf0ac9d36b7bada8fe2a6c8f93d51c
2026-08-30Remove APLWC_MIN_MEM constant, and APLWC_MEM environment variablepeter
FossilOrigin-Name: affcf2ab9c573820c77778abfb4769fad8a30ce457411b02a9528470994c7a6b
2026-08-30Small tweaks to get the current set of tests to passgetting-startedpeter
FossilOrigin-Name: 840e78468372f506a665fb06ddedd1e51266d465bf250273858e6e2f8976717e
2026-08-25Start working on modules, including a built-in "boot" modulepeter
FossilOrigin-Name: 4829dbeb2071fe0be41ded66a61ba2e156119a47def8a23415b8227a00d53ce7
2026-08-22Start work on a way to test #! scriptspeter
FossilOrigin-Name: 0637c5749d38b540e2a174b5248bf704098fd4ead61aa1d6e84d4495430c7149
2026-08-21Start work on testing the evaluatorpeter
FossilOrigin-Name: 530cc9567bc825fd8a7eb21f2ca12dbf7ecbecae3ed02638537dc4a8dca9ae1a
2026-08-21More work on the scanner and tests for itpeter
FossilOrigin-Name: 037c88ce86e1ba3a399c03a27d4c7252b52c2f500bc13f449e19e497b0607880
2026-08-21Start working on the scanner.peter
For now, all that is implemented is some functionality which imports UTF-8 into the memory managed by aplwc, after checking that the data is in fact valid UTF-8. FossilOrigin-Name: c861e88777d8180cb7b37c11fc7016a900f9d5821a7e3c8e8aab54118d2fca94
2026-08-20Get full coverage of aplwc-repl.peter
This required wrapping malloc so that it can fail under our control. FossilOrigin-Name: a27ccb5f02994393a518419bae15fd26ff0016c734d96350ae2137a1d3c0937c
2026-08-20Move aplwc-repl into its own directory, and likewise for the aplwc librarypeter
FossilOrigin-Name: 7e6b710fae494fadfe06bed16ae10bdda0f377067cb9411ed2b8bfc682d2fcbc