Re:No YAML
by reegnz on Thursday October 28, 2021 @11:10AM
(#29027022)
A language does not need to be considered Turing complete to be considered code.
[ Parent
| on HN ]
Re:No YAML
by ChrisLomont on Thursday October 28, 2021 @07:33PM
(#29033422)
It needs to perform some computation, right?
Or is code now any structured data read by a program?
A python script could be a text doc if you open it in a markdown editor. A yaml file could execute web call if run through a program with a parser.
It is all up to the interpreter you give the code too. Your program that takes yaml config is an interpreter, though probably a very limited one and hopefully a safe one (though that needs to be tested / checked for to be more sure of)
Re:No YAML
by eyelidlessness on Friday October 29, 2021 @12:11AM
(#29035092)
Now? XML has been code for decades.