More fiddling with identifiers
This commit is contained in:
parent
0947abe4f4
commit
34fb550be7
26 changed files with 105 additions and 79 deletions
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
@ -13,5 +14,5 @@ const gpa = util.gpa;
|
|||
const data = @embedFile("../data/day01.txt");
|
||||
|
||||
pub fn main() !void {
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
const util = @import("util.zig");
|
||||
const gpa = util.gpa;
|
||||
|
|
|
@ -2,10 +2,11 @@ const std = @import("std");
|
|||
const Allocator = std.mem.Allocator;
|
||||
const assert = std.debug.assert;
|
||||
const print = std.debug.print;
|
||||
const ArrayList = std.ArrayList;
|
||||
const HashMap = std.AutoHashMap;
|
||||
const StringHashMap = std.StringHashMap;
|
||||
const List = std.ArrayList;
|
||||
const Map = std.AutoHashMap;
|
||||
const StrMap = std.StringHashMap;
|
||||
const BitSet = std.DynamicBitSet;
|
||||
const Str = []const u8;
|
||||
|
||||
var gpa_impl = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
pub const gpa = &gpa_impl.allocator;
|
||||
|
|
Loading…
Reference in a new issue