Skip to content

Commit

Permalink
Update SoulverCore framework (v1.1.5)
Browse files Browse the repository at this point in the history
This version adds native Apple Silicon support
  • Loading branch information
zcohan committed Nov 11, 2020
1 parent 78146da commit d5a5b5c
Show file tree
Hide file tree
Showing 136 changed files with 8,995 additions and 987 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
targets: [
.binaryTarget(
name: "SoulverCore",
url: "https://github.com/soulverteam/SoulverCore/releases/download/1.1.4/SoulverCore.xcframework.zip",
checksum: "3455794578c7978defd8c572e83e5426075f4f1bbed9a32b2db6047a9d58de83"),
url: "https://github.com/soulverteam/SoulverCore/releases/download/1.1.5/SoulverCore.xcframework.zip",
checksum: "4bd13105d27335e991bafd6fb795916e1e623f4ce345cd9750b8320380b36e43"),
]
)
16 changes: 9 additions & 7 deletions SoulverCore.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-maccatalyst</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>SoulverCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
Expand All @@ -32,19 +33,22 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-x86_64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>SoulverCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>SoulverCore.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -53,9 +57,7 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>macos</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
#ifndef SOULVERCORE_SWIFT_H
#define SOULVERCORE_SWIFT_H
#pragma clang diagnostic push
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
// swift-module-flags: -target arm64-apple-ios13.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore
import Foundation
@_exported import SoulverCore
Expand Down Expand Up @@ -54,19 +54,20 @@ public struct Datespan : Swift.Equatable {
public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool
}
public struct CalculationResult {
public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String)
public let evaluationResult: SoulverCore.EvaluationResult
public let stringValue: Swift.String
}
extension CalculationResult {
public var isEmptyResult: Swift.Bool {
get
}
public var isAwaitingResolution: Swift.Bool {
public var isPendingResult: Swift.Bool {
get
}
}
public let EmptyResult: SoulverCore.CalculationResult
public let UnresolvedResult: SoulverCore.CalculationResult
public let PendingResult: SoulverCore.CalculationResult
public typealias UID = Swift.String
public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible {
public let UID: SoulverCore.UID
Expand All @@ -82,11 +83,8 @@ public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Sw
}
public func hash(into hasher: inout Swift.Hasher)
}
public typealias EvaluatorIdentifier = Swift.String
public protocol Evaluator {
func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult
var identifier: SoulverCore.EvaluatorIdentifier { get }
var isRemote: Swift.Bool { get }
}
public struct Laptime : Swift.Equatable {
public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool
Expand Down Expand Up @@ -504,17 +502,16 @@ public struct Place : Swift.Hashable, Swift.Equatable, Swift.Codable {
public class Line : Swift.Codable {
public var expression: Swift.String
public var behaviour: SoulverCore.LineCalculationBehaviour
public var preferredEvaluatorIdentifier: SoulverCore.EvaluatorIdentifier?
public var skipStatistics: Swift.Bool
public var lineReference: SoulverCore.LineReference?
public var formattingPreferences: SoulverCore.FormattingPreferences?
public var tags: [Swift.String]
public var result: SoulverCore.CalculationResult?
public var parsedExpression: SoulverCore.TokenList?
public var apparentLineType: SoulverCore.ApparentLineType?
public var lineIndex: SoulverCore.LineIndex?
public var explicitDependencies: Foundation.IndexSet?
public var variableEnvironment: SoulverCore.VariableList?
public var remoteEvaluationState: SoulverCore.RemoteEvaluationState
public var rawResult: Swift.String {
get
}
Expand Down Expand Up @@ -574,18 +571,6 @@ public enum ApparentLineType {
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum RemoteEvaluationState {
case notAwaiting
case awaiting
case undergoing
case completed
case expired
public static func == (a: SoulverCore.RemoteEvaluationState, b: SoulverCore.RemoteEvaluationState) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum LineCalculationBehaviour : Swift.String, Swift.Codable {
case evaluatesExpression
case sumsLinesAbove
Expand Down Expand Up @@ -677,7 +662,7 @@ extension UnitExpression : Swift.CustomDebugStringConvertible {
}
@_hasMissingDesignatedInitializers public class LineCollectionArchiver {
public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data?
public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, additionalEvaluators: [SoulverCore.Evaluator] = []) throws -> SoulverCore.LineCollection
public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection
@objc deinit
}
public protocol RoutineOwner : AnyObject {
Expand Down Expand Up @@ -803,6 +788,7 @@ extension IndexSet {
public typealias CustomFunctionHandler = ([SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult
public struct CustomFunction : Swift.Hashable, Swift.Equatable {
public init(prototypeExpression: Swift.String, handler: @escaping SoulverCore.CustomFunctionHandler)
public var backgroundHandler: SoulverCore.CustomFunctionHandler?
public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
Expand Down Expand Up @@ -1038,6 +1024,7 @@ public enum TokenType : Swift.CaseIterable {
case labelExpression
case url
case error
case pending
case unidentified
case custom
case dateComponents
Expand Down Expand Up @@ -1160,6 +1147,7 @@ indirect public enum EvaluationResult {
case laptime(SoulverCore.Laptime)
case error(SoulverCore.EvaluationError)
case variable(SoulverCore.Variable)
case pending
case none
public var equivalentTokenType: SoulverCore.TokenType {
get
Expand Down Expand Up @@ -1220,6 +1208,9 @@ extension Token {
public var variable: SoulverCore.Variable? {
get
}
public var dynamicVariable: SoulverCore.DynamicVariable? {
get
}
public var isLineReference: Swift.Bool {
get
}
Expand Down Expand Up @@ -1317,13 +1308,10 @@ public class LineCollection {
@discardableResult
public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet
public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String
public var additionalEvaluators: [SoulverCore.Evaluator] {
public var customEvaluator: SoulverCore.Evaluator? {
get
set
}
public func prepareLinesForRemoteFetchAt(lineIndexes: Foundation.IndexSet)
public func performRemoteEvaluation(evaluatedLinesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil)
public func setEvaluator(evaluatorIdentifier: SoulverCore.EvaluatorIdentifier?, forLineAt index: SoulverCore.LineIndex)
public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference
@objc deinit
}
Expand Down Expand Up @@ -1494,13 +1482,7 @@ public struct Multiplier : Swift.Equatable {
}
open class StandardEvaluator : SoulverCore.Evaluator {
public init(customization: SoulverCore.EngineCustomization)
open var identifier: Swift.String {
get
}
open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult
open var isRemote: Swift.Bool {
get
}
public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList
public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression
public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult
Expand Down Expand Up @@ -1866,8 +1848,6 @@ extension SoulverCore.UnitType : Swift.Hashable {}
extension SoulverCore.UnitType : Swift.RawRepresentable {}
extension SoulverCore.ApparentLineType : Swift.Equatable {}
extension SoulverCore.ApparentLineType : Swift.Hashable {}
extension SoulverCore.RemoteEvaluationState : Swift.Equatable {}
extension SoulverCore.RemoteEvaluationState : Swift.Hashable {}
extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {}
extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {}
extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
// swift-module-flags: -target arm64-apple-ios13.6 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Osize -module-name SoulverCore
import Foundation
@_exported import SoulverCore
Expand Down Expand Up @@ -54,19 +54,20 @@ public struct Datespan : Swift.Equatable {
public static func == (a: SoulverCore.Datespan, b: SoulverCore.Datespan) -> Swift.Bool
}
public struct CalculationResult {
public init(evaluationResult: SoulverCore.EvaluationResult, stringValue: Swift.String)
public let evaluationResult: SoulverCore.EvaluationResult
public let stringValue: Swift.String
}
extension CalculationResult {
public var isEmptyResult: Swift.Bool {
get
}
public var isAwaitingResolution: Swift.Bool {
public var isPendingResult: Swift.Bool {
get
}
}
public let EmptyResult: SoulverCore.CalculationResult
public let UnresolvedResult: SoulverCore.CalculationResult
public let PendingResult: SoulverCore.CalculationResult
public typealias UID = Swift.String
public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Swift.CustomStringConvertible {
public let UID: SoulverCore.UID
Expand All @@ -82,11 +83,8 @@ public struct LineReference : Swift.Equatable, Swift.Codable, Swift.Hashable, Sw
}
public func hash(into hasher: inout Swift.Hasher)
}
public typealias EvaluatorIdentifier = Swift.String
public protocol Evaluator {
func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult
var identifier: SoulverCore.EvaluatorIdentifier { get }
var isRemote: Swift.Bool { get }
}
public struct Laptime : Swift.Equatable {
public static func == (a: SoulverCore.Laptime, b: SoulverCore.Laptime) -> Swift.Bool
Expand Down Expand Up @@ -504,17 +502,16 @@ public struct Place : Swift.Hashable, Swift.Equatable, Swift.Codable {
public class Line : Swift.Codable {
public var expression: Swift.String
public var behaviour: SoulverCore.LineCalculationBehaviour
public var preferredEvaluatorIdentifier: SoulverCore.EvaluatorIdentifier?
public var skipStatistics: Swift.Bool
public var lineReference: SoulverCore.LineReference?
public var formattingPreferences: SoulverCore.FormattingPreferences?
public var tags: [Swift.String]
public var result: SoulverCore.CalculationResult?
public var parsedExpression: SoulverCore.TokenList?
public var apparentLineType: SoulverCore.ApparentLineType?
public var lineIndex: SoulverCore.LineIndex?
public var explicitDependencies: Foundation.IndexSet?
public var variableEnvironment: SoulverCore.VariableList?
public var remoteEvaluationState: SoulverCore.RemoteEvaluationState
public var rawResult: Swift.String {
get
}
Expand Down Expand Up @@ -574,18 +571,6 @@ public enum ApparentLineType {
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum RemoteEvaluationState {
case notAwaiting
case awaiting
case undergoing
case completed
case expired
public static func == (a: SoulverCore.RemoteEvaluationState, b: SoulverCore.RemoteEvaluationState) -> Swift.Bool
public var hashValue: Swift.Int {
get
}
public func hash(into hasher: inout Swift.Hasher)
}
public enum LineCalculationBehaviour : Swift.String, Swift.Codable {
case evaluatesExpression
case sumsLinesAbove
Expand Down Expand Up @@ -677,7 +662,7 @@ extension UnitExpression : Swift.CustomDebugStringConvertible {
}
@_hasMissingDesignatedInitializers public class LineCollectionArchiver {
public class func encode(lineCollection: SoulverCore.LineCollection) -> Foundation.Data?
public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, additionalEvaluators: [SoulverCore.Evaluator] = []) throws -> SoulverCore.LineCollection
public class func decode(encodedLineSheet: Foundation.Data, withCustomization customization: SoulverCore.EngineCustomization, preferredLocale locale: Foundation.Locale, defaultLineFormatting: SoulverCore.FormattingPreferences?, customEvaluator: SoulverCore.Evaluator? = nil) throws -> SoulverCore.LineCollection
@objc deinit
}
public protocol RoutineOwner : AnyObject {
Expand Down Expand Up @@ -803,6 +788,7 @@ extension IndexSet {
public typealias CustomFunctionHandler = ([SoulverCore.EvaluationResult]) -> SoulverCore.EvaluationResult
public struct CustomFunction : Swift.Hashable, Swift.Equatable {
public init(prototypeExpression: Swift.String, handler: @escaping SoulverCore.CustomFunctionHandler)
public var backgroundHandler: SoulverCore.CustomFunctionHandler?
public static func == (lhs: SoulverCore.CustomFunction, rhs: SoulverCore.CustomFunction) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
Expand Down Expand Up @@ -1038,6 +1024,7 @@ public enum TokenType : Swift.CaseIterable {
case labelExpression
case url
case error
case pending
case unidentified
case custom
case dateComponents
Expand Down Expand Up @@ -1160,6 +1147,7 @@ indirect public enum EvaluationResult {
case laptime(SoulverCore.Laptime)
case error(SoulverCore.EvaluationError)
case variable(SoulverCore.Variable)
case pending
case none
public var equivalentTokenType: SoulverCore.TokenType {
get
Expand Down Expand Up @@ -1220,6 +1208,9 @@ extension Token {
public var variable: SoulverCore.Variable? {
get
}
public var dynamicVariable: SoulverCore.DynamicVariable? {
get
}
public var isLineReference: Swift.Bool {
get
}
Expand Down Expand Up @@ -1317,13 +1308,10 @@ public class LineCollection {
@discardableResult
public func replaceOccurancesInExpressions(replacements: [Swift.String : Swift.String]) -> Foundation.IndexSet
public func unformattedResultFor(lineIndex: SoulverCore.LineIndex) -> Swift.String
public var additionalEvaluators: [SoulverCore.Evaluator] {
public var customEvaluator: SoulverCore.Evaluator? {
get
set
}
public func prepareLinesForRemoteFetchAt(lineIndexes: Foundation.IndexSet)
public func performRemoteEvaluation(evaluatedLinesHandler: SoulverCore.LineCollection.EvaluatedLinesHandler? = nil)
public func setEvaluator(evaluatorIdentifier: SoulverCore.EvaluatorIdentifier?, forLineAt index: SoulverCore.LineIndex)
public func makeReferenceForDynamicSymbol() -> SoulverCore.LineReference
@objc deinit
}
Expand Down Expand Up @@ -1494,13 +1482,7 @@ public struct Multiplier : Swift.Equatable {
}
open class StandardEvaluator : SoulverCore.Evaluator {
public init(customization: SoulverCore.EngineCustomization)
open var identifier: Swift.String {
get
}
open func evaluate(_ tokenList: SoulverCore.TokenList) -> SoulverCore.EvaluationResult
open var isRemote: Swift.Bool {
get
}
public func preprocessed(tokenList: SoulverCore.TokenList) -> SoulverCore.TokenList
public func expressionForEvaluationFrom(tokenList: SoulverCore.TokenList) -> SoulverCore.RawExpression
public func evaluationResultFor(resultString: Swift.String) -> SoulverCore.EvaluationResult
Expand Down Expand Up @@ -1866,8 +1848,6 @@ extension SoulverCore.UnitType : Swift.Hashable {}
extension SoulverCore.UnitType : Swift.RawRepresentable {}
extension SoulverCore.ApparentLineType : Swift.Equatable {}
extension SoulverCore.ApparentLineType : Swift.Hashable {}
extension SoulverCore.RemoteEvaluationState : Swift.Equatable {}
extension SoulverCore.RemoteEvaluationState : Swift.Hashable {}
extension SoulverCore.LineCalculationBehaviour : Swift.Equatable {}
extension SoulverCore.LineCalculationBehaviour : Swift.Hashable {}
extension SoulverCore.LineCalculationBehaviour : Swift.RawRepresentable {}
Expand Down
Binary file not shown.
Loading

0 comments on commit d5a5b5c

Please sign in to comment.