summaryrefslogtreecommitdiff
path: root/prism/templates
AgeCommit message (Collapse)Author
2023-11-01[ruby/prism] More Ruby docsKevin Newton
https://github.com/ruby/prism/commit/ca9a660f52
2023-11-01[ruby/prism] Docs for node.rb and parse_result.rbKevin Newton
https://github.com/ruby/prism/commit/085da4feb9
2023-11-01[ruby/prism] Add comments on flagsKevin Newton
https://github.com/ruby/prism/commit/3abd09c803
2023-11-01[ruby/prism] Fix up Ruby docsKevin Newton
https://github.com/ruby/prism/commit/8062849d0d
2023-10-31[ruby/prism] Share comment generation logicKevin Newton
https://github.com/ruby/prism/commit/6e5556dbdf
2023-10-30[prism] Update prism to latestKevin Newton
2023-10-30[ruby/prism] Improve comment generation in templatesUfuk Kayserilioglu
The existing comment generation was hard to read and was making a lot of string manipulation. However, ERB files are already designed to do string manipulation, so we can use that instead. So, instead of doing a split and a map, I opted to use the `#each_line` method to iterate over the lines of the file. Also, in order to add an optional space padding at the beginning of the line, I opted to pad it with a space and to then right trim it. This makes sure that no space is left behind if the line is empty, but a space is added if the line is not empty. https://github.com/ruby/prism/commit/5736711e70
2023-10-27[ruby/prism] Prism.parse_inline_commentsKevin Newton
https://github.com/ruby/prism/commit/5b72f84480
2023-10-27[ruby/prism] Use printf attribute and then fix warningsKevin Newton
https://github.com/ruby/prism/commit/3193902c43
2023-10-27[ruby/prism] Add rbi_class to fieldsVinicius Stock
https://github.com/ruby/prism/commit/568fb39e2c
2023-10-27[ruby/prism] Add RBI and RBS templates for PrismVinicius Stock
https://github.com/ruby/prism/commit/b62305ff3e Co-authored-by: Stan Lo <st0012@users.noreply.github.com>
2023-10-26[ruby/prism] Regenerate snapshotsKevin Newton
https://github.com/ruby/prism/commit/160df9a687
2023-10-26[ruby/prism] Match existing Ruby prettyprintKevin Newton
https://github.com/ruby/prism/commit/6d8358c083
2023-10-26[ruby/prism] Get general prettyprint structure workingKevin Newton
https://github.com/ruby/prism/commit/7c9cf63d4c
2023-10-26[ruby/prism] Split Prism::Loader#load_node in one lambda per node typeBenoit Daloze
* Otherwise load_node is too big to compile and is forced to run in interpreter: https://github.com/oracle/truffleruby/issues/3293#issuecomment-1759730996 * For the benchmark at https://github.com/oracle/truffleruby/issues/3293#issuecomment-1759790280 TruffleRuby Native 23.1.0: Before: 10.574041 After: 5.592436 JRuby 9.4.3.0: Before: 7.037780 After: 3.995317 JRuby 9.4.3.0 -Xcompile.invokedynamic=true: Before: 7.047832 After: 2.269294 https://github.com/ruby/prism/commit/a592ec346a
2023-10-26[ruby/prism] Compile with WASIKevin Newton
https://github.com/ruby/prism/commit/73c44b0b9c
2023-10-23[ruby/prism] Exclude comments when only serializing semantic fieldsBenoit Daloze
https://github.com/ruby/prism/commit/6f4fab362e
2023-10-18[ruby/prism] Bump to version 0.15.1Kevin Newton
https://github.com/ruby/prism/commit/d906a8ceba
2023-10-18[ruby/prism] Bump to version 0.15.0Kevin Newton
https://github.com/ruby/prism/commit/ee429f8d50
2023-10-18[ruby/prism] Extract out constant pool bucket bits to constantsKevin Newton
https://github.com/ruby/prism/commit/1985a9ba51
2023-10-18[ruby/prism] Provide "constant" constants, embedded in the codeKevin Newton
https://github.com/ruby/prism/commit/d469a56e7e
2023-10-16[ruby/prism] Attach magic comments to the parse resultKevin Newton
https://github.com/ruby/prism/commit/c7ef25a79a
2023-10-13[ruby/prism] Make PM_NODE_FLAG_COMMON_MASK into a constantKevin Newton
https://github.com/ruby/prism/commit/ec66feb595
2023-10-13[ruby/prism] Bump version to 0.14.0Kevin Newton
https://github.com/ruby/prism/commit/1731bf4520
2023-10-13[ruby/prism] Move common flags to top bitseileencodes
Moves the common flag bits to the top. This lets us eliminate the `COMMON` constant, and also allows us to group encoding flags on a nibble so we can more easily mask them. https://github.com/ruby/prism/commit/895508659e
2023-10-13[ruby/prism] Remove now-defunct semantic_field from nodesKevin Newton
https://github.com/ruby/prism/commit/c82a9dad64
2023-10-11[ruby/prism] Add Node::typeKevin Newton
https://github.com/ruby/prism/commit/ca4943e3f9
2023-10-04[ruby/prism] give flag enums a non-`typedef`'d nameNathan Froyd
https://github.com/ruby/prism/commit/630af5cb0e
2023-10-02Sync with prism CallNode#name changesBenoit Daloze
* https://github.com/ruby/prism/pull/1533
2023-09-29[ruby/prism] Bump versionKevin Newton
https://github.com/ruby/prism/commit/3e44415ca2
2023-09-29[ruby/prism] Add a type method for quick comparisonKevin Newton
https://github.com/ruby/prism/commit/0c7d9c3c01
2023-09-27[ruby/prism] rearrange the constant pool so IDs can be used for indexingNathan Froyd
https://github.com/ruby/prism/commit/6f243de0c7
2023-09-27Sync to prism rename commitsKevin Newton
2023-09-27Rename YARP filepaths to prism filepathsKevin Newton