opal

Ruby ♥︎ JavaScript

MIT License

Downloads
203
Stars
4.8K
Committers
128

Bot releases are hidden (Show)

opal - v0.5.5

Published by adambeynon almost 11 years ago

  • Fix regression: add %i[foo bar] style words back to lexer

  • Move corelib from opal/core to opal/corelib. This stops files in core/ clashing with user files.

opal - v0.5.4

Published by adambeynon almost 11 years ago

  • Reverted RUBY_VERSION to 1.9.3. Opal 0.6.0 will be the first release for 2.0.0.
opal - v0.5.3

Published by adambeynon almost 11 years ago

  • Opal now targets ruby 2.0.0

  • Named function inside class body now generates with $ prefix, e.g. $MyClass. This makes it easier to wrap/bridge native functions.

  • Support Array subclasses

  • Various fixes to String, Kernel and other core classes

  • Fix Method#call to use correct receiver

  • Fix Module#define_method to call #to_proc on explicit argument

  • Fix super() dispatches on class methods

  • Support yield() calls from inside a block (inside a method)

  • Cleanup string parsing inside lexer

  • Cleanup parser/lexer to use t and k prefixes for all tokens

opal - v0.5.2

Published by adambeynon almost 11 years ago

  • Include native into corelib for 0.5.x
opal - v0.5.1

Published by adambeynon almost 11 years ago

  • Move all corelib under core/ directory to prevent filename clashes with require

  • Move native.rb into stdlib - must now be explicitly required

  • Implement BasicObject#__id__

  • Cleanup and fix various Enumerable methods

opal - v0.5.0

Published by adambeynon almost 11 years ago

  • Optimized_operators is no longer a compiler option
  • Replace Opal.bridge_class() with class Foo < `bar` syntax
  • Expose Opal.bridge_class() for bridging native prototypes
  • Source maps improvements
  • Massive Rubyspec cleanup + passing specs
  • Massive Corelib/Stdlib cleanup + fixes
  • Massive internal cleanup + fixes

See the full diff for more details (almost 800 commits)

opal - v0.4.4

Published by adambeynon about 11 years ago

  • Remove native object method calls
  • Add Struct class
  • Add method stubs as method_missing option, stubs enabled by default
  • Native is now used to wrap native objects directly
  • Fix Hash.new and Hash.allocate for subclasses
  • Generate sourcemaps from fragments
  • Allow blocks to be passed to zsuper (no args) calls
  • Fix yield when given 1 or multiple arguments for block destructuring
opal -

Published by adambeynon about 11 years ago

  • Re-implement class system. Classes are now real objects instead of converted Procs. This allows classes to properly inherit methods from each other.
  • Fix exception hierarchy. Not all standard exception classes were subclassing the correct parent classes, this is now fixed.
  • Move ERB into stdlib. The erb compiler/parser has also been moved into lib/
  • Opal::Builder class. A simple port/clone of sprockets general building. This allows us to build projects similar to the way opal-sprockets does.
  • Move json.rb to stdlib.