1
0
Commit Graph

17 Commits

Author SHA1 Message Date
c6d080ad82 fix: fix clap parser resolver build issue 2025-12-09 23:11:06 +08:00
a1d19cf09c feat: finish clap parser and resolver 2025-12-09 22:55:21 +08:00
d6662dbb53 feat: basically finish clap parser
- basically finish clap parser except ctor.
- add skeleton for clap resolver.
2025-12-09 20:52:41 +08:00
eb9e576d33 feat: finish clap parser basic layout 2025-12-08 15:16:28 +08:00
8b7ab2c870 feat: add lost functions for env namespace.
- add some lost functions for env namespace according to Rust std library. hiwever some functions are not implemented.
- change some function's signatures located in env namespace.
- reduce some useless error kine in env namespace.
2025-12-07 21:47:54 +08:00
f76eabee7a feat: add validator concept for clap 2025-12-06 21:29:51 +08:00
eda801d3c7 refactor: move env outside from rust namespace 2025-10-07 18:03:40 +08:00
3dd0c85995 feat: finish clap manual namespace 2025-10-02 18:19:11 +08:00
d69563b5df feat: finish clap manual table filler
- finish clap manual table fill functions.
- fix iterator object for the requirements of std::ranges::end().
2025-10-02 16:57:15 +08:00
446f880df4 feat: add trim in string op opposited with strip 2025-10-01 20:53:43 +08:00
82c3ed5b32 fix: fix compile error in gcc.
- remove __attribute__(format) checker for UTF8 char type printf becuase it forcely require the type of format string is const char*, rather than const char8_t*, and I can not use any switches to remove this.
- delete useless macro and header in clap manual.
2025-09-28 22:38:09 +08:00
ce3d5b9556 feat: finish basic of manual in clap 2025-09-25 15:52:28 +08:00
c8d763bdcf feat: add utf8 format
- move utf8 stream and format patch from string to patch namespace.
- add ordinay format alias and utf8 format in our format patch.
- add char8_t and char inter-cast in string reinterpret namespace.
- fix bug of utf8 formatter.
- add test for utf8 format.
2025-09-25 15:29:55 +08:00
a61955bb09 feat: finish summary and application for clap.
- finish summary and application for clap.
- add patch for utf8 string in std::format.
2025-09-24 16:20:21 +08:00
776adb0c96 feat: finish option and variable in clap 2025-09-23 16:13:52 +08:00
c85830902b fix: change the behavior of printf in string op.
- add compiler hint for checking the arguments of printf.
- change the return value of printf. from std::expected to normal value. use C++ exception to indicate error.
	* the error of printf usually caused by programmer. so it can be found when testing program.
	* so i use std::logic_error to indicate this and programmer should fix this before releasing program.
- change the use of encoding convertion. for those cases that convertion must be safe, we unwrap it directly.
2025-09-22 22:21:25 +08:00
7785773196 refactor: use new layout for YYCC 2025-08-12 16:32:59 +08:00