08:58 |
awt |
!!ticker btc usd |
08:58 |
deedbot |
$28,389 |
| |
~ 3 hours 26 minutes ~ |
12:24 |
jonsykkel |
knuth man or boy test http://zzz.st/up/Ib5yxE05/ -----compiler-----> http://zzz.st/up/kVQGk6sI/ -----c99 translator-----> http://zzz.st/up/33XUxwCI/ -----lisptron-----> http://zzz.st/up/SwnQwKW1/ |
12:29 |
jonsykkel |
then idea is u need only virtual machine itself + translater like this for each target |
12:31 |
jonsykkel |
and put reader+compiler insted of knuth test |
12:42 |
jonsykkel |
then u cud for example add orig.src anotations to compiler output that translator turns into comments |
| |
~ 53 minutes ~ |
13:36 |
asciilifeform |
jonsykkel: what does it do with 'LDC', 'RTN', 'LDF', etc. crapola ? ( not appears in the c coad ) |
| |
↖ |
13:36 |
* |
asciilifeform thought jonsykkel was making a proper hand-sewn thing outta actual x86 asm |
13:38 |
jonsykkel |
asciilifeform: how u mean not appears? appears! |
13:38 |
asciilifeform |
jonsykkel: in the macro defs, that is |
13:38 |
jonsykkel |
asciilifeform: making hand sewn x86 after im satisfied with c machine, yes |
13:38 |
asciilifeform |
wtf are these, and how do they execute ? |
13:38 |
jonsykkel |
ah |
13:39 |
jonsykkel |
http://zzz.st/code/smalisp/tree/src/c99/secd.c |
13:39 |
asciilifeform |
a ty |
13:39 |
jonsykkel |
that c trash is #included into that |
13:44 |
jonsykkel |
gota do it like this, given "bytecode" is linked list and not just sequence of bytes |
13:48 |
asciilifeform |
makes sense |