In support of comfortable stream-centric (and functional) programming
Go to file
Glen Whitney 9ecfa63f58 init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
.mvn init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
editor init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
src/main/strategies/fostr/strategies init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
syntax init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
trans init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
.gitignore init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
README.md init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
metaborg.yaml init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00
pom.xml init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00

README.md

fostr Language Specification

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.