Highlights
- Pro
- 1 discussion answered
Popular repositories
826 contributions in the last year
Less
More
Contribution activity
April 2021
Created 32 commits in 1 repository
Created a pull request in docopt/docopt.net that received 4 comments
C# source generator for docopt usage 🚧
This PR is a draft/work-in-progress that implements a C# source generator for docopt. It generates strong-typed C# given a *.docopt.txt file.
There…
+585
−0
•
4
comments
Opened 30 other pull requests in 1 repository
docopt/docopt.net
30
merged
- Optimise either pattern match for allocations
- Use queue for "Tokens" for efficient head removals
- Consolidate duplication of "collected + [match]" in leaf pattern matching
- Refactor pattern matching to be static & stand alone
- Remove APIs removed from public access
- Reorg to separate tests & examples from redistributables
- Make public API predicated on "DOCOPTNET_PUBLIC"
- Add monitoring of public API changes
- Move "using" directives inside namespace
- Only pack projects that opt-in
- Replace static with dynamic "*.docopt" test case generation
- Move "Value" to "LeafPattern"; reveals more honest signatures
- Remove unused empty node
- Use language keywords for types consistently (IDE0049)
- Replace simple types with tuples
- Safely escape parameterized regular expression
- Use "var" consistently everywhere possible
- Use "nameof" to capture offending argument name
- Make exceptions serializable where applicable
- Add C# styling rules to editor config
- Remove all unused imports
- Update "T4DocoptNetHostApp" to target .NET 5
- Enable & fix null analysis warnings (as errors)
- Fix "NetStandardImplicitPackageVersion" to 2.0.3
- Drop .NET Framework 4.0 target
- Some pull requests not shown.
Created an issue in docopt/docopt.net that received 6 comments
T4 template doesn't run in "T4DocoptNetHostApp"
When running the custom tool from within VS, it fails with the following error:
Compiling transformation: The type 'Object' is defined in an assemb…
6
comments