docs: analysis of regular expressions as a step notation - #103
Open
aslakhellesoy wants to merge 1 commit into
Open
aslakhellesoy wants to merge 1 commit into
aslakhellesoy wants to merge 1 commit into
Conversation
…Expressions Scopes the work to make plain regexps a first-class, corpus-pinned step notation so a port needs only its host regex engine: inventories every use of cucumber-expressions across the seven ports, the LSP and the corpora, proposes the facade contract, the regexp semantics, the parity.json split, the new bundles and the per-area consequences, and lists the decisions to settle before an ADR. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TnvHhtFBpcnCNQACo2dUWi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #
What this changes
Adds a comprehensive analysis document (
doc/REGULAR-EXPRESSIONS.md) that scopes the work required to make plain regular expressions a first-class step notation in Varar, alongside Cucumber Expressions.The document:
cucumber-expressionslibrary, which blocks new ports in languages without that library (Dart, PHP, Swift, Elixir, Zig, etc.). Two ports (Go, Rust) already work around this by wrapping the library in an owned module.StepPattern/CompiledPatterninterface that any regex engine can satisfy, making regexp support the mandatory floor for new ports.This is analysis and scoping work, not a decision or implementation. The document is marked "Status: analysis, no decision yet. Written to scope the work before an ADR."
How you verified it
— they generate the changelog and the next version number
Note: This is a documentation-only change (new
.mdfile indoc/). No code changes, no test changes, no golden changes. The document itself is the artifact.https://claude.ai/code/session_01TnvHhtFBpcnCNQACo2dUWi