Outline work needed for cljs and cljc support

Aperta
#195 39 commenti 7 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
clojure
Ambito
tooling

Direzione di ricerca

Inizia leggendo l’analyzer e il contesto esistente del middleware nREPL, quindi confronta le differenze dell’analisi tra clj e cljs. L’issue richiede uno schema dei blocker attuali, delle possibili soluzioni, dell’integrazione a runtime e della gestione di risultati di analisi distinti; il lavoro è completato quando è disponibile un piano di ricerca concreto per il supporto di cljs e cljc.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I'd like to use this issue to start a discussion on what needs to be done in order to add support for cljs and cljc.

Most of what I consider to be the important functionality involves the analyzer and is unavailable outside of clj files.

I'm positive others would like to improve this state too, but for someone who's not familiar with the project trying to tackle these issues seems a bit hopeless.

It would be helpful to start outlining what the current problems are, what solutions could work and lay a path for people who are interested in working on this but don't know where to start.

Some questions I currently have in mind:

  1. Why does the current approach cannot work for cljs?
    This is not specific to refactor-nrepl, but some pointers on how exactly does the analysis process differ between clj and cljs would make a good resource.

  2. In principle, are all the existing middlewares applicable to a cljs ast?
    It is unclear if there are platform-specific blockers that would prevent this from happening.

  3. What are some potential solutions for implementing the existing functionality in cljs?
    Some high level on how the cljs runtime could integrate with the rest of the middleware.

  4. Are there any potential problems with having to deal with two distinct analysis results?

Cheers!

Lingua principale
Clojure
Stelle
261
Fork
68
Merge medio
10h 36m
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di clojure-emacs/refactor-nrepl

Tutte le issue di clojure-emacs/refactor-nrepl

Issue simili

Altre issue su Clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.