github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/toml/_examples/hard.toml (about)

     1  # Test file for TOML
     2  # Only this one tries to emulate a TOML file written by a user of the kind of parser writers probably hate
     3  # This part you'll really hate
     4  
     5  [the]
     6  test_string = "You'll hate me after this - #"          # " Annoying, isn't it?
     7  
     8      [the.hard]
     9      test_array = [ "] ", " # "]      # ] There you go, parse this!
    10      test_array2 = [ "Test #11 ]proved that", "Experiment #9 was a success" ]
    11      # You didn't think it'd as easy as chucking out the last #, did you?
    12      another_test_string = " Same thing, but with a string #"
    13      harder_test_string = " And when \"'s are in the string, along with # \""   # "and comments are there too"
    14      # Things will get harder
    15      
    16          [the.hard.bit#]
    17          what? = "You don't think some user won't do that?"
    18          multi_line_array = [
    19              "]",
    20              # ] Oh yes I did
    21              ]
    22