WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
148754
Migrate from flex/bison -> boost::spirit or similar
https://bugs.webkit.org/show_bug.cgi?id=148754
Summary
Migrate from flex/bison -> boost::spirit or similar
Brent Fulgham
Reported
2015-09-03 15:30:29 PDT
The Flex and Bison parser generators are becoming an every increasing maintenance burden: 1. More recent versions of this software have undesirable GPL v3 licensing. 2. Different platforms have access to different versions of the software (e.g., Mac is limited to Bison 2.3) 3. Flex and Bison are difficult to obtain and use on Windows. Instead, it would be nice to move towards a more modern parser generator approach, possibly using something like Boost::spirit.
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2015-09-03 15:31:35 PDT
The first question I have is whether the parsers produced by Boost::Spirit are known to have comparable performance to Flex/Bison?
Alex Christensen
Comment 2
2015-09-08 14:22:55 PDT
I also wonder if we'd have to include a copy of all of boost to be able to use spirit.
Brent Fulgham
Comment 3
2015-09-08 14:43:15 PDT
(In reply to
comment #2
)
> I also wonder if we'd have to include a copy of all of boost to be able to > use spirit.
Either that, or add it to the build requirements. Either way, it seems like a similar burden to getting a usable Flex/Bison setup. So perhaps this project is a waste of time. If Visual Studio or Xcode shipped with some version of boost, we could perhaps use it, but it seem like this is not going to work.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug