Skip to content

✨ feat(mq-lang): replace custom YAML parser with yaml-rust2 native implementation#1486

Merged
harehare merged 1 commit intomainfrom
feat/native-yaml-parsing
Mar 23, 2026
Merged

✨ feat(mq-lang): replace custom YAML parser with yaml-rust2 native implementation#1486
harehare merged 1 commit intomainfrom
feat/native-yaml-parsing

Conversation

@harehare
Copy link
Owner

Add yaml-rust2 dependency and implement _yaml_parse builtin function, replacing the mq-script-based YAML parsing with a proper Rust library. This enables accurate type handling for floats, empty collections, anchors/aliases, and complex nested structures.

…plementation

Add yaml-rust2 dependency and implement _yaml_parse builtin function,
replacing the mq-script-based YAML parsing with a proper Rust library.
This enables accurate type handling for floats, empty collections,
anchors/aliases, and complex nested structures.
@harehare harehare force-pushed the feat/native-yaml-parsing branch from d87adfc to 1754abf Compare March 23, 2026 13:23
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 23, 2026

Merging this PR will improve performance by ×3.5

⚡ 1 improved benchmark
✅ 28 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
eval_yaml_parse 26 ms 7.5 ms ×3.5

Comparing feat/native-yaml-parsing (1754abf) with main (120ffd1)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (b34b503) during the generation of this report, so 120ffd1 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@harehare harehare merged commit 8d76a76 into main Mar 23, 2026
6 of 8 checks passed
@harehare harehare deleted the feat/native-yaml-parsing branch March 23, 2026 13: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