Skip to content

zig interpreter example seems to be broken in main #167

@nurpax

Description

@nurpax
zig build -Dlang=lua54 run-example-interpreter

Out of the box, prints nothing. I think this can be fixed by adding

while (true) {
         _ = try stdout.writeAll("> ");
+        try stdout.flush();

This makes it print

>

but nothing happens after that no matter what I write in the interpreter.

I'm on macOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions