| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from class variable nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from global variable nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from index nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from instance variable nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from keyword hash and lambda nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from local variable nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from match predicate node | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from match required node | Kevin Newton | |
| 2024-04-04 | [PRISM] Simplify match write node compilation | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage from module and match write node | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for multi write node | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for next node | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for call operator write node | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for call and/or write node | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for call nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for break nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for block argument nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for begin nodes | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage for PM_BACK_REFERENCE_READ_NODE | Kevin Newton | |
| 2024-04-04 | [PRISM] Remove dummy_line_node usage in pm_interpolated_node_compile | Kevin Newton | |
| 2024-04-03 | [PRISM] Mark constant path owning expressions as not popped | Kevin Newton | |
| 2024-03-29 | [PRISM] Fix BEGIN{} execution order | Kevin Newton | |
| 2024-03-28 | [PRISM] Add debug info for frozen strings | Kevin Newton | |
| 2024-03-28 | [PRISM] Simplify raising load errors | Kevin Newton | |
| 2024-03-28 | [PRISM] Use new -x prism API | Kevin Newton | |
| 2024-03-27 | [PRISM] Set path on syntax error | Kevin Newton | |
| 2024-03-27 | [PRISM] Implicitly change encoding when a UTF-8 BOM is found | Kevin Newton | |
| 2024-03-27 | [PRISM] Match style for invalid encoding error | Kevin Newton | |
| 2024-03-27 | [PRISM] Include file and line in error message | Kevin Newton | |
| 2024-03-27 | [PRISM] Use new error formatting API | Kevin Newton | |
| 2024-03-27 | [PRISM] Pass --enable-frozen-string-literal through to evals | Kevin Newton | |
| 2024-03-27 | [PRISM] Fix ASCII-compatible check for eval encoding | Kevin Newton | |
| 2024-03-26 | [PRISM] Use correct encoding for regular expression literals | Kevin Newton | |
| 2024-03-26 | [PRISM] Better handle interpolated* nodes with inner frozen parts | Kevin Newton | |
| 2024-03-19 | Implement chilled strings | Étienne Barrié | |
| [Feature #20205] As a path toward enabling frozen string literals by default in the future, this commit introduce "chilled strings". From a user perspective chilled strings pretend to be frozen, but on the first attempt to mutate them, they lose their frozen status and emit a warning rather than to raise a `FrozenError`. Implementation wise, `rb_compile_option_struct.frozen_string_literal` is no longer a boolean but a tri-state of `enabled/disabled/unset`. When code is compiled with frozen string literals neither explictly enabled or disabled, string literals are compiled with a new `putchilledstring` instruction. This instruction is identical to `putstring` except it marks the String with the `STR_CHILLED (FL_USER3)` and `FL_FREEZE` flags. Chilled strings have the `FL_FREEZE` flag as to minimize the need to check for chilled strings across the codebase, and to improve compatibility with C extensions. Notes: - `String#freeze`: clears the chilled flag. - `String#-@`: acts as if the string was mutable. - `String#+@`: acts as if the string was mutable. - `String#clone`: copies the chilled flag. Co-authored-by: Jean Boussier <byroot@ruby-lang.org> | |||
| 2024-03-18 | [PRISM] Fix up frozen checks for aref | Kevin Newton | |
| 2024-03-15 | Refactor frozen_string_literal check during compilation | Jean Boussier | |
| In preparation for https://bugs.ruby-lang.org/issues/20205. The `frozen_string_literal` compilation option will no longer be a boolean but a tri-state: `on/off/default`. | |||
| 2024-03-15 | [PRISM] Fix up source file when not frozen | Kevin Newton | |
| 2024-03-15 | Fix compiling shareable constant nodes | Kevin Newton | |
| 2024-03-14 | [PRISM] Fix float in case dispatch | Kevin Newton | |
| 2024-03-14 | Ensure test suite is compatible with --frozen-string-literal | Jean Boussier | |
| As preparation for https://bugs.ruby-lang.org/issues/20205 making sure the test suite is compatible with frozen string literals is making things easier. | |||
| 2024-03-13 | [PRISM] Handle ambiguous_param0 for it and numbered parameters | Kevin Newton | |
| 2024-03-13 | Handle nth ref too big | Kevin Newton | |
| 2024-03-13 | [PRISM] Static literal strings should be fstrings | Kevin Newton | |
| 2024-03-13 | [PRISM] Fix compiling duplicated keywords | Kevin Newton | |
| 2024-03-13 | [PRISM] Handle parentheses in patterns in prism | Kevin Newton | |
| 2024-03-11 | [PRISM] Parse stdin on CLI with prism | Kevin Newton | |
| 2024-03-07 | [PRISM] Use new integer logic | Kevin Newton | |
| 2024-03-05 | [DOC] fix some comments | cui fliter | |
| Signed-off-by: cui fliter <imcusg@gmail.com> | |||
| 2024-02-28 | [PRISM] Handle implicit flip-flop bounds checking against $. | Kevin Newton | |
