-
Notifications
You must be signed in to change notification settings - Fork 120
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
restructuring the repo #16
Comments
No, they are handmade. CMake support was added recently and doesn't impact to existing project structure. I suggest to leave in build folder VS20XX folders for last two versions only (VS2015, VS2017). I even agree to completely remove build folder and stay with CMake option only.
I don't understand, please clarify it.
I fully agree with your proposal. Just some notes I mentioned above (about build/ folder) |
If you want to, but I should be able to at least verify that 2010 is working, too (and provide older versions, at least down to 2005 [if building with this compiler works]).
Only if you insist on this and if you do we should provide a new "source" distribution along with the binaries for new releases (it is always bad when you have to install CMake, check howto use it (even when .bat files for this are provided) just because you want to build something.
There are flex source files in the source-tree and we even build flex first - but the c source files aren't generated (or I've missed this). |
if you want to and have possibility to make projects to all VS versions down to 2005 you could do it.
I agree let's stay with pure VS projects. And CMake as alternative option.
I've copied *.l files just for consistency. They are don't used now. During upgrade I grab new bison code from the original repository and I don't modify *.l file, so it's enough to have *.c generated original files. |
So the "c generated original files" are from an outdated flex version - which is the reason why I think it would be good to (either manually or automatically) rebuild these with the flex version built beforehand, don't you think? |
No. The *.c generated files are from flex version that was used by bison maintainer when he wrote bison code. In theory new version of flex could break bison code. So I think it's maintainer's responsibility to regenerate *.c generated file with a new version of flex and ensure everything is OK.
My goal was to make minimal modifications of the original bison code to make it run under windows. I think any modifications in the code that would benefit bison tool should be done in original bison code and then propagated to win_bison during version upgrade. Otherwise we have hard fork of bison and it would be more difficult to merge changes from original repo. |
I'm disagreeing with merging the two branches. In my humble opinion it has the potential for more confusion and it's harder to oversee with no clear benefit. I'm agreeing that there shouldn't be built win_flex and win_bison binaries in the git repository as this is exactly what releases are for. |
This was my fault to place 3 projects: common_lib, win_flex and win_bison into a single git repository.
This will allow me eliminate redundant cherry-picking. I've removed exe files. |
Using sub-modules sounds reasonable. Just a note: to allow compilation of win_flex or win_bison you already need common_lib, so this would mean to have 2-3 "not self-contained" repos. If you want to do this:
When you did this I'll:
Or... just go with the approach of the first post - should solve the issue without any not contained repos. |
I've just thought - may be we could just freeze bison2.7 branch. So anyone who wants use new versions of flex or fixed bison should upgrade its bison files to 3.x.x. version. Only if someone explicitly ask us to fix something in bison 2.7 I will modify bison2.7 branch. |
Splitted from #14:
@GitMensch said:
@lexxmark said:
Additional question:
Suggested new layout:
make_dist.bat will ask for VS version and bison version to use (can be toggled with TAB), copy the binaries from the VS version + data dir from appropriate bison + custom_build_rules + FlexLexer + docs to dist.
@lexxmark I assume you have questions, and answers :-)
The text was updated successfully, but these errors were encountered: