Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-09 | libexpr: quote reserved keys when printing | Alex Ameen | |
This fixes a bug in commands like `nix eval' which would emit invalid attribute sets if they contained reserved keywords such as "assert", "let", etc. These keywords will not be quoted when printed, making them valid expressions. All keywords recognized by the lexer are quoted except "or", which does not require quotation. | |||
2023-04-16 | libexpr: Move identifier-like printing to print.cc | Robert Hensing | |
2023-04-16 | libexpr/value/print.* -> libexpr/print.* | Robert Hensing | |
Generalizes the file to sensibly allow printing any part of the language syntax. |