Bruno BELANYI
|
e3b2d29463
|
kraken: engine: add 'EngineListener'
The `Engine` will be in charge of updating the book, triggering the
listener on each event.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
21ff896730
|
kraken: move 'Order' definition to 'book'
I think it makes more sense to centralise these important types in the
`book` library.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
7c9b61b654
|
test: unit: add tests for input parsing
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
d1f61e6e61
|
kraken: include 'src' in build directory
Needed for the `config.h` file to be included correctly.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
8c33e298da
|
data: add example CSV files
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
0157c7b193
|
kraken: parse: order: add ordering
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
f0ffc652d5
|
kraken: utils: strong-type: derive order
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
7f5f1f9e04
|
kraken: add 'config.h'
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
12f458cf94
|
kraken: parse: add input file parser
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
9550598a87
|
kraken: parse: define 'Order' type
Use strong typing for the various components of the order.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
b7182826ab
|
kraken: utils: add 'StrongType'
I foresee the need to disambiguate a lot of `int`s.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
382f374031
|
clang-format: break after template declarations
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
bd072e1025
|
kraken: csv: fix comma separation logic
Unfortunately, `std::ostream_iterator` puts its separator *after* every
element, not *in-between* each element.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
6ee4e5b554
|
tests: unit: csv: add 'write_csv' suite
The disabled tests are expected failures (which GTest does not support),
once fixed they will be enabled.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
3539cd4a34
|
tests: unit: csv: qualify 'read_csv' tests better
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
23b71018ac
|
kraken: csv: add writing functionality
Once again, pretty naive, but it will do.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
0dee0e12dc
|
kraken: csv: move type aliases to 'csv.hh' header
As we need to share it with the CSV writing files.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
697f941cb2
|
tests: unit: add 'csv' tests
Simple tests for a simple library.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
9d862c6a62
|
kraken: add 'csv' library
A very basic, naive CSV parser.
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
94f1c8e731
|
ci: add Drone CI
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
9d11428a11
|
git: add ignore file
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
715fbd767c
|
nix: add flake
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
d2794aef9d
|
clang-format: init config
|
2022-03-12 11:07:20 +01:00 |
|
Bruno BELANYI
|
5cd9e11979
|
kraken: bootstrap build system
|
2022-03-12 11:07:20 +01:00 |
|