This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// XCActivityLogTokenyizer.swift | |
// XCActivityLogParser | |
// | |
// Created by Vorobyov Semyon on 15.07.2023. | |
// | |
import Foundation | |
// Let's take a simple tokenizer for converting the SLF0 format into tokens. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum WagnerFischer { | |
enum Operation<T: Equatable> { | |
case insert(index: Int, value: T) | |
case remove(index: Int, value: T) | |
case replace(index: Int, startValue: T, finishValue: T) | |
} | |
} | |
extension WagnerFischer { |