summaryrefslogtreecommitdiff
path: root/prism
AgeCommit message (Collapse)Author
2024-01-19[ruby/prism] Extract identifier lexing documentation to separate fileMatthew Healy
https://github.com/ruby/prism/commit/c9df17e3c0
2024-01-19[ruby/prism] Remove non-ASCII examples from ReadNode fields documentationMatthew Healy
This is due to a constraint, enforced in `templates/template.rb`, relating to non-UTF-8 locales prohibiting non-ASCII characters in C source files. https://github.com/ruby/prism/commit/74e9a890be
2024-01-19[ruby/prism] Document ConstantReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/a1623f6451
2024-01-19[ruby/prism] Document LocalVariableReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/5e9afd3729
2024-01-19[ruby/prism] Document NumberedReferenceReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/c3148b4519
2024-01-19[ruby/prism] Document BackReferencedReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/99a5660623
2024-01-19[ruby/prism] Document GlobalVariableReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/5d092e6389
2024-01-19[ruby/prism] Document ClassVariableReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/23ed81dd15
2024-01-19[ruby/prism] Document InstanceVariableReadNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/c0747103b0
2024-01-19[ruby/prism] Use inttypes for more accurate printf formattingKevin Newton
https://github.com/ruby/prism/commit/2a22b9b72f
2024-01-17[ruby/prism] Document order of scopes in parsing optionsAndrew Konchin
https://github.com/ruby/prism/commit/908e92a695
2024-01-17[ruby/prism] Guard 3.3.0 for pinned itTakashi Kokubun
https://github.com/ruby/prism/commit/9778377b12 Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-17[ruby/prism] Fix => ^itTakashi Kokubun
https://github.com/ruby/prism/commit/24a2872b4e
2024-01-17[ruby/prism] Add a documentation about 0itTakashi Kokubun
https://github.com/ruby/prism/commit/313be8e3f7
2024-01-17[ruby/prism] Parse `it` default parameterTakashi Kokubun
https://github.com/ruby/prism/commit/a0c5361b9f
2024-01-17[ruby/prism] Wording in node field commentsKevin Newton
https://github.com/ruby/prism/commit/c9c913ee99
2024-01-17[ruby/prism] Added descriptive commentsnikhilbhatt
https://github.com/ruby/prism/commit/2695ae115d
2024-01-17[ruby/prism] Document AndNode and OrNodenikhilbhatt
https://github.com/ruby/prism/commit/a925856c2b
2024-01-17[ruby/prism] Remove flag gating for 3.3.0 bug fixesKevin Newton
https://github.com/ruby/prism/commit/64baf94271
2024-01-17* expand tabs. [ci skip]git
Please consider using misc/expand_tabs.rb as a pre-commit hook.
2024-01-17[ruby/prism] Fix prism brace association for constant-like method/local callsAdam Hess
https://github.com/ruby/prism/commit/8ca24f263e
2024-01-16[ruby/prism] Provide abstract methods in Prism::NodeKevin Newton
To make typechecking easier. https://github.com/ruby/prism/commit/8f96877d7a
2024-01-16[ruby/prism] Correct the "ambiguous first argument" conditionTSUYUSATO Kitsune
Fix https://github.com/ruby/prism/pull/2182 This change reflects this line: https://github.com/ruby/ruby/blob/6283ae8d369bd2f8a022bb69bc5b742c58529dec/parse.y#L11124. https://github.com/ruby/prism/commit/a52588ff37
2024-01-11[ruby/prism] Fix nested default value errorKevin Newton
https://github.com/ruby/prism/commit/ef26b283de
2024-01-11[ruby/prism] Allow fsl comment to set to falseKevin Newton
https://github.com/ruby/prism/commit/b4db7bb703
2024-01-11[ruby/prism] Exclude encodings that are dynamicKevin Newton
https://github.com/ruby/prism/commit/6749146c0e
2024-01-11[ruby/prism] Provide ability to format errorsKevin Newton
https://github.com/ruby/prism/commit/27985b0e7e
2024-01-10[ruby/prism] Unary symbols that cannot be binary should drop @Kevin Newton
https://github.com/ruby/prism/commit/d139af033f
2024-01-10[ruby/prism] address feedbackAaron Patterson
https://github.com/ruby/prism/commit/ed183ad30c
2024-01-10[ruby/prism] Add a "repeated flag" to parameter nodesAaron Patterson
It's possible to repeat parameters in method definitions like so: ```ruby def foo(_a, _a) end ``` The compiler needs to know to adjust the local table size to account for these duplicate names. We'll use the repeated parameter flag to account for the extra stack space required https://github.com/ruby/prism/commit/b443cb1f60 Co-Authored-By: Kevin Newton <kddnewton@gmail.com> Co-Authored-By: Jemma Issroff <jemmaissroff@gmail.com>
2024-01-09[ruby/prism] Clarify __END__ commentKevin Newton
https://github.com/ruby/prism/commit/3e36d5eabc
2024-01-09[ruby/prism] Fix assertion on spanning heredocsKevin Newton
https://github.com/ruby/prism/commit/e190308845
2024-01-08[ruby/prism] Add missing comment keyMatthew Healy
https://github.com/ruby/prism/commit/723480a107
2024-01-08[ruby/prism] Fix spacing in documentation commentmatthew healy
https://github.com/ruby/prism/commit/8408961e76 Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-08[ruby/prism] Add comments documenting RangeNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/e6aef6499b
2024-01-08[ruby/prism] Clarify keys and values in AssocNode must be non-voidmatthew healy
https://github.com/ruby/prism/commit/0caca53a2c Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-08[ruby/prism] Add comments for AssocSplatNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/a0fd874848
2024-01-08[ruby/prism] Add comments for AssocNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/fb60072a1e
2024-01-08[ruby/prism] Add comments for HashNode fieldsMatthew Healy
https://github.com/ruby/prism/commit/649e209519
2024-01-08[ruby/prism] Handle parsing a line break in a receiver of a methodKevin Newton
https://github.com/ruby/prism/commit/4d5f43ecbc
2024-01-03[ruby/prism] Include field comments in Java sourceBenoit Daloze
https://github.com/ruby/prism/commit/4a9389f304
2024-01-03[ruby/prism] Fix parsing pinned local variable pattern for numbered parameterTSUYUSATO Kitsune
Fix https://github.com/ruby/prism/pull/2094 The part of `parse_variable_call` for variables was split into a new function `parse_variable` and used it. https://github.com/ruby/prism/commit/4c5fd1a746
2024-01-03[ruby/prism] Better error recovery for content after unterminated heredocKevin Newton
https://github.com/ruby/prism/commit/c2d325a886
2024-01-03[ruby/prism] More spacing in config.ymlKevin Newton
https://github.com/ruby/prism/commit/825ff8b9ec
2024-01-03[ruby/prism] Spacing in config.ymlKevin Newton
https://github.com/ruby/prism/commit/983561988e
2024-01-03[ruby/prism] Document `IntegerNode` fieldsSanjay Karukamanna
https://github.com/ruby/prism/commit/77280b2807
2024-01-02[ruby/prism] Introduce field commentsKevin Newton
In an effort to further improve our documentation, this commit introduces the concept of templating comments onto fields. I hope to get more documentation above the nuances of specific fields this way going forward. With this, we template the comments into C and Ruby. I haven't done JS or Java yet, but we can touch those in the future, especially once their documentation is published. https://github.com/ruby/prism/commit/af300d5fb3
2024-01-02[ruby/prism] Ignore visibility flagKevin Newton
https://github.com/ruby/prism/commit/55b049ddac
2024-01-02[ruby/prism] Do not add error for forwarding in CRuby 3.3.0Kevin Newton
https://github.com/ruby/prism/commit/a28e57c650
2024-01-02[ruby/prism] Fix to check multiple block arguments for forwarding argTSUYUSATO Kitsune
Fix https://github.com/ruby/prism/pull/2111 https://github.com/ruby/prism/commit/21ca243d0a