Closed aaronpuchert closed 7 years ago
This isn't 'invalid' in the sense of being a bad question, but it should probably be asked over on the OpenCL-Docs repository where the spec is kept. This repo is only for the content backing the actual registry website and likely isn't monitored by anyone except me. No idea who in Khronos, if anyone, is involved in MIME type registration, though.
Recently, OpenCL C source code was registered in freedesktop.org's
shared-mime-info
astext/x-opencl-src
. (Thex-
prefix makes it a nonstandard extension.) The freedesktop.org project maintains common components shared by all Linux desktops.Since OpenCL C is based on C, which has type
text/x-csrc
, we wondered over at KDE if it shouldn't rather betext/x-opencl-csrc
. Especially since there is also OpenCL C++. Does Khronos have a position on this?Text editors and IDEs need a way to recognize the language of a given source code file, and the usual way to do this is via MIME types.