-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Package compiler
as such
#23049
Comments
One can do |
ooh, that's a nice hack / workaround - however, tooling will typically require a very specific version of the compiler source code - ideally the one it actually asks for in the nimble file which doesn't necessarily have to be the same as the one being used for compilation. Ideally, the compiler would be a library just like any other dependency so that the really most basic tooling works with it, starting with its use in a package manager. |
#Compiler needs to be treated as Nim as long as it isnt a separated package. See nim-lang/Nim#23049 #Also notice compiler and nim are aliases.
* Treats compiler as Nim #Compiler needs to be treated as Nim as long as it isnt a separated package. See nim-lang/Nim#23049 #Also notice compiler and nim are aliases. * removes fragile check
Description
In addition to the compiler not being available via nimble, the
compiler
packaging as exposed by the nimble file is inconvenient to import.Because of name conflicts, the compiler should ideally be packaged such that imports include
compiler/
to disambiguate packages such ascompiler/options
, else it becomes hard to use it in tooling.Having access to the compiler code in tooling is important - at the same time, it is very inefficient for tooling to follow the same slow release cycle as the compiler / language itself.
Nim Version
devel
Current Output
No response
Expected Output
No response
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: