Skip to content
Snippets Groups Projects
  1. Jul 18, 2022
  2. May 24, 2021
  3. May 14, 2021
  4. May 10, 2021
    • Kevin Cox's avatar
      Add gitlab-ci example. · 6f8bf400
      Kevin Cox authored
      This just shows a real-world use case of what the format looks like. Overall I think it works fairly well even on a format designed for YAML. Since Simple Config and YAML are so similar you can diff the two files to get a comparison. I think it is a win for Simple Config except for the `script:`. However if a multi-line string was used instead of a list of strings I think it would look nicer than the YAML as well.
      
      Places where Simple Config shines:
      
      - You can use tabs if you want to.
      - Much less quoting required and the quoting rules are simple (newlines and comments). For example no surprises with numbers being a different type than string or NO being parsed as `false` instead of a string.
      - No quoting at all required for multi-line strings.
      
      Places where YAML is nicer:
      
      - Lists of multi-line values generally don't need an extra line of indentation.
Loading