1 个仓库
Converting narrative hierarchies into optimized bytecode for faster runtime execution.
Distinct from Runtime Bytecode Compilation: Differentiates from general JIT or JVM bytecode by focusing on narrative-specific story hierarchies.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Narrative Bytecode Compilation. Refine with filters or upvote what's useful.
Ink 是一种交互式叙事脚本语言、JSON 叙事编译器和叙事引擎运行时。它提供了一套专门的工具集,用于创作非线性故事和复杂的分支对话系统,允许开发者管理游戏状态并向用户界面交付交互式文本。 该系统将原始脚本转换为机器可读的 JSON 字节码格式,以优化在外部游戏引擎中的执行。它的特色在于先进的状态管理,包括将故事进度序列化为快照的能力,以及维护并发故事上下文以处理多个同时进行的叙事线程。 该框架涵盖了广泛的功能领域,包括条件控制流、逻辑函数执行和复杂的基于集合的状态跟踪。它支持对话选项嵌套、可重用故事片段等叙事设计模式,以及使用元数据标签向宿主应用程序发出系统动作信号。 该运行时允许通过外部函数绑定和观察者模式状态管理与宿主逻辑进行双向通信。
Converts parsed story hierarchies into a lightweight JSON bytecode format to improve execution speed.