I'm trying to port JavaScriptCore to Windows... doesn't look to easy. KJS/PCRE is much easier to port & combine than JavaScriptCore's KJS/PCRE. for some reason, the bla_object.lut.h files created from Perl aren't liked to well by the compiler I'm using (MSVC 8). Also, is grammar.y grammar.h once ran thru bison? Just some questions to help me in my porting process. Also, if I port a file, but not the entire thing, should i go ahead and submit a patch for it? --Justin Haygood
I'm only passingly familiar with it, but it depends on which version of bison you have. Bison 1.2 produces "grammar.cpp.h" and Bison 2.0 produces "grammar.hpp". I think. Toby, or anyone else, feel free to weigh in. IANABP (I am not a Bison programmer ;) - Colin On Jun 7, 2005, at 4:27 PM, Justin Haygood wrote:
for some reason, the bla_object.lut.h files created from Perl aren't liked to well by the compiler I'm using (MSVC 8). Also, is grammar.y grammar.h once ran thru bison?
On 08 Jun 2005, at 00.38, Colin Barrett wrote:
I'm only passingly familiar with it, but it depends on which version of bison you have. Bison 1.2 produces "grammar.cpp.h" and Bison 2.0 produces "grammar.hpp". I think. Toby, or anyone else, feel free to weigh in. IANABP (I am not a Bison programmer ;)
Yeah, and the shell script phase creates grammar.h from whichever file is created. - Toby
On Jun 7, 2005, at 7:27 PM, Justin Haygood wrote:
I'm trying to port JavaScriptCore to Windows... doesn't look to easy.
KJS/PCRE is much easier to port & combine than JavaScriptCore's KJS/ PCRE.
If you tell us more about the specific problems you're having, then we can try to help you out.
for some reason, the bla_object.lut.h files created from Perl aren't liked to well by the compiler I'm using (MSVC 8).
What specific errors do you get?
Also, is grammar.y grammar.h once ran thru bison?
Bison generates grammar.h and grammar.cpp from grammar.y.
Just some questions to help me in my porting process. Also, if I port a file, but not the entire thing, should i go ahead and submit a patch for it?
If the code still compiles and works correctly on Mac OS X, then sure, a partial patch to fix building on Windows would be fine. Having it in the tree would allow others to join in and make further progress. Regards, Maciej
participants (4)
-
Colin Barrett
-
Justin Haygood
-
Maciej Stachowiak
-
Toby Peterson