Changed name to topiku
This commit is contained in:
parent
64c3541416
commit
ea9fa52a38
|
@ -11,7 +11,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
// between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall.
|
||||
const mode = b.standardReleaseOptions();
|
||||
|
||||
const exe = b.addExecutable("tokiponalisp", "src/main.zig");
|
||||
const exe = b.addExecutable("topiku", "src/main.zig");
|
||||
exe.setTarget(target);
|
||||
exe.setBuildMode(mode);
|
||||
exe.linkLibC();
|
||||
|
|
|
@ -3,16 +3,16 @@ const prompt = @import("prompt.zig");
|
|||
|
||||
pub fn main() anyerror!void {
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
try stdout.writeAll("BYOL Lispy - ver. 0.0.1\n");
|
||||
try stdout.writeAll("topiku - toki pi kulupu ijo - ver. 0.0.1\n");
|
||||
|
||||
prompt.init();
|
||||
defer prompt.deinit();
|
||||
|
||||
while (true) {
|
||||
|
||||
var input = prompt.readline("BYOL> ") orelse break;
|
||||
var input = prompt.readline("topiku> ") orelse break;
|
||||
defer std.c.free(&input);
|
||||
|
||||
try stdout.print("Echo> {s}\n", .{input});
|
||||
try stdout.print(">>> {s}\n", .{input});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue