Support for indexed input data in nested filter/reduce/map expressions
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by tracing how ParserInstance attaches InputData and how nested filter/reduce/map expressions access it; the issue names no files or tests. First decide whether nested sources should be supported with indexable inputs or rejected with a parse error; done means the chosen behavior is implemented and covered by tests for the nested expression example.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Suggestion
Right now, input data (as used in (1 and 2) where [input is 1]) is handled by attaching it to the ParserInstance. However, the attached InputData may contain only one active input source, so nested input sources, for example blocks within ... mapped with [(1 and 2) mapped with ["%integer input% -> %block input%"]], do not work.
We should implement a loop value -like system where input sources can be referenced by their nesting index to single out a specific source, allowing for nested maps and filters among other things.
Why?
Nested maps would be a useful way of handling data and inputs being indexable would bring them in line with what a user familiar with loops would expect
Other
It can be argued that input sources shouldn't be nested and that we don't want to encourage these kinds of practices. In this case it would be better to instead prevent nesting input source expressions in the first place, with a parse error that encourages the user to use a function instead.
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.
- Lingua principale
- Java
- Stelle
- 1.3k
- Fork
- 456
- Merge medio
- 4g 14h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SkriptLang/Skript
-
bug priority: lowest
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
SkriptLang/Skript#8953 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: lowest
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SkriptLang/Skript#8952 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Support `glid(e|ing)` in glide toggle eventForse già presa @AnOwlBe l’ha presa 201 giorni fa. Apertaenhancement priority: lowest suggestion
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SkriptLang/Skript#8573 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: lowest
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
SkriptLang/Skript#8954 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Command BugsForse già presa @APickledWalrus l’ha presa 1 giorno fa. Apertabug PR available priority: medium
SkriptLang/Skript#8936 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SkriptLang/Skript
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
wultra/powerauth-tests#980 ·
-
account bug communication lecture
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
line/centraldogma#1397 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: Fixed/recurring deposit accounts are treated as savings in ownership and listingsForse già presa @Aana123 l’ha presa oggi. Apertabug Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/fineract-consumer-facing#252 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
cryptomator/hub#515 ·