Questions tagged [opal-compiler]

The Opal compiler is a flexible Smalltalk-to-Bytecode compiler for Pharo programming language and environment

The Opal compiler is a flexible Smalltalk-to-Bytecode compiler for Pharo programming language and environment.

Features of Opel:

  • Support for full block closures.
  • Easy to understand and modify.
  • Based on the AST of the Refactoring Engine.
  • Retargable Backend

There is a paper describing Opal compiler.

2 questions
3
votes
0 answers

Ruby initialize method not throwing wrong number of arguments error

I have setup IRB for my Rails application. I have used following gems gem 'sprockets-rails', '<= 3.0.0' gem 'opal' gem 'opal-rails', '0.8.0' gem 'opal-jquery' gem 'opal-browser' gem 'opal-irb', github: 'fkchang/opal-irb', require:…
1
vote
1 answer

Result of method compilation

When using SomeClass compile: someSourceString the symbol containing method's name is returned. Is there any reason why not an instance of CompiledMethod is returned? There are couple of tests like: tutu compile: 'foo'. self deny: (tutu >> #foo)…
Uko
  • 13,134
  • 6
  • 58
  • 106