Quoted lists lose their quote when shown
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- compilers
Línea de trabajo
Start by reading the implementations of quoting and show; the issue does not name specific files or tests. Decide how quoted code lists can be distinguished from evaluated lists, then check that showing and reading back a quoted list preserves it without evaluating its contents. Pull request #18 is already open against this issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follow-up from #11 / #15 (found by the show → load → show survey there).
A quoted list doesn't keep its quote when shown, so reading the output back evaluates the code instead of giving back the same list:
> l: '[a b]
[a b]
> value show :l
Error: undefined word: a
> l2: '[1 + 2]
[1 + 2]
> value show :l2
[3]
show :l should give text that reads back as the same unevaluated list. The catch is that an evaluated list and a quoted (code) list have the same representation, so the writer can't tell them apart today. The fix needs a decision on how code-as-data lists are marked (for example, a flag set by the quote, which the writer uses to put ' back on).
Same on main; not caused by #15.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6
- Forks
- 1
- Merge medio
- 3 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tangentcode/implish
-
Evaluate right to left (K style)Posiblemente ocupada @tangentstorm la tomó hace 17 días. Abiertoapproved
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
tangentcode/implish#21 ·
-
Error and multi-line string values don't show as loadable textPosiblemente ocupada @tangentstorm la tomó hace 32 días. Abiertoapproved follow-up
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
tangentcode/implish#17 ·
-
Dict show: comma after symbol-valued key changes the key on reloadPosiblemente ocupada @tangentstorm la tomó hace 32 días. Abiertoapproved follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
tangentcode/implish#11 ·
-
String literal escape sequences are not decodedPosiblemente ocupada @tangentstorm la tomó hace 32 días. Abiertoapproved follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
tangentcode/implish#10 ·
-
x/y/z bindings not restored when a function body throwsPosiblemente ocupada @tangentstorm la tomó hace 32 días. Abiertoapproved follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
tangentcode/implish#9 ·
Todos los issues de tangentcode/implish
Issues similares
-
Amélioration du résumé regAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
MTES-MCT/monitorenv#3257 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
salesforce/sa11y#1022 ·
-
area/web platform/ios type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anomalyco/opencode#67504 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Kartographer map markers lose their geo: link on non-English wikisPosiblemente ocupada @playlikeboy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
openzim/mwoffliner#3014 ·
Los mantenedores suelen responder en 1 día
-
Report: Bloomberg HTAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día