Komari Spaghetti
6406e5af89
parse: Copy in arena after using it in parseEx
...
fixes #43
2021-06-24 17:20:00 +02:00
Komari Spaghetti
869aca59c5
Tag 0.4.0
2021-06-05 14:59:18 +02:00
Komari Spaghetti
577aae9b4c
ci: Use zig 0.8.0
2021-06-05 14:33:37 +02:00
Komari Spaghetti
c7d83fcce1
Update to latest zig in preperation for 0.8.0
2021-05-26 21:06:10 +02:00
Komari Spaghetti
bc32ab0459
Merge branch 'master' into zig-master
2021-05-26 20:46:23 +02:00
Komari Spaghetti
4c14bfd518
Modernize codebase
...
* 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
2021-05-08 18:08:52 +02:00
Komari Spaghetti
aa334d8c1d
Refactor Diagnostic (and others) into a ParseOption struct
...
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.
2021-04-28 16:59:30 +02:00
Komari Spaghetti
76a6d9fbe4
Add gyro.zzz
2021-04-08 16:37:39 +02:00
Meghan
e00e902701
zig.mod- add license field
2021-02-16 18:37:13 +01:00
Jimmi Holst Christensen
42433ca7b5
Merge branch 'master' into zig-master
2021-01-21 17:50:27 +01:00
Asherah Connor
fb1eb05c21
zig master updates
2021-01-10 03:15:40 +01:00
Meghan
b805a2e39b
Create zig.mod
2020-12-06 11:08:58 +01:00
dependabot[bot]
5a19cce0bc
Bump goto-bus-stop/setup-zig from v1.2.5 to v1.3.0
...
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>
2020-11-29 18:11:26 +01:00
dependabot-preview[bot]
7e7bd44b75
Create Dependabot config file
2020-11-29 18:08:46 +01:00
Jimmi Holst Christensen
374d5e91ac
Don't format in build script
...
We let CI catch unformatted code and let users
run fmt in the best way for them
2020-11-29 12:13:19 +01:00
Jimmi Holst Christensen
db7525e307
Support all arguments after -- being positionals
2020-11-21 17:42:28 +01:00
Jimmi Holst Christensen
e83c036aba
Fix spelling error
2020-11-21 17:01:33 +01:00
Jimmi Holst Christensen
f54d17fef5
Merge branch 'master' into zig-master
2020-11-21 16:58:00 +01:00
Jimmi Holst Christensen
6fbacabb95
Implement ShellIterator
...
fixes #30
2020-11-21 16:57:09 +01:00
Jimmi Holst Christensen
5fb6bbcd82
Run CI on PR
2020-11-16 17:25:54 +01:00
Jimmi Holst Christensen
59cc038962
Update ci
2020-11-10 19:40:30 +01:00
Jimmi Holst Christensen
6b361546e2
Merge branch 'master' into zig-master
2020-11-10 18:54:22 +01:00
Jimmi Holst Christensen
b7e6ebf36e
Deprecate ComptimeClap in favor of parseEx
2020-11-10 18:53:57 +01:00
Jimmi Holst Christensen
306a08dd39
Update ci to use 0.7.0
2020-11-10 18:38:13 +01:00
Jimmi Holst Christensen
dca9ba34b8
Update ci to use 0.7.0
2020-11-10 18:35:32 +01:00
Jimmi Holst Christensen
cc871e7fbf
Merge branch 'master' into zig-master
2020-11-10 18:34:18 +01:00
Jimmi Holst Christensen
5efa886662
Better parseParam
2020-11-10 18:33:15 +01:00
Jimmi Holst Christensen
cc0885a2fd
Better parseParam
2020-11-10 18:31:35 +01:00
Jimmi Holst Christensen
7f82f87c31
Improve Diagnostic error message reporting
2020-11-03 20:15:00 +01:00
Jimmi Holst Christensen
c78a5dd3d7
Improve Diagnostic error message reporting
2020-11-03 20:04:52 +01:00
Jimmi Holst Christensen
ba2530c3a7
Replace var
with anytype
2020-11-02 20:16:43 +01:00
Komari Spaghetti
42894f6c8b
Report error context in Diagnostic ( #26 )
2020-11-02 19:05:41 +01:00
Komari Spaghetti
093d29899b
Report error context in Diagnostic ( #26 )
2020-11-02 18:04:30 +00:00
Matthew Knight
44ee31e4bc
use null sentinel in OsIterator ( #27 )
2020-11-01 14:11:01 +01:00
Asherah Connor
620b680c4d
adjust examples, README template
2020-09-06 17:33:25 +02:00
Asherah Connor
02644d62f2
reverse the order of these
2020-09-06 17:31:27 +02:00
Asherah Connor
41ac75b6db
fix up
2020-09-06 17:31:27 +02:00
Asherah Connor
198b96d7a7
add documentation to Values enum
2020-09-06 17:31:27 +02:00
Asherah Connor
a99dff8a3b
separate options into single and multiple
...
This avoids allocations if you never use multiple arguments.
2020-09-06 17:31:27 +02:00
Asherah Connor
140ace899a
parse and validate multiple option
2020-09-06 17:31:27 +02:00
Asherah Connor
1180b1c2b5
parse multiple options
2020-09-06 17:31:27 +02:00
Asherah Connor
a3d2a261f5
adjust examples, README template
2020-08-28 09:43:42 +02:00
Asherah Connor
8813e87832
reverse the order of these
2020-08-28 09:43:42 +02:00
Asherah Connor
e006791a7d
fix up
2020-08-28 09:43:42 +02:00
Asherah Connor
e8055f9d7b
add documentation to Values enum
2020-08-28 09:43:42 +02:00
Asherah Connor
fc823f7a14
separate options into single and multiple
...
This avoids allocations if you never use multiple arguments.
2020-08-28 09:43:42 +02:00
Asherah Connor
08bab91e1e
parse and validate multiple option
2020-08-28 09:43:42 +02:00
Asherah Connor
c2ae653f51
parse multiple options
2020-08-28 09:43:42 +02:00
Asherah Connor
a0e755e06f
add build step id
2020-08-22 08:16:37 +02:00
Jimmi Holst Christensen
ddca24a6fd
Fix expected type error on 32 bit systems
...
fixes #23
2020-08-15 15:24:19 +02:00