WIP: comptime experiments
This commit is contained in:
parent
7417f01d5d
commit
b68855fc2d
10 changed files with 57 additions and 15 deletions
|
|
@ -35,7 +35,7 @@ pub fn main() void {
|
|||
// at compile time.
|
||||
//
|
||||
// Please fix this to loop once per "instruction":
|
||||
??? (i < instructions.len) : (???) {
|
||||
inline while (i < instructions.len) : (i += 3) {
|
||||
|
||||
// This gets the digit from the "instruction". Can you
|
||||
// figure out why we subtract '0' from it?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue