chore: Switch to this repository from predecessor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glen Whitney 2021-01-30 15:37:53 -08:00
parent 9ecfa63f58
commit 7b00b01856
23 changed files with 733 additions and 32 deletions

16
docs/implementation.md Normal file
View file

@ -0,0 +1,16 @@
## Using Statix for multi-file analysis
By default the project is configured to analyze all files of your language in
isolation -- single-file analysis. It is also possible to configure the project
such that all files are analyzed together, and files can refer to each other --
multi-file analysis.
To enable multi-file analysis, do the following:
1. Uncomment the `(multifile)` option in `editor/Analysis.esv`
2. Uncomment the multi-file definition, and comment the single-file version, of
`editor-analyze` in `trans/analysis.str`.
NB. When working in an IDE such as Eclipse, it is necessary to _restart the IDE_
after switching from single-file to multi-file analysis or vice versa. Failure to
do so will result in exceptions during analysis.