Account in picture was banned within minutes of posting this information

  • footfaults [none/use name]
    ·
    4 months ago

    Here's the the thing. The snippet that was posted by that account is not any known format. It's not YAML, it's not INI syntax, it's not JSON, or TOML, or anything that is a common configuration syntax. It's not valid JS. It's bullshit. It's just close enough to programming code that it would maybe convince some people.

    So, while you spent a lot of time proving that you if you were forced to work with this file, there's an incredibly nasty set of regex and parsing that you could do to make this actually work, there's absolutely no reason why this would be done.

    • PaX [comrade/them, they/them]
      ·
      4 months ago

      People rolling their own formats isn't really that uncommon. And besides, that file is one s/ =/:/g away from being valid YAML. There might even be a YAML or TOML parser around that will accept this, idk

      there's an incredibly nasty set of regex and parsing that you could do to make this actually work

      It only really looks nasty cuz I wanted to "parse" this file mentioning regex with regex for fun lol, it's basically YAML

      The syntax of that file isn't the sus part imo. I feel like I'm being an annoying pedant but yeah