emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should yaml-ts-mode inherit from prog-mode?


From: Yuri Khan
Subject: Re: Should yaml-ts-mode inherit from prog-mode?
Date: Mon, 13 Mar 2023 15:44:43 +0700

On Sun, 12 Mar 2023 at 16:50, Daniel Fleischer <danflscr@gmail.com> wrote:

> Please point out where in the YAML spec "yes" is used as a boolean. And
> again, usefulness of highlighting different objects does not mean it's a
> programming language.

<https://yaml.org/type/bool.html>, referenced from
https://yaml.org/spec/1.1/ § 2.4.

The latest version of YAML is 1.2.2, and it no longer specifies ‘y’,
‘n’, ‘yes’, or ‘no’ as booleans. However, existing parser
implementations are not all up to date and still implement 1.0 or 1.1
even in presence of the ‘%YAML 1.2’ tag in the input.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]