From hanan_mneimneh at hotmail.com Sat Dec 2 12:57:22 2006 From: hanan_mneimneh at hotmail.com (Hanan Mneimneh) Date: Sat, 02 Dec 2006 19:57:22 +0200 Subject: [grammarians] ruby parser Message-ID: Hello I need to generate a state machine for a web application developed using ruby on rails. For this purpose, I need to dynamically parse the controller which is a ruby class. Is there a decent parser to parse ruby code???????? Thanks in advance _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ From charles.nutter at sun.com Sat Dec 2 13:17:38 2006 From: charles.nutter at sun.com (Charles Oliver Nutter) Date: Sat, 02 Dec 2006 12:17:38 -0600 Subject: [grammarians] ruby parser In-Reply-To: References: Message-ID: <4571C342.80407@sun.com> Hanan Mneimneh wrote: > Hello > > I need to generate a state machine for a web application developed using > ruby on rails. For this purpose, I need to dynamically parse the controller > which is a ruby class. Is there a decent parser to parse ruby code???????? There's an ANTLR grammar available in the rubygrammar repository that's already being used for the XRuby compiler project. That should get you what you need! -- Charles Oliver Nutter, JRuby Core Developer Blogging on Ruby and Java @ headius.blogspot.com Help spec out Ruby today! @ www.headius.com/rubyspec headius at headius.com -- charles.nutter at sun.com From wilsonb at gmail.com Sat Dec 2 13:27:12 2006 From: wilsonb at gmail.com (Wilson Bilkovich) Date: Sat, 2 Dec 2006 13:27:12 -0500 Subject: [grammarians] ruby parser In-Reply-To: References: Message-ID: On 12/2/06, Hanan Mneimneh wrote: > Hello > > I need to generate a state machine for a web application developed using > ruby on rails. For this purpose, I need to dynamically parse the controller > which is a ruby class. Is there a decent parser to parse ruby code???????? > You can use the ParseTree or sydparse gems for this. From charles.nutter at sun.com Sat Dec 2 15:17:34 2006 From: charles.nutter at sun.com (Charles Oliver Nutter) Date: Sat, 02 Dec 2006 14:17:34 -0600 Subject: [grammarians] ruby parser In-Reply-To: References: Message-ID: <4571DF5E.8040803@sun.com> Wilson Bilkovich wrote: > On 12/2/06, Hanan Mneimneh wrote: >> Hello >> >> I need to generate a state machine for a web application developed using >> ruby on rails. For this purpose, I need to dynamically parse the controller >> which is a ruby class. Is there a decent parser to parse ruby code???????? >> > > You can use the ParseTree or sydparse gems for this. If you'd like something that works on JRuby as well, parsetree is probably a good choice; there's a clone of parsetree in development for JRuby. However you should keep in mind that basing logic in your application directly on the structure of the AST is unlikely to be portable forever. The AST is bound to change. -- Charles Oliver Nutter, JRuby Core Developer Blogging on Ruby and Java @ headius.blogspot.com Help spec out Ruby today! @ www.headius.com/rubyspec headius at headius.com -- charles.nutter at sun.com From hanan_mneimneh at hotmail.com Sun Dec 3 10:54:45 2006 From: hanan_mneimneh at hotmail.com (Hanan Mneimneh) Date: Sun, 03 Dec 2006 17:54:45 +0200 Subject: [grammarians] ruby parser In-Reply-To: Message-ID: Hello Thanks for your reply I installed Parsetree and rubyinline using rubygem. I am working on windows. when i run a ruby program that requires 'parse_tree' it exits with the following message: "Define INLINEDIR or HOME in your environment and try again" Does Parsetree works on linux only can't I work on windows??????? Thanks in advance Hana >From: "Wilson Bilkovich" >Reply-To: Discussion of the Ruby >grammar >To: "Discussion of the Ruby grammar" > >Subject: Re: [grammarians] ruby parser >Date: Sat, 2 Dec 2006 13:27:12 -0500 > >On 12/2/06, Hanan Mneimneh wrote: > > Hello > > > > I need to generate a state machine for a web application developed using > > ruby on rails. For this purpose, I need to dynamically parse the >controller > > which is a ruby class. Is there a decent parser to parse ruby >code???????? > > > >You can use the ParseTree or sydparse gems for this. >_______________________________________________ >Rubygrammar-grammarians mailing list >Rubygrammar-grammarians at rubyforge.org >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From wilsonb at gmail.com Sun Dec 3 18:37:59 2006 From: wilsonb at gmail.com (Wilson Bilkovich) Date: Sun, 3 Dec 2006 18:37:59 -0500 Subject: [grammarians] ruby parser In-Reply-To: References: Message-ID: It works on Windows. You just need to set up a HOME environment variable in the System control panel. C:\Documents and Settings\YourUser is a decent choice. On 12/3/06, Hanan Mneimneh wrote: > Hello > Thanks for your reply > > I installed Parsetree and rubyinline using rubygem. I am working on windows. > when i run a ruby program that requires 'parse_tree' it exits with the > following message: > "Define INLINEDIR or HOME in your environment and try again" > > Does Parsetree works on linux only can't I work on windows??????? > Thanks in advance > Hana > > >From: "Wilson Bilkovich" > >Reply-To: Discussion of the Ruby > >grammar > >To: "Discussion of the Ruby grammar" > > > >Subject: Re: [grammarians] ruby parser > >Date: Sat, 2 Dec 2006 13:27:12 -0500 > > > >On 12/2/06, Hanan Mneimneh wrote: > > > Hello > > > > > > I need to generate a state machine for a web application developed using > > > ruby on rails. For this purpose, I need to dynamically parse the > >controller > > > which is a ruby class. Is there a decent parser to parse ruby > >code???????? > > > > > > >You can use the ParseTree or sydparse gems for this. > >_______________________________________________ > >Rubygrammar-grammarians mailing list > >Rubygrammar-grammarians at rubyforge.org > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > _______________________________________________ > Rubygrammar-grammarians mailing list > Rubygrammar-grammarians at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > From hanan_mneimneh at hotmail.com Mon Dec 4 08:23:08 2006 From: hanan_mneimneh at hotmail.com (Hanan Mneimneh) Date: Mon, 04 Dec 2006 15:23:08 +0200 Subject: [grammarians] ruby parser In-Reply-To: Message-ID: Hello Thanks again for you reply I set up the HOME environmnet. The problem related to setting the home environment is solved but now it is giving me the following: WHY????? c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in ``': No such file or directory - cl -nologo -LD -Wall -W -Wpointer-arith -Wcast-qual -Wcast-a lign -Wwrite-strings -Wmissing-noreturn -Werror -MD -Zi -O2b2xg- -G6 -I c:/ruby/ lib/ruby/1.8/i386-mswin32 -o "c:\Documents and Settings\hanan/.ruby_inline/Inlin e_ParseTree_a424.so" "c:/Documents and Settings/hanan/.ruby_inline/Inline_ParseT ree_a424.c" -link /LIBPATH:"c:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" /INCRE MENTAL:no /EXPORT:Init_Inline_ParseTree_a424 (Errno::ENOENT) from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in `build' from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:629:in `inline' from c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-1.6.1/lib/parse_tree.rb:20 9 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge m_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire' from printer.rb:4 >From: "Wilson Bilkovich" >Reply-To: Discussion of the Ruby >grammar >To: "Discussion of the Ruby grammar" > >Subject: Re: [grammarians] ruby parser >Date: Sun, 3 Dec 2006 18:37:59 -0500 > >It works on Windows. You just need to set up a HOME environment >variable in the System control panel. >C:\Documents and Settings\YourUser is a decent choice. > >On 12/3/06, Hanan Mneimneh wrote: > > Hello > > Thanks for your reply > > > > I installed Parsetree and rubyinline using rubygem. I am working on >windows. > > when i run a ruby program that requires 'parse_tree' it exits with the > > following message: > > "Define INLINEDIR or HOME in your environment and try again" > > > > Does Parsetree works on linux only can't I work on windows??????? > > Thanks in advance > > Hana > > > > >From: "Wilson Bilkovich" > > >Reply-To: Discussion of the Ruby > > >grammar > > >To: "Discussion of the Ruby grammar" > > > > > >Subject: Re: [grammarians] ruby parser > > >Date: Sat, 2 Dec 2006 13:27:12 -0500 > > > > > >On 12/2/06, Hanan Mneimneh wrote: > > > > Hello > > > > > > > > I need to generate a state machine for a web application developed >using > > > > ruby on rails. For this purpose, I need to dynamically parse the > > >controller > > > > which is a ruby class. Is there a decent parser to parse ruby > > >code???????? > > > > > > > > > >You can use the ParseTree or sydparse gems for this. > > >_______________________________________________ > > >Rubygrammar-grammarians mailing list > > >Rubygrammar-grammarians at rubyforge.org > > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > _________________________________________________________________ > > Don't just search. Find. Check out the new MSN Search! > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > > > _______________________________________________ > > Rubygrammar-grammarians mailing list > > Rubygrammar-grammarians at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > >_______________________________________________ >Rubygrammar-grammarians mailing list >Rubygrammar-grammarians at rubyforge.org >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From wilsonb at gmail.com Mon Dec 4 10:39:28 2006 From: wilsonb at gmail.com (Wilson Bilkovich) Date: Mon, 4 Dec 2006 10:39:28 -0500 Subject: [grammarians] ruby parser In-Reply-To: References: Message-ID: Aah. You will also need a compiler environment, like Visual C++ 6.0, MinGW, or the like. Once those are installed, they will also need to be in your environment. RubyInline requires a C compiler, and Windows doesn't come with one. On 12/4/06, Hanan Mneimneh wrote: > Hello > Thanks again for you reply > > I set up the HOME environmnet. The problem related to setting the home > environment is solved but now it is giving me the following: > WHY????? > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in ``': No > such > file or directory - cl -nologo -LD -Wall -W -Wpointer-arith -Wcast-qual > -Wcast-a > lign -Wwrite-strings -Wmissing-noreturn -Werror -MD -Zi -O2b2xg- -G6 -I > c:/ruby/ > lib/ruby/1.8/i386-mswin32 -o "c:\Documents and > Settings\hanan/.ruby_inline/Inlin > e_ParseTree_a424.so" "c:/Documents and > Settings/hanan/.ruby_inline/Inline_ParseT > ree_a424.c" -link /LIBPATH:"c:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" > /INCRE > MENTAL:no /EXPORT:Init_Inline_ParseTree_a424 (Errno::ENOENT) > from > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in > `build' > from > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:629:in > `inline' > from > c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-1.6.1/lib/parse_tree.rb:20 > 9 > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `ge > m_original_require' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `re > quire' > from printer.rb:4 > > >From: "Wilson Bilkovich" > >Reply-To: Discussion of the Ruby > >grammar > >To: "Discussion of the Ruby grammar" > > > >Subject: Re: [grammarians] ruby parser > >Date: Sun, 3 Dec 2006 18:37:59 -0500 > > > >It works on Windows. You just need to set up a HOME environment > >variable in the System control panel. > >C:\Documents and Settings\YourUser is a decent choice. > > > >On 12/3/06, Hanan Mneimneh wrote: > > > Hello > > > Thanks for your reply > > > > > > I installed Parsetree and rubyinline using rubygem. I am working on > >windows. > > > when i run a ruby program that requires 'parse_tree' it exits with the > > > following message: > > > "Define INLINEDIR or HOME in your environment and try again" > > > > > > Does Parsetree works on linux only can't I work on windows??????? > > > Thanks in advance > > > Hana > > > > > > >From: "Wilson Bilkovich" > > > >Reply-To: Discussion of the Ruby > > > >grammar > > > >To: "Discussion of the Ruby grammar" > > > > > > > >Subject: Re: [grammarians] ruby parser > > > >Date: Sat, 2 Dec 2006 13:27:12 -0500 > > > > > > > >On 12/2/06, Hanan Mneimneh wrote: > > > > > Hello > > > > > > > > > > I need to generate a state machine for a web application developed > >using > > > > > ruby on rails. For this purpose, I need to dynamically parse the > > > >controller > > > > > which is a ruby class. Is there a decent parser to parse ruby > > > >code???????? > > > > > > > > > > > > >You can use the ParseTree or sydparse gems for this. > > > >_______________________________________________ > > > >Rubygrammar-grammarians mailing list > > > >Rubygrammar-grammarians at rubyforge.org > > > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > > > _________________________________________________________________ > > > Don't just search. Find. Check out the new MSN Search! > > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > > > > > _______________________________________________ > > > Rubygrammar-grammarians mailing list > > > Rubygrammar-grammarians at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > >_______________________________________________ > >Rubygrammar-grammarians mailing list > >Rubygrammar-grammarians at rubyforge.org > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > Rubygrammar-grammarians mailing list > Rubygrammar-grammarians at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > From charles.nutter at sun.com Mon Dec 4 15:06:36 2006 From: charles.nutter at sun.com (Charles Oliver Nutter) Date: Mon, 04 Dec 2006 14:06:36 -0600 Subject: [grammarians] ruby parser In-Reply-To: References: Message-ID: <45747FCC.4060504@sun.com> Wilson Bilkovich wrote: > Aah. You will also need a compiler environment, like Visual C++ 6.0, > MinGW, or the like. Once those are installed, they will also need to > be in your environment. RubyInline requires a C compiler, and Windows > doesn't come with one. The JRuby version of ParseTree doesn't require a compile, if using JRuby is an option for you. Why does ParseTree require a compiler? That seems pretty weird. -- Charles Oliver Nutter, JRuby Core Developer Blogging on Ruby and Java @ headius.blogspot.com Help spec out Ruby today! @ www.headius.com/rubyspec headius at headius.com -- charles.nutter at sun.com From mental at rydia.net Mon Dec 4 21:54:42 2006 From: mental at rydia.net (MenTaLguY) Date: Mon, 04 Dec 2006 21:54:42 -0500 Subject: [grammarians] ruby parser In-Reply-To: <45747FCC.4060504@sun.com> References: <45747FCC.4060504@sun.com> Message-ID: <1165287282.7164.7.camel@localhost.localdomain> On Mon, 2006-12-04 at 14:06 -0600, Charles Oliver Nutter wrote: > Why does ParseTree require a compiler? That seems pretty weird. It has to poke at MRI internals from C, and the C bits are inlined using RubyInline, the normal operation of which (though it is possible to use it for AOT compilation) is to build the .so at runtime and then cache it. -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/rubygrammar-grammarians/attachments/20061204/bad1eaca/attachment.bin From hanan_mneimneh at hotmail.com Tue Dec 5 02:48:38 2006 From: hanan_mneimneh at hotmail.com (Hanan Mneimneh) Date: Tue, 05 Dec 2006 09:48:38 +0200 Subject: [grammarians] ruby parser In-Reply-To: Message-ID: Hello I already have visual studio c++ 6.0 installed on my computer. Is there anything else that I need to do with it. What do you mean it needs to be in your environmnet? Thanks in advance >From: "Wilson Bilkovich" >Reply-To: Discussion of the Ruby >grammar >To: "Discussion of the Ruby grammar" > >Subject: Re: [grammarians] ruby parser >Date: Mon, 4 Dec 2006 10:39:28 -0500 > >Aah. You will also need a compiler environment, like Visual C++ 6.0, >MinGW, or the like. Once those are installed, they will also need to >be in your environment. RubyInline requires a C compiler, and Windows >doesn't come with one. > >On 12/4/06, Hanan Mneimneh wrote: > > Hello > > Thanks again for you reply > > > > I set up the HOME environmnet. The problem related to setting the home > > environment is solved but now it is giving me the following: > > WHY????? > > > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in ``': >No > > such > > file or directory - cl -nologo -LD -Wall -W -Wpointer-arith -Wcast-qual > > -Wcast-a > > lign -Wwrite-strings -Wmissing-noreturn -Werror -MD -Zi -O2b2xg- -G6 -I > > c:/ruby/ > > lib/ruby/1.8/i386-mswin32 -o "c:\Documents and > > Settings\hanan/.ruby_inline/Inlin > > e_ParseTree_a424.so" "c:/Documents and > > Settings/hanan/.ruby_inline/Inline_ParseT > > ree_a424.c" -link /LIBPATH:"c:/ruby/lib" >/DEFAULTLIB:"msvcrt-ruby18.lib" > > /INCRE > > MENTAL:no /EXPORT:Init_Inline_ParseTree_a424 (Errno::ENOENT) > > from > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in > > `build' > > from > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:629:in > > `inline' > > from > > c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-1.6.1/lib/parse_tree.rb:20 > > 9 > > from >c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `ge > > m_original_require' > > from >c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `re > > quire' > > from printer.rb:4 > > > > >From: "Wilson Bilkovich" > > >Reply-To: Discussion of the Ruby > > >grammar > > >To: "Discussion of the Ruby grammar" > > > > > >Subject: Re: [grammarians] ruby parser > > >Date: Sun, 3 Dec 2006 18:37:59 -0500 > > > > > >It works on Windows. You just need to set up a HOME environment > > >variable in the System control panel. > > >C:\Documents and Settings\YourUser is a decent choice. > > > > > >On 12/3/06, Hanan Mneimneh wrote: > > > > Hello > > > > Thanks for your reply > > > > > > > > I installed Parsetree and rubyinline using rubygem. I am working on > > >windows. > > > > when i run a ruby program that requires 'parse_tree' it exits with >the > > > > following message: > > > > "Define INLINEDIR or HOME in your environment and try again" > > > > > > > > Does Parsetree works on linux only can't I work on windows??????? > > > > Thanks in advance > > > > Hana > > > > > > > > >From: "Wilson Bilkovich" > > > > >Reply-To: Discussion of the Ruby > > > > >grammar > > > > >To: "Discussion of the Ruby grammar" > > > > > > > > > >Subject: Re: [grammarians] ruby parser > > > > >Date: Sat, 2 Dec 2006 13:27:12 -0500 > > > > > > > > > >On 12/2/06, Hanan Mneimneh wrote: > > > > > > Hello > > > > > > > > > > > > I need to generate a state machine for a web application >developed > > >using > > > > > > ruby on rails. For this purpose, I need to dynamically parse the > > > > >controller > > > > > > which is a ruby class. Is there a decent parser to parse ruby > > > > >code???????? > > > > > > > > > > > > > > > >You can use the ParseTree or sydparse gems for this. > > > > >_______________________________________________ > > > > >Rubygrammar-grammarians mailing list > > > > >Rubygrammar-grammarians at rubyforge.org > > > > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > > > > > _________________________________________________________________ > > > > Don't just search. Find. Check out the new MSN Search! > > > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > > > > > > > _______________________________________________ > > > > Rubygrammar-grammarians mailing list > > > > Rubygrammar-grammarians at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > > > >_______________________________________________ > > >Rubygrammar-grammarians mailing list > > >Rubygrammar-grammarians at rubyforge.org > > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! Download today it's FREE! > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > _______________________________________________ > > Rubygrammar-grammarians mailing list > > Rubygrammar-grammarians at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > >_______________________________________________ >Rubygrammar-grammarians mailing list >Rubygrammar-grammarians at rubyforge.org >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From hanan_mneimneh at hotmail.com Tue Dec 5 08:37:18 2006 From: hanan_mneimneh at hotmail.com (Hanan Mneimneh) Date: Tue, 05 Dec 2006 15:37:18 +0200 Subject: [grammarians] ruby parser In-Reply-To: Message-ID: Hello I Managed to set the environmental variables and everything worked fine. Thanks alot for your Help Hana >From: "Wilson Bilkovich" >Reply-To: Discussion of the Ruby >grammar >To: "Discussion of the Ruby grammar" > >Subject: Re: [grammarians] ruby parser >Date: Mon, 4 Dec 2006 10:39:28 -0500 > >Aah. You will also need a compiler environment, like Visual C++ 6.0, >MinGW, or the like. Once those are installed, they will also need to >be in your environment. RubyInline requires a C compiler, and Windows >doesn't come with one. > >On 12/4/06, Hanan Mneimneh wrote: > > Hello > > Thanks again for you reply > > > > I set up the HOME environmnet. The problem related to setting the home > > environment is solved but now it is giving me the following: > > WHY????? > > > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in ``': >No > > such > > file or directory - cl -nologo -LD -Wall -W -Wpointer-arith -Wcast-qual > > -Wcast-a > > lign -Wwrite-strings -Wmissing-noreturn -Werror -MD -Zi -O2b2xg- -G6 -I > > c:/ruby/ > > lib/ruby/1.8/i386-mswin32 -o "c:\Documents and > > Settings\hanan/.ruby_inline/Inlin > > e_ParseTree_a424.so" "c:/Documents and > > Settings/hanan/.ruby_inline/Inline_ParseT > > ree_a424.c" -link /LIBPATH:"c:/ruby/lib" >/DEFAULTLIB:"msvcrt-ruby18.lib" > > /INCRE > > MENTAL:no /EXPORT:Init_Inline_ParseTree_a424 (Errno::ENOENT) > > from > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:404:in > > `build' > > from > > c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.2/./inline.rb:629:in > > `inline' > > from > > c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-1.6.1/lib/parse_tree.rb:20 > > 9 > > from >c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `ge > > m_original_require' > > from >c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `re > > quire' > > from printer.rb:4 > > > > >From: "Wilson Bilkovich" > > >Reply-To: Discussion of the Ruby > > >grammar > > >To: "Discussion of the Ruby grammar" > > > > > >Subject: Re: [grammarians] ruby parser > > >Date: Sun, 3 Dec 2006 18:37:59 -0500 > > > > > >It works on Windows. You just need to set up a HOME environment > > >variable in the System control panel. > > >C:\Documents and Settings\YourUser is a decent choice. > > > > > >On 12/3/06, Hanan Mneimneh wrote: > > > > Hello > > > > Thanks for your reply > > > > > > > > I installed Parsetree and rubyinline using rubygem. I am working on > > >windows. > > > > when i run a ruby program that requires 'parse_tree' it exits with >the > > > > following message: > > > > "Define INLINEDIR or HOME in your environment and try again" > > > > > > > > Does Parsetree works on linux only can't I work on windows??????? > > > > Thanks in advance > > > > Hana > > > > > > > > >From: "Wilson Bilkovich" > > > > >Reply-To: Discussion of the Ruby > > > > >grammar > > > > >To: "Discussion of the Ruby grammar" > > > > > > > > > >Subject: Re: [grammarians] ruby parser > > > > >Date: Sat, 2 Dec 2006 13:27:12 -0500 > > > > > > > > > >On 12/2/06, Hanan Mneimneh wrote: > > > > > > Hello > > > > > > > > > > > > I need to generate a state machine for a web application >developed > > >using > > > > > > ruby on rails. For this purpose, I need to dynamically parse the > > > > >controller > > > > > > which is a ruby class. Is there a decent parser to parse ruby > > > > >code???????? > > > > > > > > > > > > > > > >You can use the ParseTree or sydparse gems for this. > > > > >_______________________________________________ > > > > >Rubygrammar-grammarians mailing list > > > > >Rubygrammar-grammarians at rubyforge.org > > > > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > > > > > _________________________________________________________________ > > > > Don't just search. Find. Check out the new MSN Search! > > > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > > > > > > > > _______________________________________________ > > > > Rubygrammar-grammarians mailing list > > > > Rubygrammar-grammarians at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > > > >_______________________________________________ > > >Rubygrammar-grammarians mailing list > > >Rubygrammar-grammarians at rubyforge.org > > >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > > > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! Download today it's FREE! > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > _______________________________________________ > > Rubygrammar-grammarians mailing list > > Rubygrammar-grammarians at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians > > >_______________________________________________ >Rubygrammar-grammarians mailing list >Rubygrammar-grammarians at rubyforge.org >http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/