Store ADTs with only singletons in registers
authorLuke Lau <luke_lau@icloud.com>
Sat, 17 Aug 2019 18:43:44 +0000 (19:43 +0100)
committerLuke Lau <luke_lau@icloud.com>
Sat, 17 Aug 2019 18:43:44 +0000 (19:43 +0100)
commit639c992ea2c89ef0b6421279a76e637c7f469517
treed57e3127c49a9eaa4d9b50515d3adb13c25b7e20
parentfff1029008b7399f597e0227fff2bf05b8a27b3c
Store ADTs with only singletons in registers

Also define Bool as an ADT within the stdlib!
ast.scm
codegen.scm
stdlib.scm [new file with mode: 0644]
tests.scm
typecheck.scm