diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 09:53:21 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 09:53:21 +0100 |
| commit | ce246924ac12da5639cce049c7bb2e29de7ed637 (patch) | |
| tree | ad91e84ef295969c4435815742fce300d15b9675 /tools | |
| parent | b30d2153b603259deabcaa3a8773ff88a51f6e62 (diff) | |
feat(sequence): integrate v2 timeline with build system
- Update main workspace to use timeline_v2.seq
- Add SEQ_COMPILER_V2 using Python script (seq_compiler_v2.py)
- Update DemoCodegen to use v2 compiler for main timeline
- Add v1 compatibility stubs (LoadTimeline, GetDemoDuration)
- Demo builds and links successfully
- All tests passing (36/36)
V2 timeline now integrated into build pipeline. Stub functions allow
linking while proper MainSequence v2 integration is pending.
handoff(Claude): V2 timeline integrated, ready for effect ports
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/seq_compiler_v2.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/seq_compiler_v2.py b/tools/seq_compiler_v2.py index 6ae6283..cb30585 100755 --- a/tools/seq_compiler_v2.py +++ b/tools/seq_compiler_v2.py @@ -479,6 +479,24 @@ def main(): cpp = generate_cpp(seq, sorted_effects, aliases, args.flatten) all_cpp += cpp + '\n' + # Generate compatibility stubs for v1 API + all_cpp += ''' +// V1 compatibility stubs (TODO: Replace with proper v2 integration) +#include "gpu/effect.h" + +void LoadTimeline(MainSequence& main_seq, const GpuContext& ctx) { + // TODO: Integrate v2 sequences with MainSequence + // For now, this is a no-op to allow linking + (void)main_seq; + (void)ctx; +} + +float GetDemoDuration() { + // TODO: Calculate from v2 sequences + return 40.0f; +} +''' + # Write output with open(args.output, 'w') as f: f.write(all_cpp) |
