summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
11 daysThe UTF-8 code had two NEVERs which didn't make sense.peter
FossilOrigin-Name: 1be20afeb238bc7c9ca36b903378d6236af521855cfe76fe59ee39f22a7533ff
11 daysFix the crashes found by the fuzzer so far.peter
I really need to think of a better way to store those crash inputs. FossilOrigin-Name: a8b84fbc85ec0b472aca930d2d0af27949b39940317114cc37d37044bf1975d5
2026-09-26Fix the tests, and delete those which were too hard to deal with for now.peter
FossilOrigin-Name: 6e677a34a2eb9e4391570f031c8c7055846b1477f40a020beb102358ee97c75a
2026-09-26Improve the failure simulation test/code.peter
Right now, a lot of test cases fail because if this. Next up: fixing them :) FossilOrigin-Name: 6dd2985bcae86ed3f7c5651e2ce7bc848b80516bf4c1d5482b6095c18dfcc058
2026-09-26Support building both shared and static libraries, using libtool.peter
FossilOrigin-Name: 8d2e0bf113b6268f735f93bfc60d2ecd6981aa4415b7a890a133ae1f4fa2ec0c
2026-09-25Use the parsed unicode stuff to decide what is valid identifier characters, ↵unicode-propspeter
and symbol characters. FossilOrigin-Name: afa25da5a44e8cb032d74269a6d4b7ec1e8842f18cefbd54d5f84a0b6d780f70
2026-09-24More work on the genunicode programpeter
FossilOrigin-Name: edfc2aebb5a66067934b9a05bb88b9d7e3aab4d2070d710e34c4339a0d303a5c
2026-09-22Start writing a genunicode program to process the unicode data files. While ↵peter
we are here, add some missing copyright/license notices. FossilOrigin-Name: 72aa02406da41a413284af19d52bcc1a091cac210b64f9887b123a95f20128e0
2026-09-22Update branch to get the latest autotools stuffpeter
FossilOrigin-Name: a39b9d0fe118ac1f3202f7b730f504056fdba8f0ab5fe79961e0861367fc60bb
2026-09-22Final changes to be able to switch over to an autotools based setupautotoolspeter
FossilOrigin-Name: 6a01b406226d3f60ea7d86fc177296f8e0a6c1e0816264bac807e30d78edbf21
2026-09-22Check for flexible array member support via autoconfpeter
FossilOrigin-Name: 4d8f080ee14f63ea5cb2c0aa87be1519e7b74e3c42de2370e90ae1e1f9268cd0
2026-09-20Start working on migrating to autoconf/automake instead of cmakepeter
FossilOrigin-Name: d870487495106763d2a4e416f1ddbf4c795081a6b77100d34063591e385692e0
2026-09-13Start work on using the real unicode properties as the base for what is ↵peter
allowed in an identifier and a symbol and so on. FossilOrigin-Name: c8b81a4236423008e26c8457e90bcadf82fd00594d981ee99de3908a77c153d4
2026-09-11Tests to get coverage of module.cpeter
FossilOrigin-Name: a711bc8cdf63cce84b3322b4396c277ec72697696555d1dac3d22aa54f4794c6
2026-09-11A bit of work on code coveragepeter
FossilOrigin-Name: 14af041190c6e80aca433ea33078a696d8028caece1988e96db3ba4767e65d61
2026-09-11Get rid of the big macro to visit all chunk pointers. Instead, just use ↵peter
functions which takes a callback. FossilOrigin-Name: 34ea27817033db9bc3e06ba0a90495f712fc37c3672f75d4651c73d62f2945d7
2026-09-11Add missing reference to module in the allocated module_member structurepeter
FossilOrigin-Name: dcd03337409dc19e4558a924afb8719a0ef28561dff9b015b6b4900009d346bf
2026-09-10One step closer to getting all tests to run without crashing :)peter
FossilOrigin-Name: 35a86fc6a569e2373ea6ce0aa96fe4f66a7d94a390fa102b53122b5c3a1c99ba
2026-09-10Work in progress changes for the module system. I am only committing to save ↵peter
my work somewhere, but it doesn't work yet. FossilOrigin-Name: 45400ea0e451183f360a3d0cbb14f262cbec2e62167bad732fd396ed0ce4acaf
2026-09-05Full coverage of lib/module.cpeter
FossilOrigin-Name: 818662a4d9afe9f6b48df33c01d51ecc42bebcdf246c0cf376aa3352873a55be
2026-09-05Full coverage of bin/main.cpeter
FossilOrigin-Name: 91deb642cded69b6c480471147004489a6072ec7c6603286aa6c0ebfc75bf030
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-02Support commentspeter
FossilOrigin-Name: 6d017126fbc93e45a53af2857cce78133b4714cd1a41d7bc0114c1bbaae2ec07
2026-09-02[13ed99ff5b] Give the sources a license: GPLv3+peter
FossilOrigin-Name: 877496d6f607bc4b7cd35f2b763b2633f73804c5860542d59432c1974318d72c
2026-09-01Oopspeter
FossilOrigin-Name: 7dfaeeb44547ee10a4b746ad462397a52716a702f66edfe755dfe67289b53723
2026-09-01Put all the code which visits pointers in memory.c behind a macro, so it can ↵memory-managerpeter
easily be reused. FossilOrigin-Name: 1e911fa0ea41797f445fff6f25df36b6c0f07063b5c6e9936cb243294a2d8a0c
2026-09-01Implement "compaction", which moves all non-free chunks towards the ↵peter
beginning of the allocated space, and combines all the free space at the end. FossilOrigin-Name: c757f65164e1aebf38bc3e9ea8abe4b9f98b183cec7cfbeed0175f65c72f7ca5
2026-09-01First step at garbage collectionpeter
We now visit all objects and change the tag of those which are unreachable, to CHUNK_TAG_FREE. Next step will be to implement compaction to combine all free chunks at the end of the memory space. FossilOrigin-Name: f8641c857b5d430f45d7c1f36fb00866659a5ea78f36ee0535c9166060ea0e19
2026-08-31A little bit of testingpeter
FossilOrigin-Name: 70deba994bb488d4aa5df36577d1e184d6651a3edeff042e9666f54589cdc6f9
2026-08-31Fix problems in release buildspeter
FossilOrigin-Name: 98227d25674f373968f51df0dcdccf3cf14d646a13e56a9229103d1aeb3ad73d
2026-08-31Remove some unneeded references to struct aplwc * in various structures.peter
FossilOrigin-Name: 3b4b7806320d604b0df3654896cfe5d885f116d893ae15cfb3422d6d2de7193c
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 a lot of functions for manually freeing memory (they were not ↵peter
implemented) FossilOrigin-Name: 693765728e62a74a0ab15d657f7d1dd83702a9371fb042dafe6250f84a252959
2026-08-30Let the memory allocation code set the last_error to APLWC_OUT_OF_MEMORY, ↵peter
instead of the callers FossilOrigin-Name: 46c74e207a84e861636dbfebc4ba8bb9e7b17401dfd2c4fb9bdeae0fa98fd530
2026-08-30Remove the struct memory structpeter
FossilOrigin-Name: 38568a34f631b2a4eef72542e2988a9fe081f85d3248194c2ff995a9eed6bd5d
2026-08-29Commit unsaved work.peter
FossilOrigin-Name: 46adf8e389516e01f11696af5cf48d7dbee8764a480e20957a251538ace8cf3a
2026-08-25Add a reference to the original string, in a token_list. Otherwise the ↵peter
offsets make no sense. FossilOrigin-Name: 22c37facb5cb33fac6f473425f5552491da19ae280edcfd8e93f157870f9746e
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-22Small set of changes to make the tests pass - meaning the scanner ↵peter
understands the code, not much else FossilOrigin-Name: d21c4a18581a61da466c0fbfdf73881bec55ea01091ef67abda1d10e17f8d358
2026-08-21Start work on testing the evaluatorpeter
FossilOrigin-Name: 530cc9567bc825fd8a7eb21f2ca12dbf7ecbecae3ed02638537dc4a8dca9ae1a
2026-08-21More work on the scanner: numberspeter
FossilOrigin-Name: b19f7075ec69fcf519de1ed8c33e417f48e74a2d2452f5c59b93bf9101cb2d7e
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