[K-Bug] Broken MInt literal parsing
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Reproduce the issue with the shown a.k definition using kompile and krun, then compare the krun result with kast parsing of 100p64. Trace the krun path responsible for MInt literal evaluation; done means the input literal remains 100p64 and the displayed k cell matches the expected result.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What component is the issue in?
None
Which command
- kompile
- kast
- krun
- kprove
- kprovex
- ksearch
What K Version?
v7.1.104-0-g34892bf1cc
Operating System
Linux
K Definitions (If Possible)
module A-SYNTAX
imports INT
imports MINT
syntax MInt{64}
syntax A ::= a(Int, MInt{64})
endmodule
module A
imports A-SYNTAX
syntax A ::= b(MInt{64}, MInt{64}, MInt{64})
rule a(I, M) => b(Int2MInt(I), M, 100p64)
configuration <k> $PGM:A </k>
endmodule
Steps to Reproduce
kompile a.k
krun -cPGM='a(100, 100p64)'
Note that the result is
<k>
b ( 100p64 , 6p64 , 100p64 ) ~> .K
</k>
i.e., 100p64 in the input was parsed, for some reason as 6p64. Note that 100p64 is parsed properly in the k file. Also, a simple kast call parses the value properly:
$ kast -e 'a(100,100p64)'
`a(_,_)_A-SYNTAX_A_Int_MInt`(#token("100","Int"),#token("100p64","MInt{64}"))
Expected Results
b ( 100p64 , 100p64 , 100p64 ) ~> .K- Lenguaje dominante
- Python
- Estrellas
- 591
- Forks
- 163
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
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 runtimeverification/k
-
Introduce composable symbolic execution interface in pyxQuizá libre de nuevo @Stevengre la tomó hace 98 días y no hay ningún pull request abierto. Abierto
runtimeverification/k#4939 · 1 asignado ·
-
Concolic ExplorerAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 32/100
runtimeverification/k#4937 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
runtimeverification/k#4936 ·
-
Accelerating all-path reachability proofs with one-path reachability proofsQuizá libre de nuevo @Stevengre la tomó hace 104 días y no hay ningún pull request abierto. Abiertotype:epic
runtimeverification/k#4934 · 4 comentarios · 1 asignado ·
-
Support progressive depth halving as a generic policy in `Prover.advance_proof`Quizá libre de nuevo @Stevengre la tomó hace 124 días y no hay ningún pull request abierto. Abierto
runtimeverification/k#4924 · 1 asignado ·
Todos los issues de runtimeverification/k
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
letsencrypt/cp-cps#353 ·
-
Marble Madness II is missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DOI-USGS/pywatershed#421 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
python-pillow/Pillow#10087 · 1 comentario ·
Los mantenedores suelen responder en 1 día