[grammarians] ruby parser

Hanan Mneimneh hanan_mneimneh at hotmail.com
Tue Dec 5 08:37:18 EST 2006


Hello

I Managed to set the environmental variables and everything worked fine.
Thanks alot for your Help
Hana



>From: "Wilson Bilkovich" <wilsonb at gmail.com>
>Reply-To: Discussion of the Ruby 
>grammar<rubygrammar-grammarians at rubyforge.org>
>To: "Discussion of the Ruby grammar" 
><rubygrammar-grammarians at rubyforge.org>
>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 <hanan_mneimneh at hotmail.com> 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" <wilsonb at gmail.com>
> > >Reply-To: Discussion of the Ruby
> > >grammar<rubygrammar-grammarians at rubyforge.org>
> > >To: "Discussion of the Ruby grammar"
> > ><rubygrammar-grammarians at rubyforge.org>
> > >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 <hanan_mneimneh at hotmail.com> 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" <wilsonb at gmail.com>
> > > > >Reply-To: Discussion of the Ruby
> > > > >grammar<rubygrammar-grammarians at rubyforge.org>
> > > > >To: "Discussion of the Ruby grammar"
> > > > ><rubygrammar-grammarians at rubyforge.org>
> > > > >Subject: Re: [grammarians] ruby parser
> > > > >Date: Sat, 2 Dec 2006 13:27:12 -0500
> > > > >
> > > > >On 12/2/06, Hanan Mneimneh <hanan_mneimneh at hotmail.com> 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/



More information about the Rubygrammar-grammarians mailing list