anchor.diff:  open Farkle.Tools
   open Scriban.Runtime
   open System
  +open System.Collections.Immutable
   open System.IO
   open System.Linq
   open System.Text
  
positive.code:             prod.Head, handle
          isElementUnique getFormattingElements productions
  
      let grammar = g.Grammar
      let grammarSO =
          let so = ScriptObject()
          so.Import grammar
          so.SetValue("productions_groupped", grammar.Productions.ToLookup(fun x -> x.Head), true)
          so
  
      let fShouldPrintFullProduction = shouldPrintFullProduction grammar.Productions
  
      let bytesThunk = lazy(
          let ext = Path.GetExtension(g.GrammarPath).AsSpan()
          if isGrammarExtension ext then
  
negative.code:             stream.ToArray()
      )
  
      member _.grammar_path = g.GrammarPath
      member _.to_base64 doPad =
          let options = if doPad then Base64FormattingOptions.InsertLineBreaks else Base64FormattingOptions.None
          Convert.ToBase64String(bytesThunk.Value, options)
  
      override _.has_errors = false
      override x.LoadInstanceMethods so =
          base.LoadInstanceMethods so
          so.Import("to_base64", Func<_,_> x.to_base64)
  