prism

Prism Ruby parser (by ruby)

Prism Alternatives

Similar projects and alternatives to prism

  1. ruby

    200 prism VS ruby

    The Ruby Programming Language

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Crafting Interpreters

    Repository for the book "Crafting Interpreters"

  4. ruby-lsp

    20 prism VS ruby-lsp

    An opinionated language server for Ruby

  5. Essentials-of-Compilation

    A book about compiling Racket and Python to x86-64 assembly

  6. civlua

    self contained software to build a minimalist dev environment.

  7. syntax_tree

    Interact with the Ruby syntax tree

  8. crumb

    The Crumb Programming Language

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. microjit-bench

    Set of benchmarks for the YJIT CRuby JIT compiler and other Ruby implementations.

  11. journal

    5 prism VS journal

    My blog, in all its statically-generated glory. (by munificent)

  12. plugin-ruby

    7 prism VS plugin-ruby

    Prettier Ruby Plugin

  13. atom

    1 prism VS atom

    Dynamically typed interpreted programming language (by dmeijboom)

  14. rl_custom_isearch

    Hack to customise libreadline reverse search

  15. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better prism alternative or higher similarity.

prism discussion

Log in or Post with

prism reviews and mentions

Posts with mentions or reviews of prism. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-24.
  • News for Ruby 3.4.0
    2 projects | news.ycombinator.com | 24 Dec 2024
    I am most excited about the parser change, previously discussed here:

    https://news.ycombinator.com/item?id=36310130 - Rewriting the Ruby parser (2023-06-13, 176 comments)

    I remember being taught to use yacc in our compiler course because "writing it by hand is too hard". But looks like Ruby joins the growing list of languages that have hand-written parsers, apparently working with generated parsers turned out to be even harder in the long run.

    That said, replacing a ~16k line parse.y[1] with a 22k line prism.c[2] is a pretty bold move.

    [1] https://github.com/ruby/ruby/blob/master/parse.y

    [2] https://github.com/ruby/prism/blob/main/src/prism.c

  • Ruby Prism v1.3.0 Released
    1 project | news.ycombinator.com | 21 Dec 2024
  • Crafting Interpreters
    8 projects | news.ycombinator.com | 12 Jul 2024
  • Unveiling the big leap in Ruby 3.3's IRB
    6 projects | news.ycombinator.com | 23 Dec 2023
    IRB type completion comes as a result of a chain of events which starts from the incredible work done by Kevin Newton (et al) to write a new canonical Ruby parser called Prism in C99 with no dependencies [1].

    With Prism, you can then create tool suites like syntax_tree [2], which then leads Prettier formatters [3], a new Ruby LSP [4], which unlocks a new Ruby LSP VS Code extension [5], not to mention a laundry list of other gems like Rubocop and of course Ruby itself that will benefit from a faster and more maintainable Ruby parser.

    It's a beautiful illustration of the power of questioning conventions, going back to first principles to uncover better solutions to previously solved problems, whose new solutions create new capabilities which unlocks the ability to solve new problems.

    [1]: https://github.com/ruby/prism

  • RubyConf 2023 Recap
    3 projects | dev.to | 20 Nov 2023
    Kevin Newton talked about Prism, a new Ruby parser. He discussed the challenges that come with parsing Ruby. He shared what's next, and what we can and should expect from our Ruby tooling in the future. He ended with an impassioned discussion about building a contributor community around a single tool.
  • Ruby 3.3.0-Preview3 Released
    1 project | news.ycombinator.com | 12 Nov 2023
    It’s disappointing there doesn’t seem to be an easily available blog post or announcement (maybe I just didn’t find it), but the design doc lists a few motivations: https://github.com/ruby/prism/blob/main/docs/design.md

    It looks like there was also a podcast interview last year that touches on the origins of the project: https://topenddevs.com/podcasts/ruby-rogues/episodes/the-new...

    Reading between the lines it looks to me like this is motivated by ripper (the old parser) not being a great fit for tooling around ruby like IDE LSP integrations and such. Ripper isn’t fault tolerant (if the script has a a syntax error you don’t get a partial tree, just an exception); being implemented in ruby enough itself that it kind of depends on ruby which isn’t always convenient for integration (IDEs like vscode make plugins in JS easy, prism comes with node bindings), and maybe being enough of a crufty old code base that maintaining it and fixing those design issues was deemed impracticable.

    Also worth noting if it wasn’t clear I’m pretty sure this parser is not being used or intended to be used for a ruby runtime to actually execute scripts, and that’s not what ripper was for either. This is for tooling that operates on ruby files for other purposes: syntax highlighting, linting, stuff like that.

  • Ruby 3.3.0-preview1 Released
    2 projects | /r/ruby | 12 May 2023
    I thought yarp was where ruby parsing was heading
  • Shopify/Yarp: Yet Another Ruby Parser
    1 project | news.ycombinator.com | 11 Jan 2023
  • Shopify/yarp: Yet Another Ruby Parser
    1 project | /r/ruby | 21 Dec 2022
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 19 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic prism repo stats
9
901
9.8
5 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C is
the 6th most popular programming language
based on number of references?