Git Product home page Git Product logo

Comments (3)

lexxmark avatar lexxmark commented on August 18, 2024

Hi Andre,

Thank you for such a warm words.

I want to replace the executables to another location on my disk.

You could put whole winflexbison folder in any place you want. If you add path to winflexbison folder to PATH environment variable you will be able to run win_flex or win_bison executables from any place in the system

What can I do with the skeleton (and other) files?
Is there a presumed structure or can I put it all in one directory?

You could place bison's data subfolder in a different place, just set env var BISON_PKGDATADIR to point to this folder.

Can I mix the two? (Most likely not) Any advise on how to keep them both available but separated? The difference in executable names should be enough to select the correct version.

I guess different executable names flex vs win_flex and bison vs win_bison should be enough to separate these tools.

Best regards,
Alex

from winflexbison.

papaathome avatar papaathome commented on August 18, 2024

Hi ALex,

Thanks for the quick reply.
Your answer is is good and complete enough to close this item.

Moving all files to another location is what I did (and it works), after I had written my message.
But I have a feeling that not all files are required, such as changelog.md and data/local.mk for instance.
On deployment locations I don't like to see items that are required for a build but that is just my opinion.

The file FlexLexer.h makes it risky (in my opinion) to combine WinFlexBison with existing GnuWin32 locations.
The original Flex uses a file with the same name (in .../GnuWin32/include) and it might clash with that one.
In any way, it is confusing to users. Which file is (or should be) used by which version of Flex?
Even if the two (the GnuWin32 version and the WinFlex version) are identical it is not a smart move to combine the executables in one location. Later in time there might be a difference, (however unlikely now).

Good to know that there is an environment variable for locating the data subfolder.
I had a quick browse through the source code but did not see that one.

Maybe, if you can find some spare time, you can mention some of the details in changelog.md or in a separate readme.md

Kind regards,
Andre.

from winflexbison.

ArcaneTourist avatar ArcaneTourist commented on August 18, 2024

As a footnote, I'll note that win_bison sometimes cannot find its data directory if win_bison is invoked via a symlink. I say sometimes, because it doesn't work when invoked via VS but does work when invoked from a cygwin command line (and works via either windows soft links or via cygwin soft links).

from winflexbison.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.