ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
isd has joined #zig
deltam597 has joined #zig
deltam597 has quit [Remote host closed the connection]
cenomla has quit [Remote host closed the connection]
<GitHub137> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxppx
<GitHub137> zig/master d4572d1 Andrew Kelley: zig fmt: container init fields each on own line...
isd has quit [Quit: Leaving.]
<GitHub89> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxphH
<GitHub89> zig/master 9e701e9 Andrew Kelley: zig fmt includes trailing commas...
<achambe> oh, zig fmt, neat
<andrewrk> here's a diff of it running against all of std/
<achambe> hehe, I can see the parser needs comment support
<achambe> auto code formatting is such a killer feature once you get used to using it.
<andrewrk> it's self hosted too
<achambe> how long does the formatter take to run on the stdlib?
<achambe> (not important, just curious)
<achambe> hmm, i wonder how hard it would be to setup the latest zig compiler as a nix channel
<GitHub64> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxpjX
<GitHub64> zig/master 0f652b4 Andrew Kelley: zig fmt: switch cases on new lines...
<andrewrk> achambe, why not use the statically linked CI build of master branch?
<achambe> Oh neat, Didn't know you could statically link clang/llvm like that
<andrewrk> it took me several days to figure it out
relatingdata has joined #zig
epsyloN has quit [Ping timeout: 264 seconds]
epsyloN has joined #zig
relatingdata has quit [Quit: Page closed]
curiouspooper has joined #zig
curiouspooper has left #zig [#zig]
Braedon has joined #zig
arBmind has joined #zig
<GitHub138> [zig] Hejsil opened pull request #919: Self-hosted parser refactor (master...self-hosted-parser-refactor) https://git.io/vxhlc
hoppetosse has joined #zig
arBmind has quit [Quit: Leaving.]
tiehuis has joined #zig
tiehuis has quit [Quit: WeeChat 2.1]
Braedon has quit [Ping timeout: 260 seconds]
jab has quit [Ping timeout: 245 seconds]
jab has joined #zig
Braedon has joined #zig
<Braedon> Does anyone understand this error; https://pastebin.com/v88K3TWt, I can't replicate it on my system rip
<MajorLag> from a quick glance, docgen.exe requires the zig exe to be passed in as parameter 1
<MajorLag> instead it was passed an empty string
<Braedon> Huh, I felt that super weird why that would fail mhmmm
<Braedon> Thanks though, time to look through commits to see where I stuffed up lel
arBmind has joined #zig
hoppetosse has quit [Ping timeout: 268 seconds]
jab has quit [Ping timeout: 240 seconds]
jab has joined #zig
jab has quit [Ping timeout: 255 seconds]
jab has joined #zig
jab has quit [Ping timeout: 240 seconds]
jab has joined #zig
hoppetosse has joined #zig
Hejsil has joined #zig
hoppetosse has quit [Ping timeout: 264 seconds]
jab has quit [Ping timeout: 240 seconds]
Braedon has quit [Ping timeout: 260 seconds]
<Hejsil> andrewrk, Here is a nasty bug: https://pastebin.com/raw/MriYQkmp
<Hejsil> This means, that after the tree is returned from `parse`, it basicly can't be modified: https://github.com/zig-lang/zig/blob/0f652b4d80a57f5b5a1054d06cd5767ce52402a1/std/zig/parser.zig#L242
hoppetosse has joined #zig
hopppetosse has joined #zig
hoppetosse has quit [Ping timeout: 260 seconds]
Hejsil has quit [Quit: Page closed]
hopppetosse has quit [Ping timeout: 276 seconds]
jab has joined #zig
arBmind has quit [Ping timeout: 255 seconds]
<andrewrk> Hejsil, I think this is expected - I would consider the AST to be read-only once parsing is complete
<GitHub196> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxjvT
<GitHub196> zig/master 1999f0d Andrew Kelley: fix undefined behavior triggered by fn inline test...
Hejsil has joined #zig
<Hejsil> But it's part of `std`, and people can do whatever they want :)
<Hejsil> Anyways, I wasn't actually playing with ast when descovering this
<Hejsil> I just thought I'd let you know about it
<GitHub59> [zig] andrewrk closed pull request #915: Revise self-hosted command line interface (master...self-hosted-cli) https://git.io/vxxcL
<GitHub137> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxjvD
<GitHub137> zig/master 30c5f3c Andrew Kelley: Merge pull request #915 from zig-lang/self-hosted-cli...
<GitHub154> [zig] andrewrk closed pull request #919: Self-hosted parser refactor (master...self-hosted-parser-refactor) https://git.io/vxhlc
<GitHub49> zig/master 4662fd4 Andrew Kelley: Merge pull request #919 from zig-lang/self-hosted-parser-refactor...
<GitHub49> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxjvN
<andrewrk> Hejsil, that's a good point. it does seem to be a footgun
<Hejsil> This was my fix. Just allocate the root node with the child_allocator: https://github.com/Hejsil/pokemon-randomizer/blob/f256c53293e2c8238d59d3cb2e94998a1a5be839/src/nds/fs.zig#L28
<Hejsil> It's actually not a "GIGA HACK"
<Hejsil> But it felt bad when I did it
<andrewrk> lol
hopppetosse has joined #zig
<andrewrk> ohhh, I see what's going on here
<andrewrk> I misinterpreted this before
<andrewrk> this is what https://github.com/zig-lang/zig/issues/287 is trying to address
<Hejsil> Ooooh!
<Hejsil> I've read this
<andrewrk> one idea is a named return value, and it would have the address of the caller
<andrewrk> the return value would be the address of the result in the caller
<andrewrk> oh dear, I've broken everything
<Hejsil> Lol
<andrewrk> Hejsil, to celebrate your parsing work, I'm focusing on getting the self hosted compiler working
<andrewrk> and it's gonna use pipelining, multiplexing coroutines onto kernel threads
<andrewrk> it's gonna go fast
<Hejsil> Yes plz
<andrewrk> we're gonna be spitting out .o files before even all the .zig files have been tokenized
<GitHub97> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxjUI
<GitHub97> zig/master 0509414 Andrew Kelley: fix regression with zig install dir...
<andrewrk> that'll teach me to write code before I've had my tea
hopppetosse has quit [Ping timeout: 240 seconds]
hopppetosse has joined #zig
<GitHub75> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxjtw
<GitHub75> zig/master fa05cab Andrew Kelley: travis: put cache-control header for ziglang.org/download
Ichorio has joined #zig
hopppetosse has quit [Ping timeout: 265 seconds]
hoppetosse has joined #zig
hoppetosse has quit [Remote host closed the connection]
hoppetosse has joined #zig
hoppetosse has quit [Ping timeout: 256 seconds]
hoppetosse has joined #zig
isd has joined #zig
tridactyla has joined #zig