Use typed Value variant instead of strings throughout the interpreter.#9
Merged
Conversation
Script results and callbacks now use std::variant values with cmdResultToString for display; base library, C API, tests, and CI are updated accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
setMacro and #macro invocations expand before parse with cleaned bodies; add test coverage including stdout and copy semantics; document the library under docs/ and link from README without replacing the original guide. Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce src/bench.cpp with make bench target; record sample throughput in docs/benchmarks.md and link from the root README and docs index. Co-authored-by: Cursor <cursoragent@cursor.com>
…o CmdResult in interpreter.h
Quoted includes in /tmp resolve relative to the source directory; use -Iinclude and add GitLab CI mirroring GitHub. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Script results and callbacks now use std::variant values with cmdResultToString for display; base library, C API, tests, and CI are updated accordingly.