Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Kevin Newton 870350253e [ruby/prism] Remove Debug::static_inspect
https://github.com/ruby/prism/commit/486c71c426
2024-05-24 17:19:33 +00:00
Kevin Newton 7021e15652 [ruby/prism] Update duplicated when error message
https://github.com/ruby/prism/commit/54316fd8a0
2024-05-24 12:36:54 -04:00
Kevin Newton 89efb94fec [ruby/prism] Reconfigure rationals
This eliminates the subnode on RationalNode and replaces it with two
integer fields, which represent the ratio for the rational. It also
reduces those two integers if they both fit into 32 bits.

Importantly, this PR does not implement bignum reduction. That's something
I'd like to consider for the future, but it's simple enough for now to
leave them unreduced, which makes it more useful than it used to be.

https://github.com/ruby/prism/commit/86e06c7068
2024-05-21 14:27:46 -04:00
Kevin Newton 7d64fbda53 [ruby/prism] Remove static literals dependence on parser definition
https://github.com/ruby/prism/commit/b3e104e8a2
2024-04-24 19:39:41 +00:00
Kevin Newton 9b97f1f3e8 [ruby/prism] Compare duplicates keys/whens for __FILE__
https://github.com/ruby/prism/commit/85263ade63
2024-03-27 18:57:35 +00:00
Kevin Newton 4dd9602c6f [ruby/prism] Remove ssize_t usage
https://github.com/ruby/prism/commit/64c4f1268b
2024-03-13 16:06:13 +00:00
Kevin Newton 21ea290b34 [ruby/prism] Static literals inspect
https://github.com/ruby/prism/commit/4913d112da
2024-03-12 03:30:50 +00:00
tompng 81f02eb6ba [ruby/prism] Change pm_integer_t structure
https://github.com/ruby/prism/commit/588acf823f
2024-03-07 18:02:33 -05:00
HASUMI Hitoshi b95e2cdca7 [ruby/prism] Additional fix of adding `x` prefix after rebase with main branch
https://github.com/ruby/prism/commit/08733438bd
2024-03-04 16:40:24 +00:00
Kevin Newton cb784082bc [ruby/prism] Better hashing between positive/negative integers
https://github.com/ruby/prism/commit/68ddf08634
2024-02-29 14:53:42 +00:00
Kevin Newton c990cc706c [ruby/prism] Switch static literals to use a hash
https://github.com/ruby/prism/commit/82e6f36e8f
2024-02-28 15:36:16 +00:00
Kevin Newton 8b556d39d2 [ruby/prism] Refactor static literals into hash
https://github.com/ruby/prism/commit/62382d3967
2024-02-28 15:36:15 +00:00
Kevin Newton b9202788f8 [ruby/prism] Refactor pm_node_list_insert to use a binary search
https://github.com/ruby/prism/commit/a060b21e1d
2024-02-23 13:25:31 -05:00
Kevin Newton d1ce989829 [ruby/prism] Duplicated hash keys
https://github.com/ruby/prism/commit/3e10c46c14
2024-02-23 13:25:31 -05:00