index
:
elna
assembly
cpp
haskell
Elna programming language compiles simple mathematical operations to RISC-V code.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
testsuite
/
runnable
/
compile_time_array_access.elna
blob: 146fd27bf1b6e8dacf0b299113c2ce586eaea542 (
plain
)
1
2
3
4
5
6
7
8
program() const ARRAY = [1, 2, 3] I = ARRAY[2] begin assert(I = 2) end.