Claude/update dependencies main w veea#6
Merged
Conversation
Follow the jsonicjs/ini pattern by declaring rule.start, lex.emptyResult, error.csv_*, and hint.csv_* as options: entries in the embedded grammar rather than in plugin code. Dynamic options (tokens, IGNORE, number/value/comment/line/fixed) stay in code because they depend on user-supplied plugin options. go/csv.go: extract the "options" key from parseGrammarText into gs.OptionsMap so grammar-level options flow through. Apply jsonicOptions after j.Grammar() so its TokenSet override survives Grammar's internal SetOptions (which resets IgnoreSet to defaults). https://claude.ai/code/session_016bybofWANz4FrWyur18uad
- jsonic/go bumped to v0.1.19; adapt RuleDefiner signature (now takes *Parser) and Token.ResolveVal(rule, ctx) - jsonic TS picked up 2.25.1 via npm install (no code changes) - Makefile: fix stray tab in 'git add go/csv.go' (was split by tab) - doc/csv-go.md: rewrite to match the real Go API (UseDefaults + Defaults map; no Parse/MakeJsonic/CsvOptions wrappers). Preserve Diataxis quadrants (tutorial/how-to/explanation/reference) and add an option-keys table plus a grammar-file explanation section - doc/csv-ts.md: add parallel grammar-file explanation section so both docs cover the TS/Go shared grammar design https://claude.ai/code/session_016bybofWANz4FrWyur18uad
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.
No description provided.