zcp is a modern package manager written in C++ for the Zig programming language.
  • C++ 99.1%
  • Makefile 0.9%
Find a file
0xA672 6521af8329 fix: negate int in parser, remove dead EnumLit branch, reject struct/tuple field/value mixing
- Parser: negative numbers now properly negate int_val via -(int64_t) cast
- Parser: removed unreachable EnumLit+Equal branch (all named fields
  handled earlier by the Period+Identifier path)
- Parser: added mutual exclusion check: struct fields and tuple values
  cannot coexist in the same .{ } block
- int64_t for AstNode::int_val so negative values are representable
- Fixed parse_arraystd::parse_array() concatenation bug from botched sed

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
2026-06-06 17:08:56 +08:00
examples Rewrite lexer, add parser, add smoke/parse tests -- align with Zig 0.16 ZON spec 2026-06-06 15:17:15 +08:00
include fix: negate int in parser, remove dead EnumLit branch, reject struct/tuple field/value mixing 2026-06-06 17:08:56 +08:00
src fix: reject overlong/surrogate UTF-8, add is_big_int flag, remove dead rd_number param 2026-06-06 16:14:25 +08:00
tests fix: negate int in parser, remove dead EnumLit branch, reject struct/tuple field/value mixing 2026-06-06 17:08:56 +08:00
.gitignore Rewrite lexer, add parser, add smoke/parse tests -- align with Zig 0.16 ZON spec 2026-06-06 15:17:15 +08:00
LICENSE Initial commit 2026-04-06 15:54:10 +08:00
Makefile Rewrite lexer, add parser, add smoke/parse tests -- align with Zig 0.16 ZON spec 2026-06-06 15:17:15 +08:00
README.md Initial commit 2026-04-06 15:54:10 +08:00

zcp

zcp is a modern package manager written in C++ for the Zig programming language.