maartene / VisualNovel

Simple SwiftUI based Visual Novel engine (using Ink)
MIT License
3 stars 2 forks source link

ink runtime - native swift (c# port to swift) - no javascript core #4

Open johndpope opened 2 months ago

johndpope commented 2 months ago

https://github.com/johndpope/ink/tree/main/Ink-runtime

I make a start porting code across using claude ai - https://github.com/johndpope/ink/tree/main/Ink-runtime/Ink-runtime/sdk

the story class is biggest - somethings in c# don't directly translate. eg. Runtime

in their code - they are nesting classes in classes - not sure if this so useful.

maartene commented 2 months ago

A native Swift implementation of the Ink runtime would be great off course. However, does seem like a very daunting task to undertake. Even with AI support. And would require keeping up with Ink lifecycle - what InkJS currently does.