Implemented Iterators, Arrays and Maps

Ready for test integration, Used stuff setup a while back
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-11-01 23:10:05 +01:00
parent f61f016030
commit 2ba7f061ee
14 changed files with 1279 additions and 182 deletions
+6 -3
View File
@@ -42,7 +42,7 @@ Procedure.MsgPack_FormatCode MsgPackGetFormatCode(*MsgPackData.MsgPackData)
EndIf
If _MsgPackIsAtTheEnd(*MsgPackData)
DebuggerError("End of buffer reached, cannot check data format code !")
Debug("End of buffer reached, cannot check data format code !")
ProcedureReturn #MsgPack_FormatCode_Invalid
EndIf
@@ -131,9 +131,12 @@ Procedure.MsgPack_DataType MsgPackFormatCodeToDataType(FormatCode.MsgPack_Format
ProcedureReturn #MsgPack_DataTypes_Extension
Case #MsgPack_FormatCode_Invalid:
; Can come from the data itself, or `MsgPackGetFormatCode()` at the end of the buffer.
ProcedureReturn #MsgPack_DataTypes_Unknown
Default:
; FIXME: ADD MESSAGE HERE !!!
DebuggerWarning("")
; `MsgPackGetFormatCode()` never returns these, the caller passed an invalid value.
DebuggerWarning("Unknown format code: 0x" + RSet(Hex(FormatCode), 2, "0"))
ProcedureReturn #MsgPack_DataTypes_Unknown
EndSelect
EndProcedure