14 lines
320 B
Zig
14 lines
320 B
Zig
|
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 {}
|
||
|
};
|