Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessor.preprocess의 invfunclist가 갱신되지 않음 #20

Open
cushionbadak opened this issue Jun 27, 2019 · 1 comment
Open

Comments

@cushionbadak
Copy link
Collaborator

cushionbadak commented Jun 27, 2019

analysisCmd ((changeInvConstraintToConstraint (InvConstraint(s, s_pre, s_trans, s_post)) invfunclist) @ t) signature logiclist invfunclist (ftGrammars, ftFwdDecls, ftRecursion)

Preprocessor.preprocess 내의 analysisCmd 함수에서, Cmdinv-constraint로 시작하는 경우에도, 그 외의 어느 경우에도 analysisCmd 함수에 넘겨진 invfunclist의 값을 갱신한 값은 나타나지 않는다.

@hongjisung
Copy link
Owner

preprocess 전에
desugar 함수를 먼저 실행하는데
이때 inv-constraint가 constraint로 치환되어서 그런 것으로 보임

preprocess 함수 실행할때는
syntax sugar인
inv-constraint, synth-inv, declare-datatype 등은 ast에서 없어야 함

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants