Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Opal
Ruby 💛 JavaScript
Collective -
Host: opensource -
https://opencollective.com/opal
- Website: https://opalrb.com
- Code: https://github.com/opal/opal
github.com/opal/opal - 4e8d7fd92e576fafa571f9855136dd15e1dfb71a authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - edb34fce50424414f9d0f792d0d9be085cb8e2ec authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 9014f8a4596aca4db60aff9409ea8807396a2c22 authored about 3 years ago by hmdne <[email protected]>
127
fails "String#each_line splits strings containing multibyte characters" # Expected ["foo\n",...
resolves #2348 preserve UNC path prefix on File#join (Node.js impl)
github.com/opal/opal - 4e3c275dfbc852ee925f729240b0343fd5a69127 authored about 3 years ago by Elia Schito <[email protected]>github.com/opal/opal - 2684892068feeb26df6a78343f7508ae7b00a5d1 authored about 3 years ago by Guillaume Grossetie <[email protected]>
Generated code optimization
github.com/opal/opal - e14c3ecb780dfa77f10777e4e005c9be7173a600 authored about 3 years ago by hmdne <[email protected]>the `else` branch had the same code.
github.com/opal/opal - 37800c52b08ad1bcd0ff353721753ef1af1dd7f4 authored about 3 years ago by Elia Schito <[email protected]>This is a small one. But this is the last one in this patch series. Let's conclude it with compi...
github.com/opal/opal - fb6f33d6d09591f487d55f72799a587df3dbff96 authored about 3 years ago by hmdne <[email protected]>What do we do with strings like `"aaaa#{true}"` (also called dstrs)?
Of course, we compile them...
github.com/opal/opal - 43787511cdc9416ceb272292ad7b4520090ab6c8 authored about 3 years ago by hmdne <[email protected]>I came upon an idea, that the `$$` method can be curried. Of course, this moves its definition f...
github.com/opal/opal - 57b02ef8fc9e21428199bad98fb84697d691e9f9 authored about 3 years ago by hmdne <[email protected]>Sometimes though, we don't even need `$nesting` to be computed. If our class is small, doesn't h...
github.com/opal/opal - 965806b9cbd5bd02d91c58ea0e134adee33a3573 authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - 02b9a7a5402be74e7710199b12dbc810ced983a1 authored about 3 years ago by hmdne <[email protected]>
What is `$$$` - I explained in one of the earlier parts. But what is `$$` - I haven't. This is a...
github.com/opal/opal - 935ec5ce62d4a8e4c693b27decdf3ea316627f6c authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - aaf373c84c9c120345b482da46de37351f20747d authored about 3 years ago by hmdne <[email protected]>
How does `#method_missing` work on Opal? In JavaScript there's no facility for that. Well - we d...
github.com/opal/opal - 628fceaaffa492b0eec71d7ee53d271026c7e120 authored about 3 years ago by hmdne <[email protected]>Avoid recursing to get to it.
github.com/opal/opal - be5d3f87e46526475f49e82045f9bb3a19c2642b authored about 3 years ago by hmdne <[email protected]>
In case we encounter a recv or expr, let's try to create
a ternary operator. This should provide...
`eval` in JavaScript is considered harmful. Let's at least use a different facility to support R...
github.com/opal/opal - 61850baa8ccfdea916745191806f7a8d7bccb061 authored about 3 years ago by hmdne <[email protected]>Some libraries (like `parser`) happen to use `||` a lot. For each usage, we generate a new `$ret...
github.com/opal/opal - 22cdaca833d725465685bedf2c6a48bcc3df5949 authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - 53fb8cfb0c0a75f3f7743ba94bb049ecbd8f2fe4 authored about 3 years ago by hmdne <[email protected]>
In compiled Asciidoctor I found a lot of dynamic regexps. And we define them by `Opal.regexp([a,...
github.com/opal/opal - b02ca70c1d8e6fde9d87ef2d67d76c39a08b7674 authored about 3 years ago by hmdne <[email protected]>
Opal doesn't support mutable strings (we have a plan to support them
in the near future!) - and ...
github.com/opal/opal - 83fb1d77f648eefe17f13535b7e5cd8f7a16c269 authored about 3 years ago by hmdne <[email protected]>
For two reasons, we set `@variables` to `nil` by default if they are referenced. The first reaso...
github.com/opal/opal - 3fe2e725cd4ce33c94efea2fe9544bbaff091930 authored about 3 years ago by hmdne <[email protected]>Why do we use things like `$$a.$$p`? Well - you may not know, if you aren't too familiar with Op...
github.com/opal/opal - 0782566bc126e9f0099a4b015878d92f93c1628b authored about 3 years ago by hmdne <[email protected]>Go for the fast-path in the corelib.
github.com/opal/opal - e0f16c5d264fe3bf8d0227b143d3ff4a0c8f0400 authored about 3 years ago by hmdne <[email protected]>Back to our `def a(&block)` empty method. Can we optimize this part even further?
```javascript...
github.com/opal/opal - 105ff239d2a3a1aa79075991f8bf722e5b0f98f7 authored about 3 years ago by hmdne <[email protected]>We use those calls a lot for extracting Ruby rest arguments from the `arguments` array-like obje...
github.com/opal/opal - 464e2c14ccc0f8ddd8e85d127a38620e7f4a818c authored about 3 years ago by hmdne <[email protected]>Ok - let's take this expression:
```ruby
true unless false
```
What will it compile to?
```ja...
github.com/opal/opal - eef6cee0b58c7c728fedf0a1d7961302beee50f8 authored about 3 years ago by hmdne <[email protected]>What does `::String` compile into? Of course into `$$$("::", "String")`. Why? `"::"` is a specia...
github.com/opal/opal - 5f48bf0e3feb9e0ed77deece362c2b193311dda6 authored about 3 years ago by hmdne <[email protected]>
* Optimize calls like ::Opal.coerce_to[?!] by adding a special case to ConstNode
* Make corelib ...
Do empty classes happen a lot? Well - they do. Mostly when you define exceptions. Like we do:
`...
github.com/opal/opal - 87cc376f8e74d36cead1517f8663bd9cf1009161 authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - 8b86963fa410f07d0f286d29a8a5b3ffa2d559a1 authored about 3 years ago by hmdne <[email protected]>
What does "helperize" mean? Well - in Opal compiler we may make a
statement `helper :def` to gen...
But why can't `Opal.def` itself return 'a'? If it does, we would be able to get to this form:
`...
github.com/opal/opal - 2fc7069bb46635b010d77613313e0ffd3099ab89 authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - a1352587c43835bdbbd03833a9af2494c77e0e7a authored about 3 years ago by Elia Schito <[email protected]>
Ok, now for a very simple function:
```ruby
def a(&block)
end
```
You may wonder, what does th...
github.com/opal/opal - 1df4550d3a6a65c381eb4dba5d0e533897332d5e authored about 3 years ago by hmdne <[email protected]>The previous versions of Ruby tended to return `nil` for method definition, but later changed to...
github.com/opal/opal - 715d84aea99e2c5b8361de34c120fa45d100fc22 authored about 3 years ago by hmdne <[email protected]>
In Opal, we always alias `this` to `self`. But, let's consider the
following code. Do we really ...
github.com/opal/opal - cca7c7fa044e1bb8a46dd50862c5a378d3a16b8d authored about 3 years ago by Elia Schito <[email protected]>
Fix defining multiple methods with the same block
github.com/opal/opal - 2142f71b03367bdc029065d09cd6bdd17085cc18 authored about 3 years ago by Elia Schito <[email protected]>Implement `chomp` option for `String#each_line` and `#lines`
github.com/opal/opal - 7a800db7142a59bcb8720770ef8c6626e653c806 authored about 3 years ago by Elia Schito <[email protected]>Don't lock Bundler version
github.com/opal/opal - 1503448f54a6451bf6df87a762a3ad76c367795a authored about 3 years ago by hmdne <[email protected]>This aims to fix the CI for Ruby <3.0.
github.com/opal/opal - 63fcd450d40ccb436464a5e7adc4a1e8d94f2e0d authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - b1636713ac29e0eded83ed69c648322fd747cfe0 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - b3eacf425ab2192a2042a5313e38c58e8d1f210c authored about 3 years ago by Elia Schito <[email protected]>
Stop interpreting falsey values as a missing constant in `Module#const_get`
github.com/opal/opal - f4d05e2a6c5f40afae7c8bd75f1eecd2360ee783 authored about 3 years ago by Elia Schito <[email protected]>Do not modify `$~` when calling `String#scan` from internal methods
github.com/opal/opal - b58067a38256aa663fb95fbcc2416b40b4a0dd1b authored about 3 years ago by Elia Schito <[email protected]>Raise an error if not a string is passed to __send__
github.com/opal/opal - 36a43bc1c779e22fee59c2d1622cd907bfbcc98f authored about 3 years ago by Elia Schito <[email protected]>Fix IO#gets
github.com/opal/opal - 2bd5f6662dc005bb548dc71cc57cab1f0931c8d6 authored about 3 years ago by Elia Schito <[email protected]>Update documentation
github.com/opal/opal - dfbbc6c3cf77df9e239828822c3d123d47583ee0 authored about 3 years ago by Elia Schito <[email protected]>
This commit fixes a regression introduced by 9d3a43d. In runtime,
const_get_name had a check lik...
Allow String#scan to be called with a private kwarg `no_matchdata`,
which ensures that `$~` isn'...
github.com/opal/opal - 89f4477a261f1f34c814539a758dc21403c585b9 authored about 3 years ago by Takuya Aramaki <[email protected]>
github.com/opal/opal - 2cbb034930d9144b7966aa0a169ffadf9c25b466 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - e9fe29065521bcf3cf73ddba3d02da2cc92fe4f2 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 796638b5221c1d1fb39dce22d7b26ef28903ee9b authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 4d2e40dbc1fac0ce5f742a9b66a4134a866db941 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - c31e93b0c869d132d3e97abe6bbf14bc93baa74a authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 29d54f93901e2e1c280ea591e2fb2824eee82759 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - db72f9480ca7b16fbb02f22a18789941e1d599da authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 481e7f4fb0f5dd00fe1ff0187d432324a0674886 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 4d355616b415d411813769bbd4995bff470d2c9d authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - c7334245b74af3a1cfb7b8ecf90edf5098e83aed authored about 3 years ago by hmdne <[email protected]>
Especially when using `super`.
github.com/opal/opal - 3eacd508eb55daa34198330bf6820579428d845d authored about 3 years ago by Elia Schito <[email protected]>github.com/opal/opal - 9af19864c34986b61a2fb6c4a476cec16c1f70b1 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 9cb891c59181decedbf913f57b60c549b0933c5e authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 16a7f9af2b9a40a0fd95bac38b931366fe5d7a1e authored about 3 years ago by Elia Schito <[email protected]>
Under certain circumstances gets was getting one more character.
I added extensive tests to find...
github.com/opal/opal - a1f4086e8ef73b75d671730c1cd733980d2f0d1b authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 6ad0f920e49df8e3f280286f01b2f0993f47d759 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 3bd0d89c88dc59f4b6605395d7bac0c57fc8e763 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 771b686f0bdf2887b5104d6cd96135a9ee3bf713 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 9c8ea6dd03949c8519806661924d53a49f7d459b authored about 3 years ago by Elia Schito <[email protected]>
Fix a few Opal.yield1 issues
github.com/opal/opal - b9279ca72c4de21c9e3680aa6ffb328c682ab341 authored about 3 years ago by Elia Schito <[email protected]>Chrome runner touches
github.com/opal/opal - e9d8538487ce34ce89ff68f60f09a7a63690028f authored about 3 years ago by Elia Schito <[email protected]>Implement Proc#binding correctly
github.com/opal/opal - 314c9b8f76d8124e47b420e31edd1ef7d003605e authored about 3 years ago by Elia Schito <[email protected]>Fixes #1660.
github.com/opal/opal - c99cf37e6e4c1fdf7d3dd0fc85aed72d05e823f4 authored about 3 years ago by hmdne <[email protected]>Fixes #1611.
github.com/opal/opal - d0a6db52f9f3d693880849ba7f2de569660d6faf authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - 9520d8d444938ca37bf83089ce22b92e2b922587 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 82e1e8bc3b27762a855f07846703b8bdf4e08754 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 62091cb2738c5b68b64bd2f1edc53b9989217942 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 070e99bc9eaa9094f365affdb7e1e29b97c425ee authored about 3 years ago by hmdne <[email protected]>
Fix opal-repl execution - we used bundle exec
github.com/opal/opal - ac609eed79935711305c957ee6914369391e3bf7 authored about 3 years ago by Elia Schito <[email protected]>github.com/opal/opal - 641ccc1f75e58a61c6918ab708f7c06008eff2d4 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 141400a1c4192c59082d086cc90687f85f71f631 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 7a2b1eefbf95dcb1a5601711c6e8d51e6e326efd authored about 3 years ago by Elia Schito <[email protected]>
require must return a result
github.com/opal/opal - b4574826fce0cb85d9bab36d8c5cfe48fabbe8db authored about 3 years ago by Elia Schito <[email protected]>github.com/opal/opal - ddd4a0756e44bdc4990ccad354bcac192c010f66 authored about 3 years ago by Jan Biedermann <[email protected]>
Update UNRELEASED.md
github.com/opal/opal - 6d50787603f4290bd0e11041e33e3a7d62555d04 authored about 3 years ago by hmdne <[email protected]>github.com/opal/opal - cb1d64c560322ecab328dd0f2b72a940f33502b6 authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - 02cd6292df3e95b55dad9045564cf54a2e5c3abb authored about 3 years ago by hmdne <[email protected]>
github.com/opal/opal - f7db8c230a28c40ceb2b216b0ccac25bbb468655 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - 9f0fba4028d8cd0b50f84156df48741648477a5a authored about 3 years ago by Elia Schito <[email protected]>
Autoload refinement
github.com/opal/opal - ebbeae15ad7bbe68f024b729282a56d9e4993d7f authored about 3 years ago by Elia Schito <[email protected]>Small Chrome runner fixes
github.com/opal/opal - 6427b6cd885048988560126b0c886e784509962d authored about 3 years ago by Elia Schito <[email protected]>Opal-in-Opal - lite version
github.com/opal/opal - 3d2e03415a849e462f3d6bcfc783c0c96017ec2e authored about 3 years ago by Elia Schito <[email protected]>github.com/opal/opal - ffe0dff94b3967792b92508bb6b506a2892ac027 authored about 3 years ago by Elia Schito <[email protected]>
github.com/opal/opal - c4261907c9d954616aa022a12dd64f456608eeca authored about 3 years ago by Elia Schito <[email protected]>