Repository navigation
Kiln 0.2.0
Kiln's second engine is now the default for Kiln.run and Kiln.validate.
- Real Swift semantics: structs as values, classes (
ObservableObject,@Observable), enums with payloads and pattern matching, closures that capture by reference,do/catch, extensions. - Every interpreted
Viewis a real SwiftUI view that owns its@State.List,Form,Section,Picker,Stepper,TextField, sheets, navigation, tabs, search, toolbars, timers, Swift Charts and customShapes render with the real controls. - Networking:
URLSession(data(from:),dataTask),URLComponents, andJSONDecoderinto your ownDecodabletypes. Kiln.swiftSource(fromMarkdown:)andswiftSource(running:inReply:)run the code in a chat reply, even when a model splits one app across blocks.Kiln.randomSeed,KilnRandomand the-KilnRandomSeed Nlaunch argument make runs repeatable.- Kiln Lab (
Lab/,Tools/iterate.sh) runs each example natively and in Kiln under the same UI test; all six example apps match native on every step.
Code written for the original interpreter's guided dialect (GameCanvas, .onTick, Storage) still runs on it; Kiln.engine = .legacy forces it everywhere.