Add literal string constants #19
@ -140,11 +140,16 @@ hand-defined, as done in "statics/util.stx" like so:
|
|||||||
@l.type := T.
|
@l.type := T.
|
||||||
|
|
||||||
type_Ex : Ex -> TYPE
|
type_Ex : Ex -> TYPE
|
||||||
|
type_TermEx : TermEx -> TYPE
|
||||||
|
|
||||||
type_OptTermEx(ote@Ex2OptTermEx(e)) = T :-
|
type_OptTermEx(ote@Ex2OptTermEx(e)) = T :-
|
||||||
type_Ex(e) == T,
|
type_Ex(e) == T,
|
||||||
@ote.type := T.
|
@ote.type := T.
|
||||||
|
|
||||||
|
type_OptTermEx(ote@TermEx2OptTermEx(te)) = T :-
|
||||||
|
type_TermEx(te) == T,
|
||||||
|
@ote.type := T.
|
||||||
|
|
||||||
/** md
|
/** md
|
||||||
|
|
||||||
This brings us to the syntax rules for the basic expressions themselves,
|
This brings us to the syntax rules for the basic expressions themselves,
|
||||||
@ -171,8 +176,6 @@ constructor was trivial:
|
|||||||
```
|
```
|
||||||
**/
|
**/
|
||||||
|
|
||||||
type_TermEx: TermEx -> TYPE
|
|
||||||
|
|
||||||
type_TermEx(te@Terminate(e)) = T :-
|
type_TermEx(te@Terminate(e)) = T :-
|
||||||
type_Ex(e) == T,
|
type_Ex(e) == T,
|
||||||
@te.type := T.
|
@te.type := T.
|
||||||
|
Loading…
Reference in New Issue
Block a user