1
0
forked from Alepha/Alepha
Commit Graph

317 Commits

Author SHA1 Message Date
adam c92eeb0a2a Put string algorithms into Hydrogen ABI. 2023-10-21 00:19:11 -04:00
adam 89e5ef6169 Exception header namespace reformat. 2023-10-21 00:18:52 -04:00
adam b7e45feb70 Move error header into Hydrogen ABI. 2023-10-20 23:59:31 -04:00
adam 1bb0c56224 Update and consolidate the console and colors code.
This introduces a subset of SGR-Name syntax.
2023-10-20 23:48:00 -04:00
adam 69aa923450 Fix bug in split, where the last item is discarded. 2023-10-20 17:28:08 -04:00
adam 4e107ec0b1 Sanitize some debug printing. 2023-10-20 05:08:13 -04:00
adam 127dd6308f Merge branch 'sean-approved' 2023-10-20 04:50:32 -04:00
sspillane 909fe49169 Backdate required cmake to 3.22
In this commit, I propose to backdate cmake to version 3.22, as that is
the currently-supported Ubuntu LTS version.
2023-10-20 04:50:23 -04:00
adam 32fc4b481d Merge branch 'master' of github.com:adamlsd/Alepha
Conflicts:
	cmake/rules.cmake
2023-10-20 04:50:11 -04:00
adam 0001117f78 Make StackableStreambuf a compiled library. 2023-10-20 04:49:08 -04:00
adam 0b63658815 Unify the evaluation helpers implementations. 2023-10-20 04:49:07 -04:00
adam f5840e15ab IWYU for integer types in table test. 2023-10-20 03:32:42 -04:00
adam 267e6b4b70 Stackable streambuf testing... 2023-10-20 03:17:57 -04:00
adam f61710bfdb Further improvement to StackableStreambuf.
The ownership model is more shored up.
2023-10-20 03:09:01 -04:00
adam e4b8b3f6ef Clean up the external-boost framework. 2023-10-18 13:58:34 -04:00
adam 8520b87689 Stackable streambuf cleanup needs to be per-instance. 2023-10-18 01:43:05 -04:00
adam 1959ec7fdd Update pair_decay to new namespace format. 2023-10-18 01:41:21 -04:00
adam 92d6b3840d Use the stacked streambuf to implement wrapping. 2023-10-17 17:27:57 -04:00
adam 87634c4549 StackableStreambuf needs to be exported (and cleaned up). 2023-10-17 15:31:25 -04:00
adam 200772d27d Make the gcc output handle tab column alignment as bytes. 2023-10-17 15:30:40 -04:00
adam d65687f45e Start implementing a unified stackable streambuf framework. 2023-10-17 14:01:49 -04:00
adam 948877d920 Remove the string-based code. 2023-10-15 20:16:52 -04:00
adam 3ad9f33953 Change variable substitution to work on streams. 2023-10-15 20:05:26 -04:00
adam 3a6a9d01de Fix infinite recursion due to not resetting the main streambuf. 2023-10-15 20:03:32 -04:00
adam 8fce9c675f Testing literals namespace fix for word_wrap.test. 2023-10-15 20:00:28 -04:00
adam d2d1181c77 Fix the test literals namespace. 2023-10-15 19:57:11 -04:00
adam f0b514dccd Add tests for string algorithms. 2023-10-15 19:51:37 -04:00
adam f1f010fdb2 Change program options to use streaming wrap, not string wrap. 2023-10-15 03:38:32 -04:00
adam b6cbf5199b Clean up some exceptions doc. 2023-10-15 03:37:12 -04:00
adam b97ede2b86 The great exception rename. 2023-10-15 02:34:23 -04:00
adam 384eba5797 Word wrapping as stream operations now. 2023-10-14 02:03:37 -04:00
adam 046cf6d43f Progress towards a word-wrap stream helper. 2023-10-13 05:26:17 -04:00
adam 76940b2cb2 Fix a test with a probability of failure. 2023-10-13 00:27:33 -04:00
adam f954057126 Print test nae before running, too. 2023-10-13 00:21:59 -04:00
adam 664e02681b Improved table test output and fixed bugs in word wrap and its test. 2023-10-13 00:14:25 -04:00
adam 0c1a24053b Modernize the format of TableTest. 2023-10-12 21:22:42 -04:00
adam 38411e3ea6 Here's a bunch more table tests for word wrap.
Some fail, as this impl is slightly different to the one that these
tests were created for.

I'll have to decide what the right answers are.
2023-10-12 21:19:09 -04:00
adam 621a703302 Merge branch 'master' of github.com:adamlsd/Alepha 2023-10-12 19:57:55 -04:00
adam 9753b7c855 Some minor formatting. 2023-10-12 19:57:47 -04:00
adam a8433d13e3 More progress on the testing front. 2023-10-12 18:57:40 -04:00
adam 7bafa453da More testing. 2023-10-12 18:36:37 -04:00
adam dd3f825ecd A lot of the tests are now in cmake.
I've also fixed a few things up so that the tests can be all run, more easily.
2023-10-12 18:29:16 -04:00
adam 57b68ef8a4 A lot of progress towards unifying the build system. 2023-10-12 18:11:51 -04:00
adam eb803ee5e6 Remove makefile now that we use CMake. 2023-10-12 16:57:49 -04:00
adam fe5831f643 A simple cmake build system to start. 2023-10-12 14:55:13 -04:00
adam 76606fca97 Add a simple commandline parser example.
Also cleaned up a few files.  Since these were pulled from various
scratch repos from informal ISO discussions over the years, they don't
quite line up.  This at least gets everything building again.
2023-10-10 02:24:58 -04:00
adam 83f693de53 Add a total-order shim header.
Mathematical purism.
2023-10-10 02:24:18 -04:00
adam bb53f18dfd This is just the rudiments of a more comprehensive function_traits design.
It's good for many common cases, but it should handle member functions and
discriminate between `std::function` objects and builtins.  It's mostly
just boilerplate to do that.
2023-10-10 02:23:22 -04:00
adam ac4346f979 My common fat arrow evaluation helpers. 2023-10-10 02:23:12 -04:00
adam 2258a4ac5c A simple error-pathway for console output.
Reassignable and prevents tearing.
2023-10-10 02:22:41 -04:00