editors: recognize report and report_value as observer forms
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 85/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- vim, vscode
- Área
- tooling
Línea de trabajo
Comienza con editors/vscode/syntaxes/eigenscript.tmLanguage.json y editors/vim/syntax/eigenscript.vim, revisando las listas de palabras clave y patrones de interpolación anidados. Verifica los scopes con eigenlsp deshabilitado y añade un fixture pequeño o una inspección reproducible que muestre ambas formas de observer resaltadas en contextos ejecutables y de interpolación de f-string, mientras los identificadores más largos, las cadenas, los comentarios y los interrogativos existentes siguen siendo correctos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The language reserves report and report_value as observer forms, but the bundled VS Code and Vim syntax grammars omit both names. VS Code's TextMate grammar falls through to the ordinary function-call rule for report of x and report_value of x; Vim has no corresponding observer keyword entry.
This is a small first contribution in editor configuration. No C or observer implementation changes are needed.
Starting points
Checked at b91768e23c5a874a64e76e4af9ab291e6aa49983:
- The lexer reserves both words.
- VS Code grammar: keyword/interrogative patterns omit them; the generic call pattern follows these patterns.
- Vim grammar: keyword/interrogative declarations omit them too.
For the bounded fix, use the existing observer/interrogative highlighting groups (support.function.interrogative.eigenscript and eigsInterrogative) for these two forms. This is a highlighting category; it does not change the language's terminology or semantics.
For the interpolation cases, also inspect the nested pattern lists: VS Code's #fstrings expression patterns do not include #interrogatives, and Vim's eigsInterp contains list omits eigsInterrogative. Updating only the top-level keyword lists will leave those cases unhighlighted.
Done when
-
reportandreport_valuereceive the observer highlighting group in executable expressions in both editors, including inside f-string interpolations. - Longer identifiers such as
report_value_extraremain ordinary identifiers. - The same text inside a string or comment retains its string/comment scope.
- Existing interrogatives continue to highlight correctly.
- The PR includes a small fixture or reproducible scope inspection showing the missing highlighting before the change and the correct scopes after it.
The omission was confirmed from the grammar patterns, not through a GUI run. In VS Code, verify with eigenlsp disabled as well, since semantic tokens can hide a TextMate defect. Follow CONTRIBUTING.md for normal PR checks. Keep the change limited to these two observer forms; the separate numeric-literal highlighting task may touch the same files.
- Lenguaje dominante
- C
- Estrellas
- 3
- Forks
- 7
- Merge medio
- 3 h 58 min
- PR fusionados (30 d)
- 105
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 InauguralSystems/EigenScript
-
area:lint-tooling bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
InauguralSystems/EigenScript#1340 ·
Los mantenedores suelen responder en 1 día
-
area:stdlib found-by:code-review kind:silent-wrong
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
InauguralSystems/EigenScript#1338 ·
Los mantenedores suelen responder en 1 día
-
area:lint-tooling found-by:critic kind:docs-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
InauguralSystems/EigenScript#1335 ·
Los mantenedores suelen responder en 1 día
-
area:ci found-by:critic kind:gate-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
InauguralSystems/EigenScript#1311 ·
Los mantenedores suelen responder en 1 día
-
enrolment: decide test_gc_runner_controls.py (exempt vs enrol) and whether floors need a ratchetAbiertoarea:gates found-by:critic kind:decision
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
InauguralSystems/EigenScript#1280 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de InauguralSystems/EigenScript
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
johnsonjh/emu2-cpm86#68 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Zenmap CrashAbiertoZenmap
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
BasedHardware/omi#19306 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
fastfetch-cli/fastfetch#2619 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100