-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Separate Visual Basic into VB.NET, VBA/VB6 and VBScript #4725
Conversation
Per this suggestion I am attempting to create a PR. However, I am running into the following issues:
In this case, it would be useful for the |
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.
I can't really comment on installing Ruby on Windows, but I can if you encounter problems with your Linux VM approach.
I've made a few suggestions that will help things along.
@zspitz actually, VBA is VB6, it's the VB6 runtime used in dev mode (binary include debugger symbols, that allow the famous yellow line). It's exactly the mode used in the VB6 editor when you develop. MS simply included the VB6 IDE inside Office Apps. For instance, you can see in VBA a legacy So, you will never find something in VBA that does not exists in VB6, and IMO, you should use VB6 for |
Not disagreeing, but I think that (as I said) VBA is far more commonly used than VB6, so it makes more sense that the language name should be VBA (or Visual Basic for Applications), rather than VB6.
The reverse is also true to my knowledge -- in terms of the source of the language itself (not the global objects, or the runtime environment), you won't find anything in VB6 not in VBA |
RE VBA vs Visual Basic for Applications -- The formal name isn't always used, or even preferred: e.g. HTML, CSS, XML, CSV; even when the acronym is not universally known to people unfamiliar with the language (such as GAMS, HLSL, VHDL). Therefore, can we keep the name as I've updated the ids, but other tests are still failing. |
Partially true :) It's the same runtime, but you'll find several things not possible, or hardly doable in VBA. I've in mind options for default immutable value for objects ( I used to build my own build tooling for VBA for this use-case. That said, I agree that's very small differences, and as VBA usage is far more common than VB6, the less common surprise effect is probably a better argument. |
Yeah, you can keep VBA. I was more trying to draw things away from the previous attempt of VBA/VB6 whilst keeping things unambiguous. I think it's commonly known that VBA is referring to Visual Basic for Applications as opposed to any other language. |
@lildude Is there anything I can add/change to move this forward? Thanks. |
Not from what I can see. Just waiting on a review from one of the other maintainers before I make my final review and merge. |
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.
Looks okay to me. I'm not familiar with Visual Basic, so I'll take @zspitz's word that the split is justified.
Out of curiosity, at what point will this be visible in existing repos? I understand from the Linguist README that GitHub only performs this analysis when code is pushed to a repo. Is there ever another time when this happens? |
The rename should take effect in some places when I make the next release, but only for "Visual Basic" -> "Visual Basic .NET" rename as the language ID is the same. Everything else will only take affect on those repos on the next push. The reason I say "some places" is because different parts of the site are cached differently and I have no idea how they all tie in. |
Description
See #2418 .
Checklist:
I am adding a new language. -- VBA/VB6
I am adding a new language. -- VBScript