summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Change clap into generating a struct"Gravatar Jimmi Holst Christensen2022-02-2511-506/+518
| | | | This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58.
* Change clap into generating a structGravatar Jimmi Holst Christensen2022-02-2511-518/+506
| | | | | | | | | This changes - `.flag`, `.option`, `.options` and `.positionals` are now just fields you access. - Move the current `clap.parse` and friends into `clap.untyped.parse` - This is in preperation for `clap.typed.parse`
* Fix minor typos in README.mdGravatar Jimmi Holst Christensen2022-02-222-2/+8
|
* Update package mod files to MITGravatar Jimmi Holst Christensen2022-02-032-2/+2
|
* Refactor the ArgIterator interfaceGravatar Jimmi Holst Christensen2022-01-316-331/+37
| | | | | | | | | They now follow the interface provided by the standard library. This now means that we no longer needs `args.OsIterator` as that the one from `std` can now be used directly. Also remove `args.ShellIterator` as a simular iterator exists in `std` called `ArgIteratorGeneral`.
* Relicense to MITGravatar Jimmi Holst Christensen2022-01-311-20/+17
| | | | closes #64
* Avoid using the print APIGravatar Jimmi Holst Christensen2022-01-051-23/+37
| | | | | | The current Zig print API is quite good at slowing down compilation and producing binary bloat. This commit makes an attempt to avoid using it when not nessesary.
* Update usage of process.ArgIterator to be inline with newest zigGravatar Jimmi Holst Christensen2021-12-292-2/+5
| | | | | Also add windows CI, as this compiler error was only triggered on windows builds
* Tag 0.5.00.5.0Gravatar Komari Spaghetti2021-12-211-1/+1
|
* Master branch now follows zig masterGravatar Komari Spaghetti2021-12-213-8/+2
| | | | | It makes more sense to have the master branch follow zig master, and then create versioned branches to backport bug fixes to if nessesary
* Merge branch 'zig-master'Gravatar Komari Spaghetti2021-12-215-16/+16
|\
| * zig master updates: allocator changes (#60)Gravatar Asherah Connor2021-12-063-8/+8
| |
| * Fix regression in last commitGravatar Komari Spaghetti2021-10-112-2/+0
| | | | | | | | | | The importing of builtin was already fixed, so the latest commit applied this fix again, which caused problems
| * zig master updatesGravatar Asherah Connor2021-10-113-2/+4
| |
| * Merge branch 'master' into zig-masterGravatar Komari Spaghetti2021-10-093-9/+8
| |\
| * | Update mem.split call for latest zig masterGravatar Ryan Liptak2021-09-061-1/+1
| | |
| * | Merge branch 'master' into zig-masterGravatar Komari Spaghetti2021-09-054-12/+25
| |\ \
| * | | Update calls to tokenizerGravatar Stephen Gregoratto2021-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | The tokenize function was made generic, so we have to pass the type as the first parameter.
| * | | Update CI to zig masterGravatar Sirius9022021-07-251-2/+2
| | | |
| * | | Discard unused variableGravatar Sirius9022021-07-251-1/+1
| | | |
| * | | Merge branch 'master' into zig-masterGravatar Komari Spaghetti2021-07-173-11/+60
| |\ \ \
| * | | | Fix all new compiler errors from zig masterGravatar Komari Spaghetti2021-06-244-5/+7
| | | | |
| * | | | Build buildscript with latest version of zigGravatar Komari Spaghetti2021-06-241-1/+1
| | | | |
* | | | | Improve help and usage examplesGravatar Jimmi Holst Christensen2021-11-294-30/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of just calling these function, have the examples be small programs that demonstrates how you would actually use them together with argument parsing. fixes #57
* | | | | Fix chaining typoGravatar Jimmi Holst Christensen2021-11-291-3/+3
| | | | | | | | | | | | | | | | | | | | fixes #58
* | | | | Bump actions/checkout from 2.3.5 to 2.4.0Gravatar dependabot[bot]2021-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | Bump actions/checkout from 2.3.4 to 2.3.5Gravatar dependabot[bot]2021-10-181-2/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | Fix uses of builtinGravatar Komari Spaghetti2021-10-093-9/+8
| |_|/ |/| |
* | | Indent help text on every new line to allow for user-controlled wrappingGravatar Ryan Liptak2021-09-051-1/+14
| | |
* | | Use debug.print instead of deprecated debug.warn in examplesGravatar Komari Spaghetti2021-07-173-11/+11
| |/ |/| | | | | fixes comment on #11
* | Forward diagnostics down to StreamingClapGravatar Komari Spaghetti2021-07-161-5/+54
| | | | | | | | fixes #46
* | Update example of `usage` (#45)Gravatar J.R. "hiljusti" Hill2021-07-062-6/+6
| |
* | Fix all new compiler errors from zig masterGravatar Komari Spaghetti2021-06-244-5/+7
|/
* Tag 0.4.10.4.1Gravatar Komari Spaghetti2021-06-241-1/+1
|
* Stay under 100 chars per line in all the codeGravatar Komari Spaghetti2021-06-244-41/+111
|
* parseParam: Set eval quota to std.math.maxInt(u32)Gravatar Komari Spaghetti2021-06-241-0/+10
| | | | fixes #42 related #39
* parse: Copy in arena after using it in parseExGravatar Komari Spaghetti2021-06-241-11/+9
| | | | fixes #43
* Tag `0.4.0`v0.4.0Gravatar Komari Spaghetti2021-06-051-2/+2
|
* ci: Use zig 0.8.0Gravatar Komari Spaghetti2021-06-051-2/+2
|
* Update to latest zig in preperation for 0.8.0Gravatar Komari Spaghetti2021-05-2613-214/+211
|
* Merge branch 'master' into zig-masterGravatar Komari Spaghetti2021-05-2613-373/+300
|\
| * Modernize codebaseGravatar Komari Spaghetti2021-05-0811-304/+194
| | | | | | | | | | | | | | | | * Better naming for variables * Follow naming style of enums * Use `writer()` instead of `outStream()` * Change many initializers to be a one liner * Don't explicitly initialize fields to their default value
| * Refactor Diagnostic (and others) into a ParseOption structGravatar Komari Spaghetti2021-04-287-74/+87
| | | | | | | | | | | | This allows for default arguments, which we can also extend without breaking peoples code in the future. This is a breaking change right now though.
| * Add gyro.zzzGravatar Komari Spaghetti2021-04-081-0/+14
| |
| * zig.mod- add license fieldGravatar Meghan2021-02-161-0/+2
| |
* | Merge branch 'master' into zig-masterGravatar Jimmi Holst Christensen2021-01-214-10/+13
|\|
| * Create zig.modGravatar Meghan2020-12-061-0/+3
| |
| * Bump goto-bus-stop/setup-zig from v1.2.5 to v1.3.0Gravatar dependabot[bot]2020-11-291-2/+2
| | | | | | | | | | | | | | | | Bumps [goto-bus-stop/setup-zig](https://github.com/goto-bus-stop/setup-zig) from v1.2.5 to v1.3.0. - [Release notes](https://github.com/goto-bus-stop/setup-zig/releases) - [Changelog](https://github.com/goto-bus-stop/setup-zig/blob/default/CHANGELOG.md) - [Commits](https://github.com/goto-bus-stop/setup-zig/compare/v1.2.5...41ae19e72e21b9a1380e86ff9f058db709fc8fc6) Signed-off-by: dependabot[bot] <support@github.com>
| * Create Dependabot config fileGravatar dependabot-preview[bot]2020-11-291-0/+8
| |
| * Don't format in build scriptGravatar Jimmi Holst Christensen2020-11-291-8/+0
| | | | | | | | | | We let CI catch unformatted code and let users run fmt in the best way for them