Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Latest commit

 

History

History
History
59 lines (44 loc) · 2.26 KB

File metadata and controls

59 lines (44 loc) · 2.26 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Frameworks

  • 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".dateValue

String 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()

Command line tools

Standalone versions of Soulver for use from the Terminal

Mac Apps

  • 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.