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

Rework symbol table #27

Merged
merged 16 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## NEXT

Rework symbol table for more accurate definitions.

## v1.6.3

Fix crashes when file has grammar errors.
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Go to definition:
- [x] Add go to definition functionality; see https://tomassetti.me/integrating-code-completion-in-visual-studio-code/
- [x] Invalidate cache of consumers when library stored
- [x] Support additional ways of declaring variables (e.g. in REDUCTION lib)
- [ ] Properly implement macro resolution (see TODOs in corresponding unit test)
- [ ] Improve performance by considering previous resolutions

Support writing ProVerif:
- [x] Configure language
Expand Down
2 changes: 1 addition & 1 deletion docs/kitchensink.pv
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ channel public2.

table Storage(key_t).

letfun no_conversion(key: key_t) = let k' = convert(key) in k'.
letfun no_conversion(key: key_t) = let k' = convert(key) in new k2: bitstring; get Storage(=key) in k2.
let publish(key: key_t or fail) = out(public, key).

set attacker = passive.
Expand Down
Loading
Loading