Commit Graph

15 Commits

Author SHA1 Message Date
1c7047e314 Implement token map_view, additional formatters.
msgpack::map_view can be used to iterate, pair-wise, over a range of
msgpack::token. It will immediately return if the first token is not a
map, and will skip over nested map/arrays.

Note for the future: It will be handy to be able to get the subspan
corresponding to the nested map/array. Will think about how to solve
that later.

Begin incorporating map_view into the server.

Add formatters for std::byte, dynamic theme for bool, and spans thereof.
Maybe switch to range?
2023-10-12 14:52:06 -07:00
Kurt Sassenrath
22f78cc7d7 Re-enable expected logging, start server proto 2023-10-11 18:37:57 -07:00
Kurt Sassenrath
915773f3a8 WIP slight changes to token_reader 2023-10-10 15:53:14 -07:00
2a4c819f4f Fix approach to include paths.
This accommodates bazel's best practices a bit better.
2023-10-04 21:23:36 -07:00
9164e7dc60 WIP Message 2023-09-19 12:26:22 -07:00
f894b8eaf6 Map/Array support as "tokens"
This essentially completes the token_reader. In the future, we will
probably want something that lets us allocate maps/arrays more
seamlessly, but we can start working on client-server architecture with
this reader.
2023-09-18 23:22:02 -07:00
c5c03a2a40 Many more supported types in token reader. 2023-09-17 22:40:49 -07:00
14620c4487 WIP 2023-09-14 22:58:59 -07:00
Kurt Sassenrath
cf434bcae3 Fix parsing tokens a bit.
Need to find a more concise way to express all the different tokens.
2023-09-14 10:54:59 -07:00
94e77e7519 Implement integer parsing for token reader API 2023-09-13 22:15:48 -07:00
Kurt Sassenrath
89cbbb0f30 WIP Error consolidation, token API 2023-09-13 19:31:43 -07:00
d3c59248a2 import msgpack, begin work on object API 2023-09-07 15:06:00 -07:00
Kurt Sassenrath
ec3b953384 Various updates to initial server code.
Need to create user sessions and handle msgpack-encoded packets. The
plan is to use a branch of oh::msgpack with tl::expected.
2023-09-05 16:25:57 -07:00
eab689909d Initial server interface, minor logging changes. 2023-09-04 22:46:33 -07:00
b0ed20369f Initial commit
* Logging ported from layover project with minor tweaks.
    * Logging test ported over.
    * Boost libraries are available.
2023-09-04 16:03:58 -07:00