ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
hoppetosse has quit [Ping timeout: 240 seconds]
jab_ has joined #zig
[dpk] has joined #zig
<andrewrk> jacobdufault, coroutines have a coroutine frame which has all the stack variables for itself only. for function calls it uses the stack from the caller
<andrewrk> a coroutine can only suspend from in its own frame, so this works
walac_ has joined #zig
m6w6 has quit [*.net *.split]
lqd has quit [*.net *.split]
jab has quit [*.net *.split]
crimson_penguin has quit [*.net *.split]
walac has quit [*.net *.split]
dpk has quit [*.net *.split]
dtz has quit [*.net *.split]
Tobba has quit [*.net *.split]
DuClare has quit [*.net *.split]
vec_ has quit [*.net *.split]
alandipert has quit [*.net *.split]
[dpk] is now known as dpk
crimson_pingvin has joined #zig
crimson_pingvin is now known as crimson_penguin
lqd has joined #zig
alandipert has joined #zig
bbrittain has joined #zig
epsyloN has joined #zig
mal`` has joined #zig
vec_ has joined #zig
crimson_penguin has joined #zig
crimson_penguin has quit [Changing host]
lqd is now known as Guest49086
m6w6 has joined #zig
so has quit [Ping timeout: 260 seconds]
clebermatheus[m] has quit [Ping timeout: 245 seconds]
lorde_kumamon[m] has quit [Ping timeout: 260 seconds]
lorde_kumamon[m] has joined #zig
<andrewrk> I'll get that documentation going once I have all the problems sorted out and a proof of concept usage of them
dtz has joined #zig
clebermatheus[m] has joined #zig
return0e has joined #zig
itsMontoya has joined #zig
davr0s has joined #zig
so has joined #zig
Tobba has joined #zig
DuClare has joined #zig
lorde_kumamon[m] has quit [Ping timeout: 255 seconds]
dtz has quit [Ping timeout: 256 seconds]
clebermatheus[m] has quit [Ping timeout: 255 seconds]
lorde_kumamon[m] has joined #zig
dtz has joined #zig
clebermatheus[m] has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
isd has quit [Ping timeout: 248 seconds]
jdufault has joined #zig
cenomla has quit [Quit: cenomla]
curtisf has quit [Ping timeout: 260 seconds]
tiehuis has joined #zig
jdufault has quit [Ping timeout: 260 seconds]
itsMontoya has quit [Quit: Lost terminal]
achambers has joined #zig
<achambers> howdy
<achambers> andrewrk: are you the maintainer for the zig port in nixos?
<tiehuis> pretty sure he is
<achambers> (sort of dumb question, his name is in the file) I guess it could be updated to 0.2
<tiehuis> i think he mentioned something about this a few days ago, maybe in regards to 0.2, let me see if i cna dig it up
<achambers> zig's ability to import C headers is so much fun
<achambers> tiehuis: thanks :)
<achambers> luckily nixos is pretty flexible, I just rewrote the package myself and imported it
<tiehuis> found this https://github.com/NixOS/nixpkgs/pull/37352 if its relevant
<achambers> oh thanks
<achambers> it has been merged already, must be my error
<achambers> v
Guest49086 is now known as lqd
davr0s has joined #zig
jjido has joined #zig
Hejsil has joined #zig
Hejsil has quit [Quit: Page closed]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjido has joined #zig
davr0s has joined #zig
Ichorio has joined #zig
<tiehuis> going to add a zig run command tomorrow
<tiehuis> have a working rudimentary example right now, much nicer than having a zig-cache directory in all my directories
<achambers> tiehuis: cool, that is the first thing i tried to do to run a file after i downloaded zig
<achambers> before i checked the options :P
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
tiehuis has quit [Quit: WeeChat 2.1]
hobomatic has joined #zig
Ichorio_ has joined #zig
Ichorio has quit [Ping timeout: 260 seconds]
<andrewrk> tiehuis, I think we can get away with `zig foo.zig` as the run command
<andrewrk> that way you could put zig in a shebang line
Hejsil has joined #zig
steveno_ has joined #zig
Hejsil has quit [Ping timeout: 260 seconds]
brannock has joined #zig
davr0s has quit [Ping timeout: 256 seconds]
<hobomatic> do multiline string chunks necessarily have to be preceded on a line by whitespace only? (I'm implementing syntax highlighting for micro)
<andrewrk> yes
<hobomatic> ok, well something like const foo = \\string seems to work fine on my end. You just have to put the ';' on the next line.
<hobomatic> if its only ever intended to be on a line by itself though i won't cover that case in the syntax highlighting.
Hejsil has joined #zig
<andrewrk> hobomatic, ah I see. I thought you were referring to the following lines
<hobomatic> so thats intended behavior then?
<andrewrk> yes
<andrewrk> const foo = \\a string that is only 1 line
<hobomatic> ok gotcha
<andrewrk> MajorLag, I was able to build a completely static zig using alpine linux
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hoppetosse has joined #zig
davr0s has joined #zig
jacobdufault has quit [Quit: WeeChat 1.9.1]
<GitHub5> [zig] andrewrk pushed 1 new commit to master: https://git.io/vxoGC
<GitHub5> zig/master f586aca Andrew Kelley: add ZIG_STATIC cmake option...
jacobdufault has joined #zig
<MajorLag> andrewrk: Wow, how much work was that? Or was it literally just "perform build on alpine with -static"?
<MajorLag> Because I'm totally going to redo my build server and start pushing a static binary to zig.tgschultz.com instead.
<andrewrk> I'm still testing this dockerfile, but here are the steps
<MajorLag> cool, I'll give this a shot when I get home today. On a related note, ZIG_LIBC_X_DIR envvar isn't respected at runtime is it? I added support to the appdir wrapper to pass the contents to the appropriate commandline switches, but it occurs to me that I never bothered to see if zig already respects them.
<andrewrk> I don't think we look for env vars for libc
<andrewrk> did you see #870 though? I think we can just have zig find libc at runtime on linux
<andrewrk> you could of course override the libc detection if you wanted to use a different libc than the system default one
isd has joined #zig
return0e_ has joined #zig
steveno_ has quit [Quit: Leaving]
return0e has quit [Ping timeout: 256 seconds]
<GitHub95> [zig] Hejsil pushed 1 new commit to master: https://git.io/vxo4i
<GitHub95> zig/master 1dfa927 Jimmi Holst Christensen: std.zig.parser now treats call expr as a suffix operator
isd has quit [Ping timeout: 264 seconds]
isd has joined #zig
SnowCrash150 has joined #zig
<SnowCrash150> .-. .-.
<SnowCrash150> / \ / \
<SnowCrash150> | _ \ / _ |
<SnowCrash150> ; | \ \ / / | ;
<SnowCrash150> \ \ \ \_.._/ / / /
<SnowCrash150> '. '.;' ';,' .'
<SnowCrash150> './ _ _ \.'
<SnowCrash150> .' a __ a '.
<SnowCrash150> '--./ _, \/ ,_ \.--'
<SnowCrash150> ----| \ /\ / |----
<SnowCrash150> .--'\ '-' '-' /'--.
<SnowCrash150> _>.__ -- _.- `;
<SnowCrash150> .' _ __/ _/
<SnowCrash150> / '.,:".-\ /:,
<SnowCrash150> | \.' `""`'.\\
<SnowCrash150> '-,.__/ _ .-. ;|_
<SnowCrash150> /` `|| _/ `\/_ \_|| `\
<SnowCrash150> | ||/ \-./` \ / || |
<SnowCrash150> \ ||__/__|___|__|| /
<SnowCrash150> \_ |_Happy Easter_| /
<SnowCrash150> jgs .' \ = _= _ = _= /`\
<SnowCrash150> / `-;----=--;--' \
<SnowCrash150> \ _.-' '. /
<SnowCrash150> `""` `""`
<SnowCrash150> L0DE AND CHRON FROM #LRH & L0DE RADIO HOUR (IRC.EFNET.ORG) WANTED TO SAY HAPPY EASTER!!
return0e has joined #zig
<SnowCrash150> isd return0e_ jacobdufault davr0s hoppetosse Hejsil brannock Ichorio_ hobomatic achambers clebermatheus[m] dtz lorde_kumamon[m] DuClare Tobba so m6w6 epsyloN alandipert mal`` vec_ bbrittain lqd crimson_penguin walac dpk jab_ benaiah MajorLag meena occivink _whitelogger adsr s455wang andrewrk jzelinskie l1x redj tridactyla ltr_ commander monteslu aiwakura minus ragge cgag Vinski
SnowCrash150 has quit [Client Quit]
return0e_ has quit [Ping timeout: 256 seconds]
return0e has quit [Ping timeout: 260 seconds]
jjido has joined #zig
<GitHub11> [zig] Hejsil pushed 1 new commit to master: https://git.io/vxoz3
<GitHub11> zig/master 24071c6 Jimmi Holst Christensen: std.zig.parser parses all prefix operators
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
return0e has joined #zig
<GitHub143> [zig] andrewrk opened pull request #872: find libc and zig std lib at runtime (master...runtime-libc) https://git.io/vxo6A
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
return0e_ has joined #zig
return0e has quit [Ping timeout: 260 seconds]
brannock has quit [Quit: Page closed]
tiehuis has joined #zig
Ichorio_ has quit [Ping timeout: 264 seconds]
jdufault has joined #zig
<GitHub156> [zig] Hejsil opened pull request #873: Self hosted parser completion (master...self-hosted-parser) https://git.io/vxoSY
Hejsil has quit [Quit: Page closed]
cenomla has joined #zig
achambers has quit [Quit: leaving]
<GitHub70> [zig] tiehuis opened pull request #874: Add run compiler command (master...run-cmd) https://git.io/vxoQJ
steveno_ has joined #zig