feat(lang): v2.5 Tier B — string literals, rands(), lookup()#17
Merged
Conversation
- Lex/parse/evaluate double-quoted string literals with escape sequences - Add StringLit AST node to ExprNode variant - Add rands(min, max, count [, seed]) built-in — seeded deterministic RNG - Add lookup(key, table) built-in — piecewise linear interpolation - Inverse trig, norm, cross, sign, str, chr, ord, len were already in - 16 new [tier-b] interpreter tests + 4 lexer tests; 1056 assertions pass - Add tests/tier_b_test.scad visual test; verified against OpenSCAD output - Fix ImGui_ImplVulkan_InitInfo API break (RenderPass/MSAASamples moved to PipelineInfoMain; CreateFontsTexture removed) from imgui post-2025/09 - Switch Catch2 from vcpkg to FetchContent to avoid MSVC runtime mismatch - Update roadmap: v1, v2, Tier A, Tier B all marked complete Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PipelineInfoMain, ApiVersion were added in imgui 1.91.9 (2025-09-26). CreateFontsTexture was removed in the same release. Use IMGUI_VERSION_NUM guards so the code compiles against older vcpkg baselines in CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
IMGUI_VERSION_NUM threshold was unreliable across vcpkg baselines. IMGUI_HAS_TEXTURES is defined in the same API overhaul that moved RenderPass/MSAASamples to PipelineInfoMain and removed CreateFontsTexture. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds vcpkg-configuration.json with baseline 6b07d2d (imgui 1.92.7). All environments now get the same library versions; removes the brittle IMGUI_HAS_TEXTURES preprocessor guard in favour of the clean new API. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.
Summary
Test plan