구성 파일

위키백과, 우리 모두의 백과사전.

편집 중인 GNU GRUB의 구성 파일.

컴퓨팅에서 구성 파일(Configuration file) 또는 콘피그 파일(config file)은 일부 컴퓨터 프로그램매개변수초기 설정을 구성하기 위해 사용되는 파일이다. 이것들은 사용자 응용 소프트웨어, 서버 프로세스, 운영체제 설정에 사용된다.

일부 애플리케이션들은 자신들의 구성 파일의 문법을 생성, 수정, 확인하는 도구들을 제공한다.

비교[편집]

포맷 비교[1]
포맷 포맷 사양 주석 허용 신택스 타이핑[2][3]
CUE[4]
INI 아니요 아니오
JSON [5] 아니요
TOML [6]
YAML [7]
XML [8] 아니오

같이 보기[편집]

각주[편집]

  1. 《TOML》, TOML, 2023년 1월 15일, 2023년 1월 15일에 확인함 
  2. Syntax typing refers to the use of syntax to designate data types. In languages that allow syntax typing, type declaration will be syntax-based – e.g. true will be a boolean while "true" will be a string – whereas in languages that do not allow syntax typing it will be semantics-based – e.g. true and "true" will be both recognizable as booleans, while microwave and "microwave" will be both recognizable as strings (this will require the parser to have some prior expectations about the type of a particular field, but this is often the case in configuration files).
  3. Opinions on whether syntax typing in configuration formats is a good or a bad feature vary among authors. with some considering it a disadvantage (see for example What is wrong with TOML § Syntax typing) and others favoring it.
  4. “About | CUE”. 2022년 10월 6일에 확인함. 
  5. “The JavaScript Object Notation (JSON) Data Interchange Format”. 
  6. “TOML Specification”. 
  7. “YAML™ Specification Index”. 
  8. “Extensible Markup Language (XML) 1.0 (Fifth Edition)”.