astexplorer

A web tool to explore the ASTs generated by various parsers. (by fkling)

Astexplorer Alternatives

Similar projects and alternatives to astexplorer

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

astexplorer reviews and mentions

Posts with mentions or reviews of astexplorer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-07.
  • ESLint: under the hood
    4 projects | dev.to | 7 Nov 2023
    The rule that I want to write will be called not-allows-underscore: the idea is to abolish the use of underscores when declaring variables or functions. It's a real dummy rule, but it should be enough to see in action the concepts that we have discussed earlier. The first thing that I would do is to go to AST Explorer, write down a code that declares variables and functions (both standard and arrows one) and take a look at what type of node is the one that encodes the identifier. Doing that, I found out that the node type of my interest is Identifier, what a surprise! 🤣. In particular, the structure of the node holds the string used as identifier in the name property.
  • 😱 ESlint over Conventions - You have Not unlocked the power of ESlint 😱
    2 projects | dev.to | 29 Sep 2023
    All the information about the API, AST node names, AST Explorer, etc. you can read in the official documentation. I’m just going to show examples of how to automate the check-up of our created conventions.
  • 200 Web-Based, Must-Try Web Design and Development Tools
    13 projects | dev.to | 8 Aug 2023
    AST Viewer
  • Building a JSON Parser from scratch with JS 🤯
    7 projects | dev.to | 1 Aug 2023
    If you want to see how the AST of popular languages looks, I recommend the AST Explorer. It supports various languages, and you can view the complete AST and navigate through the nodes. If you want to go further, you can try to copy some logic from an existing parser and implement it in your own, such as calculating an expression according to precedence order, for example: 1 + 2 * 3 (which is 7, not 9).
  • Creating my own typescript compiler
    2 projects | /r/typescript | 1 Jul 2023
    https://astexplorer.net/ is a good resource/playground for understanding ASTs and transpilers.
  • How Rust transforms into Machine Code.
    5 projects | /r/rust | 3 Jun 2023
    This is probably the most obvious step of how rustc transforms source code. The first step in this is lexing - it converts your rust code into a stream of tokens. The stream is similar to that of TokenStream in procedural macros, but the API is different - proc_macro requires stability, while rustc is very unstable. For example: rs fn main () {} transforms into Ident, Ident, OpenParen, CloseParen, OpenBrace, CloseBrace, At this point, it's important to note that identifiers are just represented as Ident. This is also represented through an enum internally via rustc_lexer. Then, the second stage, parsing. This transforms the tokens into a more useful form, the abstract syntax tree, Using the AST Explorer, putting in our code and selecting Rust language, we can see that the code above transforms into an AST. I won't paste the AST here due to sheerly how long it is, but I invite you to check it out yourself.
  • ESLint Understand By Doing Part 1: Abstract Syntax Trees
    2 projects | dev.to | 30 Mar 2023
    The best way to understand what an AST is.. is to simply play with them over on AST Explorer. I like to switch the right side panel to json as I find it easier to follow, but you do you.
  • syn v2.0.0 released
    5 projects | /r/rust | 17 Mar 2023
    Anything like https://astexplorer.net/ that outputs syn v2.0.0 ast ? Or I should just wait I guess
  • Using eslint to fix wrong i18n usages
    2 projects | dev.to | 16 Mar 2023
    To understand what this eslint rule is doing, you need to understand how JavaScript AST works. You can explore it here https://astexplorer.net/
  • How Woovi uses Relay?
    3 projects | dev.to | 13 Mar 2023
    The output of this optimization uses AST, and it is stored on __generated__ folders. You can explore GraphQL AST using AST Explorer.
  • A note from our sponsor - Onboard AI
    getonboard.dev | 4 Dec 2023
    Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →

Stats

Basic astexplorer repo stats
39
5,707
0.0
8 days ago
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com