| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/prism/commit/9f12a56fd6
|
|
Follow up https://github.com/ruby/prism/commit/1a2626be275d
https://github.com/ruby/prism/commit/8174aac929
|
|
ruby/ruby measures test coverage of C code, but the `#line` directive
generated by prism points to a file that does not exist, so coverage is
not taken properly.
This changeset specifies the location of the source files as a relative
path in terms of ruby/ruby repo.
https://github.com/ruby/prism/commit/1a2626be27
|
|
https://github.com/ruby/prism/commit/283938ed1f
|
|
https://github.com/ruby/prism/commit/7784365d3f
|
|
https://github.com/ruby/prism/commit/168f72b9fe
|
|
over node lists
https://github.com/ruby/prism/commit/5d4da7c69c
|
|
https://github.com/ruby/prism/commit/592128de4d
|
|
namespace
https://github.com/ruby/prism/commit/0e4dbcd3e4
|
|
https://github.com/ruby/prism/commit/537947aa5c
|
|
- Add `x` prefix to malloc, calloc, realloc, and free
(eg: malloc -> xmalloc)
- By default, they are replaced with stdlib's functions at build
- You can use custom functions by defining `PRISM_CUSTOM_ALLOCATOR` macro
https://github.com/ruby/prism/commit/7a878af619
|
|
https://github.com/ruby/prism/commit/959eb506ca
|
|
https://github.com/ruby/prism/commit/fa9a30ad91
|
|
https://github.com/ruby/prism/commit/3e10c46c14
|
|
https://github.com/ruby/prism/commit/9137226a52
|
|
|
|
https://github.com/ruby/prism/commit/120d8c0479
|
|
https://github.com/ruby/prism/commit/d3a149efc5
|
|
https://github.com/ruby/prism/commit/851f2571ff
|
|
Previously numbered parameters were a field on blocks and lambdas
that indicated the maximum number of numbered parameters in either
the block or lambda, respectively. However they also had a
parameters field that would always be nil in these cases.
This changes it so that we introduce a NumberedParametersNode that
goes in place of parameters, which has a single uint8_t maximum
field on it. That field contains the maximum numbered parameter in
either the block or lambda.
As a part of the PR, I'm introducing a new UInt8Field type that
can be used on nodes, which is just to make it a little more
explicit what the maximum values can be (the maximum is actually 9,
since it only goes up to _9). Plus we can do a couple of nice
things in serialization like just read a single byte.
https://github.com/ruby/prism/commit/2d87303903
|
|
https://github.com/ruby/prism/commit/69323d3df4
|
|
https://github.com/ruby/prism/commit/857f72e1f4
|
|
|
|
|