Hi - Our parser requires a minimum version of flex/bison that we don't want to require as dependencies for all developers.
For that reason, we check the results of flex/bison in to the repository. Since they are checked in, we also don't automatically rebuild them, since that would introduce noise when the parser was not intentionally changed. If you've modified the parser and would like to run flex/bison, do this: cd compiler/parser make parser This works for me on a linux system with bison 2.5 and flex 2.5.35, but not on Mac OS X (which has bison 2.3, at least by default). Cheers, -michael On 6/2/15, 3:32 AM, "Tomsy Paul" <[email protected]> wrote: >I am experimenting with lex and parse of chapel. I find that after >modifying the lex or yacc files(chapel.lex & chapel.ypp), if I simply run >make at $CHPL_HOME, it does not make the parser. I should run make parser >at compiler/parser folder and then make > at $CHPL_HOME. > > >Why is it so? > ------------------------------------------------------------------------------ _______________________________________________ Chapel-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-developers
