5 مستودعات
Mechanisms that allow native code to call functions defined in a higher-level scripting language.
Distinguishing note: None of the candidates cover the specific capability of a native module calling back into the JS runtime.
Explore 5 awesome GitHub repositories matching programming languages & runtimes · Script Invocation Interfaces. Refine with filters or upvote what's useful.
Neon is a framework for writing high-performance native Node.js modules using the Rust programming language. It serves as a foreign function interface bridge and a toolchain for bootstrapping, compiling, and managing Rust-based extensions. The project provides a cross-language memory manager that handles buffers and object borrowing to ensure safe memory access between Rust and JavaScript. It enables the mapping of data types and function calls across the language boundary, allowing Rust functions to be exported to the script environment and JavaScript functions to be called from Rust. The f
Enables Rust code to invoke JavaScript functions, including methods on objects and custom closures.
Triggers functions defined by internal or external scripts using script-binding or script-message commands.
هذا المشروع هو دليل شامل لكتابة إعدادات وإضافات Neovim باستخدام لغة البرمجة Lua. يعمل ككتيب لاستخدام واجهة برمجة تطبيقات Lua الأصلية في Neovim لإدارة المخازن المؤقتة (buffers)، والنوافذ، وخيارات المحرر. يركز الدليل على التوافق بين Lua و Vimscript، ويقدم تعليمات حول كيفية تنفيذ Vimscript من Lua واستدعاء دوال Lua من داخل Vimscript. كما يوفر إطار عمل لتطوير الإضافات، ويغطي تنظيم الكود في وحدات خارجية وإنشاء أوامر مخصصة وتعيينات مفاتيح. تغطي الوثائق قدرات أوسع تشمل أتمتة سير عمل المحرر، ومعالجة المتغيرات الداخلية، وإدارة خيارات المحرر. كما تتضمن تعليمات لاستدعاء ملفات خارجية وتعديل أسطر المخزن المؤقت.
Shows how to create custom user commands in Neovim that execute specific Lua functions.
Code Tour هو إضافة لـ VS Code تتيح إنشاء جولات إرشادية تفاعلية خطوة بخطوة لقاعدة الكود. يعمل كأداة لتوثيق الكود الموجه، حيث يربط الشروحات الوصفية مباشرة بأسطر ملفات ومجلدات محددة داخل المحرر للمساعدة في تأهيل المطورين ونقل المعرفة التقنية. يتميز النظام باستخدام الربط القائم على التعبيرات النمطية (regex) للحفاظ على استقرار الخطوات عبر إصدارات مختلفة من الكود المصدري، والقدرة على تصدير الجولات كملفات محمولة تحتوي على سياق الكود اللازم للتشغيل دون الحاجة للمستودع المحلي الأصلي. كما يدعم المزامنة مع التحكم في الإصدار من خلال إصدارات الجولات القائمة على Git، ويوفر كشف الانحراف لتحديد متى تؤدي تغييرات الكود إلى كسر روابط الجولات الحالية. يغطي المشروع مجموعة واسعة من الإمكانيات، بما في ذلك تسجيل وتصميم الجولات، ومحرك تشغيل مع اكتشاف يعتمد على الهوامش، والقدرة على تضمين عناصر تفاعلية مثل أوامر الصدفة واستدعاءات وظائف المحرر. يتم تخزين الجولات باستخدام تسلسل JSON ويمكن مشاركتها عبر روابط عن بعد أو إدارتها من خلال استراتيجيات تخزين مرنة على القرص.
Triggers editor functions or extension commands directly from tour step descriptions via custom URIs.
Telegram-bot is a modular chat bot platform and framework built for Telegram that executes script plugins to handle custom user interactions and automated tasks within messaging channels. Incoming chat events route through a central dispatcher that delegates execution to matching registered command handlers. The platform relies on a file-based plugin architecture where isolated script files load dynamically at runtime, allowing administrators to manage and toggle feature modules on the fly without restarting the host application. Chat inputs parse into discrete command arguments that execute
Parses chat inputs into discrete arguments that trigger modular script functions.