Add literal string constants (#19)
All checks were successful
continuous-integration/drone/push Build is passing

In addition, for the sake of Haskell code generation, this PR adds static typing
  with Statix.

  Resolves #5.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #19
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
This commit is contained in:
Glen Whitney 2021-02-18 04:17:05 +00:00
parent c516ed6d7f
commit 2772fd0c5c
16 changed files with 386 additions and 34 deletions

1
signature/TYPE.str Symbolic link
View file

@ -0,0 +1 @@
TYPE.stx

7
signature/TYPE.stx Normal file
View file

@ -0,0 +1,7 @@
module signature/TYPE
signature
sorts TYPE // semantic type
constructors
INT : TYPE
STRING : TYPE
STREAM : TYPE