forked from glen/fostr
25 lines
340 B
Plaintext
25 lines
340 B
Plaintext
|
module statics
|
||
|
|
||
|
// see README.md for details on how to switch to multi-file analysis
|
||
|
|
||
|
rules // single-file entry point
|
||
|
|
||
|
programOk : Start
|
||
|
|
||
|
programOk(Empty()).
|
||
|
|
||
|
rules // multi-file entry point
|
||
|
|
||
|
projectOk : scope
|
||
|
|
||
|
projectOk(s).
|
||
|
|
||
|
fileOk : scope * Start
|
||
|
|
||
|
fileOk(s, Empty()).
|
||
|
|
||
|
signature
|
||
|
|
||
|
sorts Start constructors
|
||
|
Empty : Start
|