Skip to content

Conversation

@smaillet
Copy link
Member

Added more ANTLR utilities and refactored to eliminate redundancies at the conceptual and implementation levels.

Moved types out of command line into general core and runtime.
General refactoring of code to unify and eliminate redundancy of abstractions. There was a LOT of duplication of abstraction between command line and runtime that is now moved to the Extensions library.

  • Renamed MsgLevel =< MessageLevel
    • Avoids en-us acronym and clarifies intent better fitting with other names.
  • Argument validation now moved to runtime independent "Requires" static class.
    • This contains the implementation which depending on targeted framework may be polyFilled.
    • This keeps intent clearer AND supports multi-targeting without pre-processor conditionals on all targets or compilations that support C#14 'extension' keyword.
  • Added SourceLocation to contain both the URI of the source text AND the range for the location.
  • Added more ANTLR common support
  • Removed shared source library
    • All of that functionality is now in Ubiquity.NET.Extensions

Important

The existing tests were updated to the refactoring and all
pass. The new functionality does NOT have testing yet.

    - Avoids en-us acronym and clarifies intent better fitting with other names.
General refactoring of code to unify and eliminate redundancy of abstractions. There was a LOT of duplication of abstraction between command line and runtime that is now moved to the Extensions library.

* Argument validation now moved to runtime independent "Requires" static class.
    - This contains the implementation which depending on targeted framework may be polyFilled.
    - This keeps intent clearer AND supports multi-targetting without pre-processor conditionals on all targets or compilations that support C#14 'extension' keyword.
* Added SourceLocation to contain both the URI of the source text AND the range for the location.
* Added more ANTLR common support
* Removed shared source library
    - All of that functionality is now in Ubiquity.NET.Extensions

>[!IMPORTANT]
> The existing tests were updated to the refactoring and all
> pass. The new functionality does NOT have testing yet.
@github-actions
Copy link

github-actions bot commented Jan 30, 2026

Test Results

  8 files  ±0    8 suites  ±0   2m 25s ⏱️ -4s
180 tests ±0  176 ✅ ±0  4 💤 ±0  0 ❌ ±0 
312 runs  ±0  303 ✅ ±0  9 💤 ±0  0 ❌ ±0 

Results for commit f4b6bce. ± Comparison against base commit a526ce6.

♻️ This comment has been updated with latest results.

… logic and provide clarity of intent.

* new semantics allow use as a drop-in replacement for `ObjectDisposedException.ThrowIf`
@smaillet smaillet merged commit 80b4243 into UbiquityDotNET:develop Jan 30, 2026
3 checks passed
@smaillet smaillet deleted the MoreAntlrUtils branch January 30, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant