fostr/trans/statics.stx
Glen Whitney a564b2274d feat: Implement enters operator >>
Also added paranthesization of fostr expressions.
  Finally managed to cast code generation in terms
  of bottomup processing of a local strategy.

  Resolves #1.
2021-01-31 16:44:45 -08:00

24 lines
379 B
Plaintext

module statics
imports signatures/fostr-sig
// see docs/implementation.md for details on how to switch to multi-file analysis
rules // single-file entry point
programOk : Ex
programOk(Sum(_)).
programOk(Receives(_,_)).
programOk(Enters(_,_)).
rules // multi-file entry point
projectOk : scope
projectOk(s).
fileOk : scope * Ex
fileOk(s, Receives(_,_)).