Some documentation/definition lacks #24828
Replies: 2 comments 12 replies
-
V doesn't do macros, and neither do veb/vweb. What they do has is templates. As for how You can't disable tcc usage, but you can tell V not to use it by setting Why you would want to do that, when tcc is so much faster for prototyping, I don't know. But you are free to do it if you wish. Using You are correct that all the env vars aren't documented in one place, and there is no separate "deprecated" list, although I don't know why one would be needed. |
Beta Was this translation helpful? Give feedback.
-
I found They are both tightly integrated inside the compiler. I don't really think it's a good design - library-specific comptime features should be decoupled - but that would fit in another discussion. And sql is actually treated like a keyword... I'm worried about whether we are adding more domain-specific keywords to the language. V is not a DSL. But again that fits in another discussion. We can have some little chat here and if you don't mind my noise in discussion area I'll open another ones. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here I'll lay down some incomplete documentation areas I found while wandering through v's websites (for a note to maintainers and perhaps myself)
macros (no they aren't but they really look like it)comptime@['/']
and$veb.html()
, vweb is using for a long time but not documented, looking like procedual and declaritive)sql db {}
even works!! it just looks like a keyword)Beta Was this translation helpful? Give feedback.
All reactions