1
0
forked from Alepha/Alepha
Commit Graph

395 Commits

Author SHA1 Message Date
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
adam 106b0d49cc Import my EnhancedEnum prototype from enceladus-scratch. 2023-10-10 02:22:13 -04:00
adam ed3d64e1df A console driver from my ISO scratch work. 2023-10-09 20:36:44 -04:00
adam 3610746a63 A bunch of handy metafunctions from my ISO scratch work.
This has to be put into the hierarchy right, but that can come later.
2023-10-09 20:34:55 -04:00
adam f5fa12533a A parser-generator for tuples from my ISO fun scratch projects. 2023-10-09 20:34:24 -04:00
adam ae53cff323 Program options parser from my scratch projects. 2023-10-09 20:34:10 -04:00
adam d75b5288c6 Bring in concepts from my scratch projects. 2023-10-09 20:33:56 -04:00
adam 273b9eb8b5 Bring in type-lisp from my scratch projects. 2023-10-09 20:33:35 -04:00
adam df489cdb97 A family of data buffer objects.
Many helpful operations on these, for raw data manipulation.
2023-10-09 19:55:37 -04:00
adam 167de83b3b Some string algorithms also from my scrach environment.
The most useful one is the variable expansion code.
2023-10-09 18:52:54 -04:00
adam 103707367c Word wrapping implementation.
This was in my scratch notes.  I have to get it building again.
2023-10-09 18:51:56 -04:00
adam 233f220779 A static value helper.
Good for when you want to have something magic statics, but you don't
want to pay the atomic overhead on each access.
2023-10-09 18:24:58 -04:00
adam 187acda4a2 Just use boost as the namespace from within Alepha.
If it's been remapped, it's fine, since no code should really exist
outside of `Alepha` namespace here, anyhow.
2023-10-09 18:10:44 -04:00
adam aacd87f4af Add a ConstexprString implementation from my notes. 2023-10-09 18:10:25 -04:00
adam 6e7e2630d9 Git ignore... 2023-02-10 13:22:54 -08:00
adam 4229b0bd8a Add out of range exception classes to Alepha. 2023-02-10 13:15:30 -08:00
adam fe66d726be Clean up and regularize the prologue of files.
Mark them for C++20, remove the old module-faking hacks, etc.
2023-02-10 08:58:29 -08:00
adam 49d53fecb6 Updated some things to C++20 headers.
Lots more to do...
2023-02-09 22:01:19 -08:00
adam fd6060be17 Bring in the mockination work and Truss from old.
It's all a mess -- not in the new unified form and namespace.
I need to do a big cleanup pass.
2023-02-09 21:30:38 -08:00
adam 306d2145a3 Add the attestation work. 2023-02-09 21:10:08 -08:00
adam 4affb80931 Merge remote-tracking branch 'side-line/master' 2023-02-09 20:51:09 -08:00
adam 96e4e3ee30 Add boost license file. 2023-02-09 20:43:02 -08:00
adam 5a8faf189d Allocation base not needed for normal exceptions 2023-02-09 20:29:27 -08:00