fast
Find in AST - Search and refactor code directly in Abstract Syntax Tree as you do with grep for strings (by jonatas)
unparser
Turn Ruby AST into semantically equivalent Ruby source (by mbj)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fast
Posts with mentions or reviews of fast.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-14.
-
ASTs in Ruby - Node Pattern and Introducing RuboCop
Oh, and that regex bit? Remember how we have Rubular for regex? We have the NodePattern Debugger for ASTs which you will find incredibly helpful, in fact you might open it now and try out some of these examples to make sure I'm not pulling a Fast one. (No, I'm not apologizing for that one.)
-
Future of Ruby – AST Tooling
Some of these tools have even already been wrapped, like Jonatas's work on FFast which works on top of NodePattern and some of RuboCop's previous work. Really the only things between us and this future is a bit more wrapping and polish, as well as integrations into something like VSCode.
unparser
Posts with mentions or reviews of unparser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-14.
-
Future of Ruby – AST Tooling
There are already some techniques capable of doing just this, by combining Parser with Unparser, but of course such things can only be done on Ruby files read in rather than in a REPL session which is where a lot more fun could happen.
What are some alternatives?
When comparing fast and unparser you can also consider the following projects:
ruby-next - Ruby Next makes modern Ruby code run in older versions and alternative implementations
anystyle - Fast citation reference parsing
ActsAsTree - ActsAsTree -- Extends ActiveRecord to add simple support for organizing items into parent–children relationships.
rubocop-rails - A RuboCop extension focused on enforcing Rails best practices and coding conventions.
Awesome Nested Set - An awesome replacement for acts_as_nested_set and better_nested_set.
typeless - an interpreter for λ-calculus implemented in ruby
Oga - Oga is an XML/HTML parser written in Ruby.
PSD.rb - Parse Photoshop files in Ruby with ease