diff --git a/LuaScript/docs/LuaScript.ar-sa.txt b/LuaScript/docs/LuaScript.ar-sa.txt index 8a19ca7..43f96d4 100644 --- a/LuaScript/docs/LuaScript.ar-sa.txt +++ b/LuaScript/docs/LuaScript.ar-sa.txt @@ -2,7 +2,8 @@ يستخدم تأثير الفيديو "نص Lua" في YukkuriMovieMaker4 لغة Lua لكتابة النصوص البرمجية. - يعتمد محرك النصوص على MoonSharp (متوافق مع Lua 5.2). + تُنفَّذ النصوص على بيئة التشغيل السريعة المرفقة (LuaJIT)، + وتعمل على MoonSharp (متوافق مع Lua 5.2) عندما لا تتوفر تلك البيئة. * هذا التأثير تطبيق مستقل ويختلف عن مواصفات نصوص AviUtl2. * يختلف في مواصفاته عن ملفات نصوص AviUtl2 (*.anm2 وما شابه). @@ -11,7 +12,7 @@ - ملاحظات - - ○ محرك تنفيذ النصوص هو MoonSharp (متوافق مع Lua 5.2). + ○ محركا تنفيذ النصوص هما LuaJIT (الافتراضي) وMoonSharp (متوافق مع Lua 5.2). ○ المكتبات القياسية المتاحة محدودة بما يلي: table, string, math, bit32 * io, os, debug, ffi, require وغيرها غير متاحة. @@ -26,16 +27,16 @@ - محركات التنفيذ والتسريع التلقائي - - النصوص التي تحتوي على معالجة بكسل (حلقة getpixel/setpixel متداخلة) - يُحلَّل تركيبها وتُوجَّه تلقائياً إلى محرك أسرع. - أما النصوص العادية (الإحداثيات، الدوران، الشفافية، إلخ) فتظل تعمل على - MoonSharp كما في السابق دون أي تغيير في السلوك. + يُحلَّل تركيب النصوص وتُوجَّه تلقائياً إلى المحرك الأنسب. + النصوص التي لا تحمل توجيهاً تُنفَّذ على بيئة التشغيل السريعة المرفقة + (LuaJIT)، أما تخطيطات البكسل المكتفية بنفسها فتُترجَم إضافةً إلى ذلك + إلى نواة CPU الأسرع. وفي كلتا الحالتين تطابق النتائج MoonSharp. ○ التوجيه التلقائي (عند عدم وجود توجيه) · تخطيط بكسل مكتفٍ بنفسه (انظر الشروط أدناه) → نواة CPU (سريعة ودقيقة) - · عمليات البكسل الأخرى → Native (LuaJIT، فقط عند نشره) - · بلا عمليات بكسل → MoonSharp + · كل ما عدا ذلك → Native (LuaJIT، فقط عند نشره) + · عند عدم نشر native أو كون النص فارغاً → MoonSharp ○ توجيهات المحرك (تعليق في السطر الأول من النص) --!cpu : نواة CPU. تُترجَم وقت التشغيل إلى شجرة تعابير diff --git a/LuaScript/docs/LuaScript.en-us.txt b/LuaScript/docs/LuaScript.en-us.txt index aaee86f..9c1ccf0 100644 --- a/LuaScript/docs/LuaScript.en-us.txt +++ b/LuaScript/docs/LuaScript.en-us.txt @@ -2,7 +2,8 @@ The "Lua Script" video effect in YukkuriMovieMaker4 uses the Lua language for scripting. - The scripting engine is MoonSharp (Lua 5.2 compatible). + Scripts run on the bundled fast runtime (LuaJIT), and fall back to + MoonSharp (Lua 5.2 compatible) when the runtime is unavailable. * This effect is a custom implementation and differs from the AviUtl2 script specification. * This is a separate specification from AviUtl2 script files (*.anm2, etc.). @@ -11,7 +12,7 @@ - Notes - - o The script execution engine is MoonSharp (Lua 5.2 compatible). + o The script execution engines are LuaJIT (default) and MoonSharp (Lua 5.2 compatible). o Available standard libraries are limited to the following: table, string, math, bit32 * io, os, debug, ffi, require, etc. are not available. @@ -26,16 +27,16 @@ - Execution Engines and Automatic Acceleration - - Scripts that contain pixel processing (a nested getpixel/setpixel loop) - are analyzed and automatically routed to a faster engine. - Ordinary scripts (coordinate, rotation, opacity changes, etc.) keep - running on MoonSharp as before, with no change in behavior. + Scripts are analyzed and automatically routed to the best engine. + Scripts without a directive run on the bundled fast runtime (LuaJIT), + and self-contained per-pixel maps are further compiled to the even + faster CPU kernel. Either way the results match MoonSharp. o Automatic routing (when no directive is present) - A self-contained per-pixel map (see conditions below) -> CPU kernel (fast, exact) - - Other pixel operations -> Native (LuaJIT, only when deployed) - - No pixel operations -> MoonSharp + - Everything else -> Native (LuaJIT, only when deployed) + - Native not deployed, or an empty script -> MoonSharp o Engine directives (a comment on the first line of the script) --!cpu : CPU kernel. Compiled at runtime to an expression diff --git a/LuaScript/docs/LuaScript.es-es.txt b/LuaScript/docs/LuaScript.es-es.txt index 2b9724d..000d3d4 100644 --- a/LuaScript/docs/LuaScript.es-es.txt +++ b/LuaScript/docs/LuaScript.es-es.txt @@ -2,7 +2,8 @@ El efecto de video «Script Lua» de YukkuriMovieMaker4 utiliza el lenguaje Lua para los scripts. - El motor de scripts empleado es MoonSharp (compatible con Lua 5.2). + Los scripts se ejecutan en el runtime rápido incluido (LuaJIT) y, + cuando este no está disponible, en MoonSharp (compatible con Lua 5.2). * Este efecto es una implementación propia y difiere de la especificación de scripts de AviUtl2. * Tiene una especificación distinta a los archivos de script de AviUtl2 (*.anm2, etc.). @@ -11,7 +12,7 @@ - Notas - - o El motor de ejecución de scripts es MoonSharp (compatible con Lua 5.2). + o Los motores de ejecución son LuaJIT (predeterminado) y MoonSharp (compatible con Lua 5.2). o Las bibliotecas estándar disponibles se limitan a las siguientes: table, string, math, bit32 * io, os, debug, ffi, require, etc. no están disponibles. @@ -26,17 +27,17 @@ - Motores de ejecución y aceleración automática - - Los scripts que contienen procesamiento de píxeles (un bucle anidado - getpixel/setpixel) se analizan y se enrutan automáticamente a un motor - más rápido. Los scripts normales (coordenadas, rotación, opacidad, etc.) - siguen ejecutándose en MoonSharp como antes, sin cambios de comportamiento. + Los scripts se analizan y se enrutan automáticamente al mejor motor. + Los scripts sin directiva se ejecutan en el runtime rápido incluido + (LuaJIT), y los mapeos por píxel autocontenidos se compilan además al + núcleo CPU, aún más rápido. En ambos casos los resultados coinciden + con MoonSharp. o Enrutamiento automático (cuando no hay directiva) - Un mapeo por píxel autocontenido (ver condiciones abajo) -> núcleo CPU (rápido, exacto) - - Otras operaciones de píxeles -> Nativo (LuaJIT, solo si está - desplegado) - - Sin operaciones de píxeles -> MoonSharp + - Todo lo demás -> Nativo (LuaJIT, solo si está desplegado) + - Nativo no desplegado, o script vacío -> MoonSharp o Directivas de motor (un comentario en la primera línea del script) --!cpu : Núcleo CPU. Compilado en tiempo de ejecución a un diff --git a/LuaScript/docs/LuaScript.id-id.txt b/LuaScript/docs/LuaScript.id-id.txt index 9ea315e..3166f6d 100644 --- a/LuaScript/docs/LuaScript.id-id.txt +++ b/LuaScript/docs/LuaScript.id-id.txt @@ -2,7 +2,9 @@ Efek video "Script Lua" di YukkuriMovieMaker4 menggunakan bahasa Lua untuk penulisan skrip. - Mesin skrip yang digunakan adalah MoonSharp (kompatibel dengan Lua 5.2). + Skrip dijalankan pada runtime cepat yang disertakan (LuaJIT), dan + berjalan pada MoonSharp (kompatibel dengan Lua 5.2) jika runtime + tersebut tidak tersedia. * Efek ini adalah implementasi mandiri dan berbeda dari spesifikasi skrip AviUtl2. * Memiliki spesifikasi yang berbeda dari file skrip AviUtl2 (*.anm2, dll.). @@ -11,7 +13,7 @@ - Catatan - - o Mesin eksekusi skrip adalah MoonSharp (kompatibel dengan Lua 5.2). + o Mesin eksekusi skrip adalah LuaJIT (bawaan) dan MoonSharp (kompatibel dengan Lua 5.2). o Pustaka standar yang tersedia terbatas pada berikut ini: table, string, math, bit32 * io, os, debug, ffi, require, dll. tidak tersedia. @@ -26,16 +28,17 @@ - Mesin Eksekusi dan Akselerasi Otomatis - - Skrip yang berisi pemrosesan piksel (loop bersarang getpixel/setpixel) - dianalisis sintaksnya dan secara otomatis dialihkan ke mesin yang lebih - cepat. Skrip biasa (koordinat, rotasi, opasitas, dll.) tetap berjalan di - MoonSharp seperti sebelumnya, tanpa perubahan perilaku. + Skrip dianalisis sintaksnya dan secara otomatis dialihkan ke mesin + yang paling sesuai. Skrip tanpa direktif dijalankan pada runtime cepat + yang disertakan (LuaJIT), dan pemetaan per-piksel mandiri dikompilasi + lebih lanjut ke kernel CPU yang lebih cepat lagi. Hasil keduanya sama + dengan MoonSharp. o Pengalihan otomatis (saat tidak ada direktif) - Pemetaan per-piksel mandiri (lihat syarat di bawah) -> kernel CPU (cepat, tepat) - - Operasi piksel lainnya -> Native (LuaJIT, hanya jika di-deploy) - - Tanpa operasi piksel -> MoonSharp + - Selain itu -> Native (LuaJIT, hanya jika di-deploy) + - Native tidak di-deploy, atau skrip kosong -> MoonSharp o Direktif mesin (komentar pada baris pertama skrip) --!cpu : Kernel CPU. Dikompilasi saat runtime menjadi pohon diff --git a/LuaScript/docs/LuaScript.ja-jp.txt b/LuaScript/docs/LuaScript.ja-jp.txt index 648e195..cb2e4bd 100644 --- a/LuaScript/docs/LuaScript.ja-jp.txt +++ b/LuaScript/docs/LuaScript.ja-jp.txt @@ -2,7 +2,8 @@ YukkuriMovieMaker4 の「Luaスクリプト」映像エフェクトで 利用可能なスクリプトには Lua 言語を使用します。 - スクリプトエンジンには MoonSharp (Lua 5.2 互換) が採用されています。 + スクリプトは同梱の高速ランタイム(LuaJIT)で実行され、 + 利用できない環境では MoonSharp (Lua 5.2 互換) で実行されます。 ※このエフェクトは AviUtl2 のスクリプト仕様とは異なる独自実装です。 ※AviUtl2 のスクリプトファイル(*.anm2 等)とは別仕様です。 @@ -11,7 +12,7 @@ - 注意点 - - ○スクリプトの実行エンジンは MoonSharp (Lua 5.2 互換) です。 + ○スクリプトの実行エンジンは LuaJIT(標準)と MoonSharp (Lua 5.2 互換) です。 ○利用可能な標準ライブラリは以下に限定されます。 table, string, math, bit32 ※io, os, debug, ffi, require 等は使用できません。 @@ -26,15 +27,15 @@ - 実行エンジンと自動高速化 - - ピクセル処理(getpixel/setpixel の二重ループ)を含むスクリプトは、 - 構文を解析して自動的に高速なエンジンへ振り分けられます。 - 座標・回転・不透明度などの通常スクリプトは従来どおり MoonSharp で - 実行され、挙動は一切変わりません。 + スクリプトは構文を解析して自動的に最適なエンジンへ振り分けられます。 + ディレクティブ無しのスクリプトは同梱の高速ランタイム(LuaJIT)で + 実行され、自ピクセル完結のピクセル写像はさらに高速な CPU カーネルへ + 変換されます。いずれの結果も MoonSharp と一致します。 ○自動振り分け(ディレクティブ無しのとき) ・自ピクセル完結のピクセル写像(下記条件) → CPU カーネル(高速・厳密) - ・上記以外のピクセル操作 → ネイティブ(LuaJIT, 配備時のみ) - ・ピクセル操作なし → MoonSharp + ・上記以外 → ネイティブ(LuaJIT, 配備時のみ) + ・native 未配備または空のスクリプト → MoonSharp ○エンジン指定ディレクティブ(スクリプト先頭行のコメント) --!cpu : CPU カーネル。式ツリーへ実行時コンパイルして diff --git a/LuaScript/docs/LuaScript.ko-kr.txt b/LuaScript/docs/LuaScript.ko-kr.txt index 65bdb43..dba81e6 100644 --- a/LuaScript/docs/LuaScript.ko-kr.txt +++ b/LuaScript/docs/LuaScript.ko-kr.txt @@ -2,7 +2,8 @@ YukkuriMovieMaker4의 「Lua 스크립트」 영상 이펙트에서 사용 가능한 스크립트에는 Lua 언어를 사용합니다. - 스크립트 엔진으로는 MoonSharp (Lua 5.2 호환)이 채용되어 있습니다. + 스크립트는 동봉된 고속 런타임(LuaJIT)으로 실행되며, + 사용할 수 없는 환경에서는 MoonSharp (Lua 5.2 호환)으로 실행됩니다. ※ 이 이펙트는 AviUtl2의 스크립트 사양과는 다른 독자적인 구현입니다. ※ AviUtl2의 스크립트 파일(*.anm2 등)과는 별도의 사양입니다. @@ -11,7 +12,7 @@ - 주의 사항 - - ○ 스크립트 실행 엔진은 MoonSharp (Lua 5.2 호환)입니다. + ○ 스크립트 실행 엔진은 LuaJIT(표준)과 MoonSharp (Lua 5.2 호환)입니다. ○ 사용 가능한 표준 라이브러리는 다음으로 제한됩니다. table, string, math, bit32 ※ io, os, debug, ffi, require 등은 사용할 수 없습니다. @@ -26,15 +27,15 @@ - 실행 엔진과 자동 가속 - - 픽셀 처리(getpixel/setpixel 이중 루프)를 포함하는 스크립트는 - 구문을 분석하여 자동으로 더 빠른 엔진으로 분배됩니다. - 좌표・회전・불투명도 등 일반 스크립트는 기존과 동일하게 MoonSharp으로 - 실행되며 동작은 전혀 바뀌지 않습니다. + 스크립트는 구문을 분석하여 자동으로 가장 적합한 엔진으로 분배됩니다. + 디렉티브가 없는 스크립트는 동봉된 고속 런타임(LuaJIT)으로 실행되며, + 자기 픽셀로 완결되는 픽셀 매핑은 더욱 빠른 CPU 커널로 변환됩니다. + 어느 쪽이든 결과는 MoonSharp과 일치합니다. ○ 자동 분배(디렉티브가 없을 때) · 자기 픽셀로 완결되는 픽셀 매핑(아래 조건) → CPU 커널(고속・엄밀) - · 위 이외의 픽셀 조작 → 네이티브(LuaJIT, 배치된 경우에만) - · 픽셀 조작 없음 → MoonSharp + · 위 이외 → 네이티브(LuaJIT, 배치된 경우에만) + · native 미배치 또는 빈 스크립트 → MoonSharp ○ 엔진 지정 디렉티브(스크립트 첫 줄의 주석) --!cpu : CPU 커널. 식 트리로 런타임 컴파일하여 diff --git a/LuaScript/docs/LuaScript.zh-cn.txt b/LuaScript/docs/LuaScript.zh-cn.txt index 674f1e5..66fbfd0 100644 --- a/LuaScript/docs/LuaScript.zh-cn.txt +++ b/LuaScript/docs/LuaScript.zh-cn.txt @@ -2,7 +2,8 @@ YukkuriMovieMaker4 的"Lua 脚本"视频特效使用 Lua 语言编写脚本。 - 脚本引擎采用 MoonSharp(兼容 Lua 5.2)。 + 脚本由随附的高速运行时(LuaJIT)执行, + 在其不可用的环境下改由 MoonSharp(兼容 Lua 5.2)执行。 * 本特效为独立实现,与 AviUtl2 的脚本规范不同。 * 与 AviUtl2 的脚本文件(*.anm2 等)为不同规范。 @@ -11,7 +12,7 @@ - 注意事项 - - ○ 脚本执行引擎为 MoonSharp(兼容 Lua 5.2)。 + ○ 脚本执行引擎为 LuaJIT(默认)与 MoonSharp(兼容 Lua 5.2)。 ○ 可用的标准库仅限以下内容: table, string, math, bit32 * io、os、debug、ffi、require 等不可使用。 @@ -26,14 +27,15 @@ - 执行引擎与自动加速 - - 包含像素处理(getpixel/setpixel 双重循环)的脚本会被解析语法, - 并自动分配到更快的引擎。 - 坐标、旋转、不透明度等普通脚本仍照旧由 MoonSharp 执行,行为不变。 + 脚本会被解析语法,并自动分配到最合适的引擎。 + 未指定指令的脚本由随附的高速运行时(LuaJIT)执行, + 自像素完结的像素映射会进一步转换为更快的 CPU 内核。 + 两者的结果均与 MoonSharp 一致。 ○ 自动分配(未指定指令时) · 自像素完结的像素映射(见下方条件)→ CPU 内核(高速、精确) - · 上述以外的像素操作 → 原生(LuaJIT,仅在已部署时) - · 无像素操作 → MoonSharp + · 上述以外 → 原生(LuaJIT,仅在已部署时) + · 未部署 native 或脚本为空 → MoonSharp ○ 引擎指定指令(脚本首行的注释) --!cpu :CPU 内核。运行时编译为表达式树, diff --git a/LuaScript/docs/LuaScript.zh-tw.txt b/LuaScript/docs/LuaScript.zh-tw.txt index 24773b4..acfabed 100644 --- a/LuaScript/docs/LuaScript.zh-tw.txt +++ b/LuaScript/docs/LuaScript.zh-tw.txt @@ -2,7 +2,8 @@ YukkuriMovieMaker4 的「Lua 腳本」視訊特效使用 Lua 語言編寫腳本。 - 腳本引擎採用 MoonSharp(相容 Lua 5.2)。 + 腳本由隨附的高速執行環境(LuaJIT)執行, + 在其不可用的環境下改由 MoonSharp(相容 Lua 5.2)執行。 * 本特效為獨立實作,與 AviUtl2 的腳本規範不同。 * 與 AviUtl2 的腳本檔案(*.anm2 等)為不同規範。 @@ -11,7 +12,7 @@ - 注意事項 - - ○ 腳本執行引擎為 MoonSharp(相容 Lua 5.2)。 + ○ 腳本執行引擎為 LuaJIT(預設)與 MoonSharp(相容 Lua 5.2)。 ○ 可用的標準函式庫僅限以下內容: table, string, math, bit32 * io、os、debug、ffi、require 等不可使用。 @@ -26,14 +27,15 @@ - 執行引擎與自動加速 - - 包含像素處理(getpixel/setpixel 雙重迴圈)的腳本會被解析語法, - 並自動分配到更快的引擎。 - 座標、旋轉、不透明度等一般腳本仍照舊由 MoonSharp 執行,行為不變。 + 腳本會被解析語法,並自動分配到最合適的引擎。 + 未指定指令的腳本由隨附的高速執行環境(LuaJIT)執行, + 自像素完結的像素映射會進一步轉換為更快的 CPU 核心。 + 兩者的結果均與 MoonSharp 一致。 ○ 自動分配(未指定指令時) · 自像素完結的像素映射(見下方條件)→ CPU 核心(高速、精確) - · 上述以外的像素操作 → 原生(LuaJIT,僅在已部署時) - · 無像素操作 → MoonSharp + · 上述以外 → 原生(LuaJIT,僅在已部署時) + · 未部署 native 或腳本為空 → MoonSharp ○ 引擎指定指令(腳本首行的註解) --!cpu :CPU 核心。執行時編譯為運算式樹,