Roland Levillain <roland(a)lrde.epita.fr> writes:
> "Nicolas Pouillard" <nicolas.pouillard(a)gmail.com> writes:
>
>> essaye de revenir à activesupport 1.2.5
>
> J'ai l'impression que ça n'a pas changé grand'chose :
>
> brasilia ~ % vcs-svn 16:07 #235
> /usr/lib/ruby/gems/1.8/gems/core_ex-0.5.6.2/lib/core_ex/lazy_loading.rb:120:in `result': uninitialized constant Commands::Runners::Runner::Datas (NameError)
> from /usr/lib/ruby/gems/1.8/gems/core_ex-0.5.6.2/lib/core_ex/lazy_loading.rb:71:in `load'
> from /usr/lib/ruby/gems/1.8/gems/core_ex-0.5.6.2/lib/core_ex/lazy_loading.rb:133:in `load'
> from /usr/lib/ruby/gems/1.8/gems/core_ex-0.5.6.2/lib/core_ex/lazy_loading.rb:149:in `const_missing'
> from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/binding_of_caller.rb:80:in `of_caller'
> from /usr/lib/ruby/gems/1.8/gems/core_ex-0.5.6.2/lib/core_ex/lazy_loading.rb:147:in `const_missing'
> from /usr/lib/ruby/gems/1.8/gems/ruby_ex-0.4.6.2/lib/commands/runners/runner.rb:42:in `initialize'
> from /usr/lib/ruby/gems/1.8/gems/ruby_ex-0.4.6.2/lib/concrete.rb:18:in `new'
> from /usr/lib/ruby/gems/1.8/gems/ruby_ex-0.4.6.2/lib/uri/generic_ex.rb:37
> ... 29 levels...
> from /usr/lib/ruby/gems/1.8/gems/vcs-0.5.2.4/bin/../lib/vcs/app.rb:17
> from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
> from /usr/lib/ruby/gems/1.8/gems/vcs-0.5.2.4/bin/vcs-svn:7
> from /usr/bin/vcs-svn:18
La ligne où Ruby échoue est indiquée ci-dessous :
class LazyLoader
# ...
def result
if succeeded?
return @result
else
-> return @module.original_core_ex_const_missing(const)
end
end
# ...
end
J'ai l'impression que c'est core_ex le coupable, mais j'ai pas eu le
temps d'investiguer plus loin.
>>> "SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
> https://svn.lrde.epita.fr/svn/xrm/trunk
> Index: ChangeLog
> from SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr>
> Use --verbose instead of --statistics.
> This cancels the note of the previous commit.
What made you change your mind? Efficiency?
>>> "SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
> https://svn.lrde.epita.fr/svn/xrm/trunk
> Index: ChangeLog
> from SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr>
> Add RIVF's equivalent in XRM meta-code.
> Usage: xrm-front -i rivf.xpm -o rivf.pm -D
> -D stands for --desugar (it will add an additional pass after the
> main pipeline to desugar as much as possible everything and perform
> constant propagation). This is completely optional.
> One thing has been omitted here: support for battery_mode=0 (which is
> basically the same thing but without bothering with b[x][y] and
> without having to check at every update whether or not we should go
> in the OFF state because we run out of power). I omitted this for the
> sake of clarity although it's fairly straightforward to add it (since
> it's only a matter of commenting out some lines).
It is really nice. However, the M4 solution remains clearer IMHO.
Functions will be most welcome.