From: Matthias Georgi Date: 2006-03-05T04:08:43+09:00 Subject: Re: Ruby on the mobile? ts schrieb: > NODE* > rb_compile_file(f, file, start) > const char *f; > VALUE file; > int start; > { > lex_gets = rb_io_gets; > lex_input = file; > lex_pbeg = lex_p = lex_pend = 0; > ruby_sourceline = start - 1; > > return yycompile(f, start); > } > > See the VALUE file and rb_io_gets() > > > Guy Decoux Thanks Guy! Replacing rb_io_gets with something aquivalent shouldn't be too hard. Alternatively the interpreter has the opportunity to eval ruby strings, which are loaded without the File class.