Re:New embedded programming language with C as a host language
by xigoi on Tuesday July 26, 2022 @02:57AM
(#32235215)
Please stop reusing extensions. “.v” is already used by Coq and by V.
[ Parent
| on HN ]
Re:New embedded programming language with C as a host language
by dsvr on Tuesday July 26, 2022 @04:41AM
(#32235819)
At the time I didn't know that. Perhaps .vely extension, I guess that would do it. Something to consider to be nice for sure. Thanks for that.
Re:New embedded programming language with C as a host language
by forgotpwd16 on Tuesday July 26, 2022 @04:45AM
(#32235841)
And Verilog. Not that it matters much since tools can utilize heuristics to figure out the actual language used.
Re:New embedded programming language with C as a host language
by xigoi on Tuesday July 26, 2022 @07:06AM
(#32236720)
How do you use heuristics when creating a new file?
Re:New embedded programming language with C as a host language
by dsvr on Tuesday July 26, 2022 @01:25PM
(#32241156)
In this case, just check if there is, near the beginning of file:
#include "vely.h"
which has to be in every Vely .v file.