Swc4j: SWC for Java

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. swc4j

    swc4j (SWC for Java) is an ultra-fast JavaScript and TypeScript compilation and bundling tool on JVM.

  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. tree-sitter-typescript

    TypeScript grammar for tree-sitter

    HTH

    0 - https://tree-sitter.github.io/tree-sitter/

    1 - https://github.com/tree-sitter/tree-sitter-typescript

  4. grammars-v4

    Grammars written for ANTLR v4; expectation that the grammars are free of actions.

  5. tree-sitter-javascript

    Javascript grammar for tree-sitter

    I get the sense that treesitter is more for syntax highlighting than for real parsing, since I raised this issue[0] a while ago and I don't think anyone's really interested in it (not really interested enough myself in tree-sitter to see if it can be fundamentally solved; solving it involves making almost all production rules in the grammar parametric over two booleans).

    Admittedly I haven't tested the TypeScript treesitter grammar, but I'd be surprised if the issue is fixed there. I've put together a sample file[1] that demonstrates various cases of these context dependencies. If I remember correctly, Sublime's highlighter was the best at handling these cases out of various editors I tried, though it still failed at some of the ones at the bottom involving multi-line function expressions within object literal keys. GitHub/gist uses treesitter, so you'll notice that sometimes the "REGEX" and "DIVISION" blocks are inconsistently coloured, but a correct parser should associate a colour consistently to them. Not demonstrated here, but inserting a multi-line comment in a file that is parsed incorrectly will throw the entire thing off.

    [0] https://github.com/tree-sitter/tree-sitter-javascript/issues...

    [1] https://gist.github.com/Maxdamantus/a11b41675fcde25ffc9b7ef0...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to make `goto_next_test` and `goto_prev_test` work?

    2 projects | /r/HelixEditor | 20 May 2023
  • Custom builder for Angular: My way

    13 projects | dev.to | 15 Jan 2025
  • Running PostgreSQL, MongoDB, and NestJS concurrently with Docker Compose

    7 projects | dev.to | 6 Jan 2025
  • How to level up your backend skills

    13 projects | dev.to | 16 Nov 2024
  • Dynamic NestJS Listeners: Discover the Power of Lazy Loading

    3 projects | dev.to | 13 Oct 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?