JuliaPy / JuliaPy/PyCall.jl

replace `py_str` with `py_cmd` literal?

Aperta
#793 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
1.5k
Fork
186
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I think, semantically it makes more sense to use custom command literals instead of string literals for code in other languages, since I think it is important to distinguish code from plain strings. The default shell is already a different language within Julia, so I think it is reasonable to extend this concept to interop with other languages. This could also then be used by editors to customize syntax highlighting for Python code inside Julia, as already proposed in https://github.com/JuliaEditorSupport/julia-emacs/issues/132. The current string syntax could still be kept around, of course, and perhaps deprecated eventually. I would be curious to hear others' opinions on this.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.