Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Improvements to location information #254

Open
1 of 2 tasks
jeromesimeon opened this issue Jul 1, 2018 · 2 comments
Open
1 of 2 tasks

Improvements to location information #254

jeromesimeon opened this issue Jul 1, 2018 · 2 comments

Comments

@jeromesimeon
Copy link
Member

jeromesimeon commented Jul 1, 2018

Support for parsing location through the compiler is mostly in place. Some additional improvements:

  • better location improvements for CTO files (accessed from CTO parser), e.g., for import
  • add file information to location when available
  • possibly add location information downstream to Q*cert AST -- may be necessary for JavaScript map
  • Remove as many (all?) of the use of dummy_provenance
@kach
Copy link
Contributor

kach commented Jul 6, 2018

  • location info for failed enforce, inserted automatically during the ergocalculus compilation step

@jeromesimeon
Copy link
Member Author

Note: having access to file (or "module") information in the provenance is important when dealing with multiple modules so should be considered a feature for contract modularity.

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

No branches or pull requests

2 participants