jorts/src/compiler.zig

14 lines
320 B
Zig
Raw Normal View History

const token = @import("token.zig");
const scanner = @import("scanner.zig");
const main = @import("main.zig");
pub const Compiler = struct {
tokens: *scanner.TokenList,
fn init(tokens: *scanner.TokenList) Compiler {
return Compiler{ .tokens = tokens };
}
fn advance(self: *Compiler) void {}
};