1
0
forked from Alepha/Alepha
Commit Graph

325 Commits

Author SHA1 Message Date
adam 696e1b56f6 Add tagged ctor check support. 2024-03-18 15:49:23 -04:00
adam e25b171e6b Simple number-printing utility function.
4271 -> "Four thousand two hundred seventy one"

Why?  Well, for one it permits the generation of larger
strings from simple 32-bit seed numbers.  This permits
sort of a "decompression" of string data from simple
inputs to do some fuzz testing or other things.
2024-03-04 15:33:59 -05:00
adam 5ce131114f Unify the grade checking. 2024-02-21 20:38:47 -05:00
adam ad8690769e Merge 'doxy_setup'
Tony and I walked thru this on the phone.  Looks good, for now.
2024-02-01 22:03:24 -05:00
Tony Mulieri 130bb48111 fix type in readme 2024-02-01 21:51:37 -05:00
Tony Mulieri 985da4d921 basic doxygen setup for Alepha 2024-02-01 21:33:58 -05:00
adam 9183514469 Merge branch 'capabilities-rewrite' 2024-01-27 05:14:21 -05:00
adam 185ce3cc06 Type List concatenation for type-lisp. 2024-01-27 05:13:43 -05:00
adam 60ed507e8d Capabilities clauses can now be repeated. 2024-01-27 05:12:43 -05:00
adam 9224e98616 Type List concatenation for type-lisp. 2024-01-27 05:12:07 -05:00
adam 3afe19965d Describe tests which are skipped.
This helps prevent silent test skipping on normal runs.
2024-01-27 04:49:05 -05:00
adam 9c9ed65312 I think this makes capabilities much simpler and more reliable.
But the capabilities are now limited to a single param -- Time to change that?
2024-01-27 04:21:27 -05:00
adam e8b41a0116 Started a rewrite... but now I'm going to try it with friends? 2024-01-26 23:17:22 -05:00
adam 08654a9a86 Deal with last-item-in-the-queue bug. 2024-01-06 01:46:34 -05:00
adam da34142bf1 Fix stalls due to lacking custom terminal notifications.
`Dropbox` and `Mailbox` should be roughly the same interface, but
with different stall semantics.  However, terminal operations don't
wait.  `finish( custom )` should be a handoff without wait.

`Dropbox`'s primary thread-coordination works in terms of an
acquire/release semantic whereby `release` doesn't block, so this
naturally works.  However, `Mailbox` works in terms of the `Interlock`
primitive which allows for a terminal-case `checkpoint`.  Therefore
`finish( custom )` has to call the `checkpoint` api in `Mailbox`
2024-01-05 23:57:47 -05:00
adam 5a67b8d0ec Make an observer const. 2024-01-05 14:28:15 -05:00
adam 45f48df5a9 Unify would block names. 2024-01-04 01:06:03 -05:00
adam 005b5f8730 Mailbox wouldBlock primitive. 2024-01-04 00:37:46 -05:00
adam 7253432198 Add a new mailbox alternative 2024-01-03 23:57:31 -05:00
adam 8ce3bd8bdf Add notification primitive to Mailbox. 2024-01-02 04:59:54 -05:00
adam c1c217146c Fix compiling error. 2023-12-28 22:56:55 -05:00
adam 9424fbd193 Add some compile time checking for abuse of error. 2023-12-27 16:19:25 -05:00
adam fbc731dec9 Thread Group (More needs to be done, but this is a start). 2023-12-27 16:19:09 -05:00
adam 7225a7759c Some thread interruption defensiveness. 2023-12-13 00:10:05 -05:00
adam c04fc7be3c Non-blocking states and documentation for Interlock. 2023-12-12 23:56:17 -05:00
adam 94596d0d7d Interlock for mailbox. 2023-12-12 17:37:03 -05:00
adam bf207244b6 Fix some bugs in iostream exception handling for expansions. 2023-12-02 04:25:32 -05:00
adam b9de163083 Exception state masking. 2023-12-02 04:18:58 -05:00
adam 6b5cfa246d Fix some bugs I discovered in StringMap
I found these in an executable use case.
2023-12-02 01:36:24 -05:00
adam 7a569f9b58 IWYU 2023-12-01 21:14:29 -05:00
adam a28c99cca7 Fix the aliasing of what in exceptions. 2023-12-01 17:40:52 -05:00
adam b24b927b67 Make debugging for mailbox silent. 2023-11-29 19:00:26 -05:00
adam 3b707be882 Missing #pragma once. 2023-11-29 08:09:52 -05:00
adam eb0d467e18 Missing header. 2023-11-19 02:06:08 -05:00
adam c83549101b Autodeduce CPU count. 2023-11-19 01:37:17 -05:00
adam af6c39b153 Correct an incorrect forward declaration. 2023-11-19 01:36:43 -05:00
adam ad7f118785 Get everything building again. 2023-11-19 00:44:39 -05:00
adam 3e340f414a Mailbox doesn't use Event. 2023-11-18 23:06:39 -05:00
adam db84f78435 Started to make a StringMap for fuzzy lookup.
It's not done yet.  But I want to checkpoint it.
2023-11-18 02:53:11 -05:00
adam 001de28231 String distance algorithms. 2023-11-17 01:22:30 -05:00
adam 4426fc2857 Mailbox has been modernized. 2023-11-16 07:32:56 -05:00
adam 4dac28a2c3 Better error messages in certain exception test situations. 2023-11-16 07:29:30 -05:00
adam f2de383c03 Exception message observer needs to be public. 2023-11-16 07:28:56 -05:00
adam e62a24b1ab Create thread context for the main thread.
We probably should also do it for any random thread... but this
mostly would be to prevent crashes... as there's no Alepha thread
object associated with the
2023-11-16 03:10:39 -05:00
adam 7b33b727bf Fix infinite recursion in debug printing in tests. 2023-11-16 03:10:07 -05:00
adam b8d6c5aced Modernize thread code. 2023-11-14 16:57:02 -05:00
adam c6b66aa7b5 Individual TableTest cases can be disabled. 2023-11-13 11:45:56 -05:00
adam 4682fe3ffb Consolidate the StaticValue implementations. 2023-11-12 05:23:20 -05:00
adam 5db7ad01f8 A large number of files have had their module namespace renamed 2023-11-12 05:03:26 -05:00
adam 057aa27cb7 Testing improvements. 2023-11-12 00:12:40 -05:00