Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Let's write a simple JavaScript pre-processor! ;-)

Offen
#199 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
javascript
Bereich
compilers

Rechercherichtung

The issue names no repository files, tests, or entry points. Start by identifying a suitable JavaScript parser and determining how its parse tree can be modified and serialized; done would require a working pre-processor covering the requested scan, parse, transformation, and serialization flow.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

This has been a long-term interest, and now I actually want to create the code.

It's a pre-processor. It takes as input arbitrary JavaScript code as input.

  1. It runs it through a lexical scanner, and a parser, and out the other end comes a parse tree.

  2. We make a few changes to the parse tree.

  3. We serialize the parse tree back into JavaScript source text.

And that's it!

I've looked at several open source JS parser projects but haven't found code that does this simply to just do my stuff and get back to other projects. I don't want to get immersed in the processor. Hope this makes sense.

Any help much appreciated! 💥

PS: I have experience with YACC and scanners. I've also written and maintained a scripting environment, so I'm fairly knowledgable about parsing, but am not familiar with any of the JS projects.

Vorherrschende Sprache
HTML
Sterne
134
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus scripting/Scripting-News

Alle Issues in scripting/Scripting-News

Ähnliche Issues

Weitere Issues zu Compilers

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.