ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darithorn has joined #zig
karlguy has quit [Quit: Leaving]
bheads has quit [*.net *.split]
fsateler has quit [*.net *.split]
edr has quit [*.net *.split]
tobbez has quit [*.net *.split]
utzig has quit [*.net *.split]
m4ge123 has quit [*.net *.split]
so has quit [*.net *.split]
commander has quit [*.net *.split]
Triplefox[m] has quit [*.net *.split]
wink_ has quit [*.net *.split]
m6w6 has quit [*.net *.split]
andrewrk has quit [*.net *.split]
diginet has quit [*.net *.split]
tbodt has quit [*.net *.split]
Vinski has quit [*.net *.split]
adrusi has quit [*.net *.split]
jzelinskie has quit [*.net *.split]
walac has quit [*.net *.split]
meowray has quit [*.net *.split]
tracernz has quit [*.net *.split]
l1x has quit [*.net *.split]
SimonNa has quit [*.net *.split]
bbrittain has quit [*.net *.split]
wilsonk has quit [*.net *.split]
_whitelogger has joined #zig
so has quit [Ping timeout: 252 seconds]
dpk has joined #zig
crimson_penguin has joined #zig
so has joined #zig
_whitelogger has joined #zig
_whitelogger has joined #zig
_whitelogger has joined #zig
MajorLag has quit [Read error: Connection reset by peer]
MajorLag has joined #zig
darithorn has quit []
fsateler has quit [Read error: Connection reset by peer]
fsateler has joined #zig
utzig has quit [Read error: Connection reset by peer]
utzig has joined #zig
tobbez has quit [Ping timeout: 252 seconds]
tobbez has joined #zig
wilsonk has quit [Read error: Connection reset by peer]
davr0s has joined #zig
wilsonk has joined #zig
return0e has quit [Remote host closed the connection]
return0e has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
very-mediocre has joined #zig
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jenz has joined #zig
davr0s has joined #zig
Jenz has quit [Ping timeout: 252 seconds]
Jenz has joined #zig
andrewrk has joined #zig
Ichorio has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jenz has quit [Ping timeout: 252 seconds]
darithorn has joined #zig
wink_ has joined #zig
<wilsonk> andrewrk: is there a zig standard library atoi function equivalent?
<andrewrk> std.fmt.parseInt
<wilsonk> thanks
davr0s has joined #zig
<wilsonk> If I run this program which grabs two ints from the input and displays the resulting addition (https://pastebin.com/eMKQDrHY), then I keep getting an error if the incoming line to readLine doesn't have a space at the end of it??? So it seems like split is returning an invalid result for tmp1 if there is a carriage return at the EOL instead of a space?! Is this intended?
<andrewrk> wilsonk, I made a change that ultimately will make readline better, but I need to rewrite readline to take it into account
<andrewrk> it's pretty small, let me give you a diff to try
<andrewrk> what os btw?
<wilsonk> MacOs
<andrewrk> I'll make the API harder to abuse too
<andrewrk> hm actually I think the function is fine, it's just the API being easy to abuse
<andrewrk> wilsonk, you need to slice your buffer with line_len
diltsman has joined #zig
<diltsman> Is there a place to look for Zig build system documentation? Or, alternatively, a place where it is somewhat documented in the code?
<andrewrk> diltsman, sorry, not yet. that's a big priority for the next release
<andrewrk> wilsonk, foo catch |err| {return err;} can be replaced with `try foo`
<andrewrk> wilsonk, https://clbin.com/ZehpE
<diltsman> andrewrk, what is the expected timeframe for the next release?
<andrewrk> march 15 2019
<andrewrk> 1 week after llvm 8
<wink_> Arch Linux updated to clang/llvm 7.0.0 on 10/2 or so and built zig with it and it worked fine. Then late yesterday I updated my system and zig and now the compiler is Seg Faulting in llvm::DIBuilder::createFile when called from ZigLLVMCreateFile at src/zig_llvm.cpp:591.
<wink_> Anyone else seen problems with clang?
<andrewrk> make sure you are building zig with the same compiler which built llvm and clang libraries that zig links against
<wink_> I'm not sure what that would be because I didn't build it. I'll rebuild llvm/clang locally with the installed clang 7.0.0 and see what happens.
<andrewrk> alternately you can build llvm/clang from source and link against that
<wink_> yep, doing that
<wilsonk> andrewrk: Sorry, I had to step away there for a few minutes. Thanks...I see the difference with what you have done there.
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
very-mediocre has quit [Ping timeout: 256 seconds]
davr0s has joined #zig
return0e has quit [Remote host closed the connection]
return0e has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
Ichorio has quit [Ping timeout: 245 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
m4ge123 has quit [Read error: Connection reset by peer]
m4ge123 has joined #zig
MajorLag has quit [Ping timeout: 252 seconds]