Quoted lists lose their quote when shown

Abierto
#16 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@tangentstorm ya está trabajando en esto.

Desde el 29/10/2026.

  • #18 de @tangentstorm — abierto

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

approved follow-up

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tangentcode/implish

Todos los issues de tangentcode/implish

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.