Changed name to topiku

This commit is contained in:
Der Teufel 2021-12-30 20:06:36 +01:00
parent 64c3541416
commit ea9fa52a38
2 changed files with 4 additions and 4 deletions

View file

@ -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();

View file

@ -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});
}
}