-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
v: add support for @OS, @CCOMPILER @BACKEND and @PLATFORM
#25174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v: add support for @OS, @CCOMPILER @BACKEND and @PLATFORM
#25174
Conversation
|
Connected to Huly®: V_0.6-24130 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work.
@OS, @COMPILER and @PLATFORM
|
I am not sure if the |
|
Another possibility is to allow |
Or introduce another pub enum Backend {
c // The (default) C backend
golang // Go backend
interpret // Interpret the ast
js_node // The JavaScript NodeJS backend
js_browser // The JavaScript browser backend
js_freestanding // The JavaScript freestanding backend
native // The Native backend
wasm // The WebAssembly backend
} |
Yes, it is better rename to |
@OS, @COMPILER and @PLATFORM@OS, @COMPILER @BACKEND and @PLATFORM
@OS, @COMPILER @BACKEND and @PLATFORM@OS, @CCOMPILER @BACKEND and @PLATFORM
|
I've asked @medvednikov on Discord, and he said that the current names of these sound good. |
add
@OS@COMPILER@BACKEND@PLATFORMcomptime support.