Hacker News new | past | comments | ask | show | jobs | submit login

Please stop reusing extensions. “.v” is already used by Coq and by V.



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.


And Verilog. Not that it matters much since tools can utilize heuristics to figure out the actual language used.


How do you use heuristics when creating a new file?


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.


A new file won't have that at the top. Unless you create it first by copying a template, I guess.


And Verilog




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: