Refactored cargo structure

This commit is contained in:
2026-05-22 04:25:33 +02:00
parent b7c68da6de
commit a8ec265c1c
31 changed files with 14 additions and 3 deletions
@@ -0,0 +1,9 @@
WHITESPACE = _{ " " | "\t" | "\r" | "\n" }
integer = @{ ASCII_DIGIT+ }
map = { "/*" ~ integer ~ ":" ~ integer ~ "*/" }
non_map = { (!map ~ ANY)+ }
mapping = { SOI ~ (map | non_map)* ~ EOI }