Skip to content

Commit fa978e8

Browse files
committed
start actually writing down stuff for const eval
1 parent 628aad0 commit fa978e8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# const evaluatable checked
2+
3+
TODO: All of this :)
4+
5+
## Requirements
6+
7+
For this to work, const operations have to be both pure and deterministic, at least when they are used in the type system.
8+
9+
FIXME: const allocations?
10+
FIXME: non-det floats, are they are problem? We use `ap_float` which is hopefully deterministic.
11+
FIXME: looking at pointers.
12+
TODO: let `const-eval` figure this out.

0 commit comments

Comments
 (0)