00:06:06  <ljharb>so… you're pursuing your tail calls? … so you're chasing your tail? /me leaves
00:06:44  <devsnek>(ノÒ益Ó)ノ彡▔▔▏
00:07:04  <ljharb>┬─┬ノ( º _ ºノ)
00:50:34  * christel2joined
00:51:29  * aki_joined
00:51:47  * akirosequit (Ping timeout: 240 seconds)
00:51:47  * aki_changed nick to akirose
00:54:41  * christel2quit (Remote host closed the connection)
01:05:04  * Cork0joined
01:09:56  * Cork0quit (Remote host closed the connection)
01:20:01  * marduk19112joined
01:20:11  * marduk19112quit (Remote host closed the connection)
01:40:36  <TimothyGu>devsnek: by "activation stack" they just mean the call stack exposed through `new Error().stack` or something similar
01:42:05  <devsnek>shrug
01:56:53  * jwaldenquit (Quit: back tomorrow)
02:14:17  * gibson042joined
02:57:40  * aki_joined
02:58:27  * akirosequit (Ping timeout: 240 seconds)
02:58:27  * aki_changed nick to akirose
03:49:58  * jwaldenjoined
03:51:54  * gibson042quit (Ping timeout: 250 seconds)
04:49:45  * jmdyckquit (Remote host closed the connection)
04:57:59  <devsnek>So when the spec says `Remove calleeContext from the execution context stack and restore callerContext as the running execution context.`
04:58:17  <devsnek>is the correct thing to do here pop the stack, or modify the stack such that those two directions are true
04:59:28  * caf1joined
05:02:54  * caf1quit (Remote host closed the connection)
05:05:03  * akirosequit (Ping timeout: 245 seconds)
05:06:13  * akirosejoined
05:19:24  <jwalden>as-if means you can pop and push, or mutate in place, and spec don't care, I'm pretty sure
05:20:02  * JamesRjoined
05:20:12  <TimothyGu>devsnek: I believe popping the stack will make both directions true
05:20:28  <TimothyGu>because callerContext is set after PrepareForTailCall
05:20:50  <devsnek>popping the stack in all cases is definitely wrong if you're implementing TCO
05:21:26  <TimothyGu>idk about that
05:22:04  * jwaldenquit (Quit: back tomorrow)
05:22:08  <TimothyGu>gonna draw some diagrams
05:23:03  <devsnek>lol
05:29:04  * JamesRquit (Ping timeout: 240 seconds)
05:30:55  <TimothyGu>devsnek: Okay I understand now
05:31:09  <TimothyGu>basically when you call PrepareForTailCall
05:31:16  <TimothyGu>and if it suspends the execution context
05:31:24  <devsnek>my current solution is basically "if the current execution context is calleeContext, pop"
05:31:40  <devsnek>otherwise do nothing (because its already been popped because of PrepareForTailCall)
05:32:25  <TimothyGu>it'll never actually get to the point where it pops the calleeContext
05:34:31  <TimothyGu>https://usercontent.irccloud-cdn.com/file/GWFZB33M/1535693668.JPG
05:36:12  <TimothyGu>basically, steps 8-11 of [[Call]] for a() are just never executed (https://tc39.github.io/ecma262/#sec-ecmascript-function-objects-call-thisargument-argumentslist )
05:38:12  <TimothyGu>by "realm EC" I mean the top-level EC where global code is being run. The terminology itself came from HTML.
06:14:06  * keithn28joined
06:18:13  * keithn28quit (Remote host closed the connection)
06:40:21  * joepie9116joined
06:45:04  * joepie9116quit (Remote host closed the connection)
06:47:49  * foamz29joined
06:51:53  * foamz29quit (Remote host closed the connection)
07:13:07  * aki_joined
07:13:52  * akirosequit (Ping timeout: 246 seconds)
07:13:52  * aki_changed nick to akirose
07:35:39  * mathiasbynens_part
07:36:27  * mathiasbynensjoined
08:09:56  * bpaytonjoined
08:21:18  * bpaytonquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:40:50  * bpaytonjoined
08:45:29  * bpaytonquit (Client Quit)
09:20:27  * akirosequit (Ping timeout: 240 seconds)
09:22:16  * akirosejoined
10:26:56  * bpaytonjoined
10:31:04  * bpaytonquit (Ping timeout: 240 seconds)
10:51:58  * IvanSanchez[m]quit (Remote host closed the connection)
10:52:16  * emilianobovetti[quit (Remote host closed the connection)
10:52:18  * saulh[m]quit (Remote host closed the connection)
10:59:00  * emilianobovetti[joined
11:28:30  * aki_joined
11:29:45  * akirosequit (Ping timeout: 252 seconds)
11:29:46  * aki_changed nick to akirose
11:32:03  * IvanSanchez[m]joined
11:32:10  * saulh[m]joined
11:46:21  * urdh22joined
11:49:10  * urdh22quit (Remote host closed the connection)
11:57:44  * jmdyckjoined
12:44:39  * k6ka17joined
12:45:20  * k6ka17quit (Remote host closed the connection)
12:49:43  * saulh[m]quit (Remote host closed the connection)
12:49:48  * IvanSanchez[m]quit (Remote host closed the connection)
12:49:54  * emilianobovetti[quit (Remote host closed the connection)
12:57:32  * emilianobovetti[joined
13:07:25  * nurupo13joined
13:12:10  * nurupo13quit (Remote host closed the connection)
13:27:36  * IvanSanchez[m]joined
13:27:42  * saulh[m]joined
13:35:03  * akirosequit (Ping timeout: 245 seconds)
13:35:14  * akirosejoined
15:25:09  * Zooklubba23joined
15:25:48  * Zooklubba23quit (Remote host closed the connection)
15:41:25  * aki_joined
15:41:43  * akirosequit (Ping timeout: 245 seconds)
15:41:43  * aki_changed nick to akirose
15:51:47  * Ishaq0joined
15:52:33  * Ishaq0quit (Remote host closed the connection)
16:03:36  * AtumTjoined
16:10:34  * theShirbiny15joined
16:13:19  * theShirbiny15quit (Remote host closed the connection)
17:04:56  * mar77i_joined
17:05:38  * mar77i_quit (Remote host closed the connection)
17:13:02  * gsneddersquit (Quit: leaving)
17:46:36  * aki_joined
17:47:36  * akirosequit (Ping timeout: 252 seconds)
17:47:36  * aki_changed nick to akirose
19:18:06  * jwaldenjoined
19:53:45  * aki_joined
19:54:04  * akirosequit (Ping timeout: 240 seconds)
19:54:05  * aki_changed nick to akirose
21:59:57  * aki_joined
22:00:28  * akirosequit (Ping timeout: 245 seconds)
22:00:28  * aki_changed nick to akirose
22:02:31  * jmdyckquit (Ping timeout: 246 seconds)
22:34:53  <graingert>devsnek: where are you implementing it?
22:35:07  <devsnek>graingert: https://github.com/devsnek/engine262
22:40:04  <graingert>Cool
22:40:38  <graingert>Hopefully it will start a domino effect for all the other implementations to add PTC /s
22:40:46  <devsnek>lol
22:41:06  <devsnek>i've just ignored TCO for now
22:41:18  <devsnek>e262 doesn't support suspending contexts yet
23:37:46  * jmdyckjoined