-
Notifications
You must be signed in to change notification settings - Fork 212
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
Replace stdlib on Slang API with CoreModule #5405
Replace stdlib on Slang API with CoreModule #5405
Conversation
-load-stdlib should be All current mention of stdlib in the compiler codebase should be changed to |
I will change as suggested. |
2bef62f
to
119ce89
Compare
119ce89
to
7ecf620
Compare
Also need to update docs/build_reference.ps1. (just change the slangc argument in the script). |
This is a breaking change in a way that the Slang API function names are changed. All of them are commented as "experimental" and we wouldn't provide a back-ward compatibility for them. Following functions are renamed: - compileStdLib() -> compileCoreModule() - loadStdLib() -> loadStandardModules() - saveStdLib() -> saveStandardModules() - slang_createGlobalSessionWithoutStdLib() -> slang_createGlobalSessionWithoutCoreModule() - slang_getEmbeddedStdLib() -> slang_getEmbeddedCoreModule() - hasDeferredStdLib() -> hasDeferredCoreModule() Following command-line arguments are renamed: - "-load-stdlib" -> "-load-standard-modules" - "-save-stdlib" -> "-save-standard-modules" - "-compile-stdlib" -> "-compile-core-module"
d0dc40c
to
210fbaa
Compare
This PR is for #5335 but it doesn't close. |
…StandardModules_for_public_slang_APIs
This is a breaking change in a way that the Slang API function names are changed. All of them are commented as "experimental" and we wouldn't provide a back-ward compatibility for them.
Following functions are renamed:
Following command-line arguments are renamed: