- Use Soulver's natural language math engine in your Swift apps.
import SoulverCore
let calculator = Calculator(customization: .standard)
let result = calculator.calculate("45 is what % of 120")SoulverCore is available as a closed-source xcframework for Apple platforms, and as a dynamic library on Windows & Linux.
Date Parsing (with SoulverCore)
- Quickly parse dates from strings in any common format, and power natural language date entry features in your Swift apps.
import SoulverCore
let date = "two weeks ago".dateValueString Parsing (with SoulverCore)
- A new declarative and type-safe approach to parsing data points from strings (an alternative to regex).
import SoulverCore
let duckCount = "There are 3 ducks in the pond".find(.number)Object Parsing (with SoulverCore)
- Parse natural language strings directly into your own strongly-typed Swift model objects with the @ParsableObject macro.
import ObjectParsing
@ParsableObject
struct SalesRecord {
let quantity: Int
let date: Date
}
let record: SalesRecord = try "We sold 130 copies yesterday".parseObject()Standalone versions of Soulver for use from the Terminal
- Soulver CLI (for macOS)
- Soulver CLI (for Windows)
- Demonstrates how to build a simple Soulver-like Mac app in Swift & AppKit using SoulverCore
- Supports variable & syntax coloring
An experimental series of advanced Soulvers for testing out new ideas & workflows
- X1 (2024) introduced multiple tabs per sheet, the header sheet for defining new entities & connecting sheets to JSON APIs, and custom natural language functions
- X2 (2025) introduced inline subsheets, dividers & slider tokens