init: SDF3/Statix project as initialized by Spoofax
This commit is contained in:
commit
9ecfa63f58
20 changed files with 515 additions and 0 deletions
24
trans/statics.stx
Normal file
24
trans/statics.stx
Normal file
|
@ -0,0 +1,24 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue