Skip to content

feat: introduce Lua expression scripting for chapter time transforms#18

Merged
tautcony merged 1 commit into
masterfrom
feat/lua-script
Jul 7, 2026
Merged

feat: introduce Lua expression scripting for chapter time transforms#18
tautcony merged 1 commit into
masterfrom
feat/lua-script

Conversation

@tautcony

@tautcony tautcony commented Jul 7, 2026

Copy link
Copy Markdown
Owner

No description provided.

- Added Lua as the primary expression language for chapter time transformations, replacing the previous custom infix/postfix grammar.
- Implemented Lua expression evaluation service with support for shorthand arithmetic, direct return scripts, and transform functions.
- Introduced built-in Lua script presets for common transformations (identity, offset seconds, round to frame, half-frame earlier).
- Enhanced the Avalonia UI to support Lua script editing with syntax highlighting, completion, and diagnostics.
- Established a shared projection pipeline for preview and save operations, ensuring consistent behavior and diagnostics.
- Added comprehensive tests for Lua expression evaluation, including success cases, invalid returns, and structured diagnostics.
@tautcony tautcony merged commit 4516663 into master Jul 7, 2026
8 of 9 checks passed
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