Commit Graph

219 Commits (38fad56965af02ec13fb430abeecf23c0f5a8af2)

Author SHA1 Message Date
BodgeMaster c61aca5b72 assert.h++: simple ASSERT() macro 2022-06-28 19:55:22 +02:00
BodgeMaster e09fb6a61f add test infrastructure, closing #11 2022-06-28 18:28:44 +02:00
BodgeMaster 4f760f44be NBT: Implement readInt8 helper closing #2 2022-06-28 16:58:31 +02:00
BodgeMaster 12e9533772 apparently that's not how cpp works (I stole it from somewhere lol) 2022-06-28 16:51:52 +02:00
BodgeMaster 8594f4cbb0 NBT: Fix ambiguity between int types and bool when calling the ErrorOr<> constructor 2022-06-28 16:13:33 +02:00
BodgeMaster 83d606a2c7 Error: Add error codes to ErrorOr<> and add constructors
This allows us to handle functions that can fail in multiple different ways
2022-06-28 16:01:39 +02:00
BodgeMaster 081035db32 expose helpers in the header, rename NBT::helpers to NBT::helper 2022-06-28 15:19:47 +02:00
BodgeMaster ab920a114b comply with code style guidelines, also minor fix to them 2022-06-28 14:25:32 +02:00
BodgeMaster 9b58d165c0 We have a suitable string type for UTF-8 now. 2022-06-27 18:15:01 +02:00
BodgeMaster b0bd027898 Add license and copyright notices 2022-06-27 11:46:13 +02:00
BodgeMaster f80a33ddb0 start implementation of NBT parser 2022-06-27 04:50:32 +02:00
BodgeMaster 5ea835dbb5 add Serenity-style ErrorOr<> type 2022-06-27 04:46:22 +02:00
BodgeMaster 89e7a89e88 remove leftover useless information from previous NBT model 2022-06-26 01:24:50 +02:00
BodgeMaster cad04d8e12 Adjusted the model and finished figuring out / writing down the spec 2022-06-25 13:37:57 +02:00
BodgeMaster 0d10af1bd6 do not use the lib prefix for library names 2022-06-24 16:50:41 +02:00
BodgeMaster bb0dc05a30 rename header
Yes, this is a completely necessary change, I am aware.
2022-06-24 12:19:41 +02:00
BodgeMaster 6e4dd4da71 Remove build system test code, add generalized NBT model 2022-06-24 12:15:34 +02:00
BodgeMaster 0c9299b21d Create files for nbt library and a tool to use it.
These files were also used to figure out the process of building them so
their content is garbage.
2022-06-24 09:28:17 +02:00
BodgeMaster 241100e1ab add placeholder files because Git doesn't handle empty folders 2022-06-24 06:42:19 +02:00