tynet-lichat/shirakumo - IRC Chatlog
Search
7:39:35
Colleen
I'm assuming you can fully control the path of all outputs and side-effect outputs (e.g. .pdb) of the compilers
7:39:35
SAL9000
I'm assuming you can fully control the path of all outputs and side-effect outputs (e.g. .pdb) of the compilers
7:40:43
shinmera
I mean that's kinda what I have now: https://github.com/Shinmera/forge/blob/master/basic.lisp#L381
7:41:22
shinmera
the problematic line being 377, as it tries to execute this without the context of a properly initialised operation.
7:41:49
Colleen
so the issue is that you don't know CACHE-DIRECTORY yet?
7:41:49
SAL9000
so the issue is that you don't know CACHE-DIRECTORY yet?
7:42:02
shinmera
and target-platform
7:42:11
shinmera
output-file-type might also try to access the compiler.
7:42:38
shinmera
basically during MAKE-EFFECT the OP is just a prototype.
7:43:13
Colleen
So you either need an "assumptions mode" where those methods are restricted in what they're allowed to do, or more lazy evaluation
7:43:13
SAL9000
So you either need an "assumptions mode" where those methods are restricted in what they're allowed to do, or more lazy evaluation
7:43:38
shinmera
I don't know what I need
7:44:14
Colleen
assumptions mode = cache-directory et. al. must return something reasonable without accessing things that aren't initialized yet
7:44:14
SAL9000
assumptions mode = cache-directory et. al. must return something reasonable without accessing things that aren't initialized yet
7:45:57
shinmera
I have a different idea.
7:46:12
shinmera
or rather, something similar
7:46:44
shinmera
introduce a special registry called :compiler, which is only realised during plan execution.
7:49:59
shinmera
during planning we have to assume it's the same compiler anyway no matter what
7:50:08
shinmera
makes no sense otherwise
8:20:13
shinmera
https://chat.tymoon.eu/data//shirakumo/0e3fe3337a7b33cc757054e137121e5f6ee17983a6207209b7c6369a787c4f00.png
8:20:41
shinmera
well, it computes *a* plan
8:20:51
shinmera
just not the right plan....
8:30:16
shinmera
Wait, no, it is the correct plan, nvm.
8:31:07
shinmera
https://github.com/Shinmera/forge/blob/master/test/blueprint
8:58:31
selwyn
only thing i have managed to do today is to set up dual monitors :p
9:24:01
shinmera
Still a lot to do :( https://github.com/Shinmera/forge/blob/master/plan.lisp#L215-L221
14:33:35
Colleen
Figured I'd get a little closer to the action on Forge development :)
14:33:35
etimmons
Figured I'd get a little closer to the action on Forge development :)
18:16:01
selwyn
why don't they use lichat yet?