Commit graph

115 commits

Author SHA1 Message Date
Andrea Corallo
4c6272373d add defconst support 2020-01-01 11:37:45 +01:00
Andrea Corallo
f74ab3e9ef get right dependency during top level form evaluantion 2020-01-01 11:37:45 +01:00
Andrea Corallo
038f46c252 rename comp-slot-next -> comp-slot+1 2020-01-01 11:37:45 +01:00
Andrea Corallo
fca675dae3 fix varset and add a test 2020-01-01 11:37:45 +01:00
Andrea Corallo
59a428ed6c fix single function compilation 2020-01-01 11:37:45 +01:00
Andrea Corallo
555450c7b1 fix lambda handling and add a test for that 2020-01-01 11:37:45 +01:00
Andrea Corallo
4814c6b118 initial top level support (defvar working) 2020-01-01 11:37:44 +01:00
Andrea Corallo
29fcb6ca12 basic file compilation working 2020-01-01 11:37:44 +01:00
Andrea Corallo
37a794ce21 split final pass + some code rework 2020-01-01 11:37:44 +01:00
Andrea Corallo
3d9d7b3451 generalize code into comp.el for compile multiple funcitons 2020-01-01 11:37:44 +01:00
Andrea Corallo
2b51859d44 prepare for file compilation 2020-01-01 11:37:44 +01:00
Andrea Corallo
9913638cc5 use nrevese where necessary 2020-01-01 11:37:44 +01:00
Andrea Corallo
ff7093d74b some order into special vars 2020-01-01 11:37:43 +01:00
Andrea Corallo
43172dd01f fix relocs for all inliners 2020-01-01 11:37:43 +01:00
Andrea Corallo
7e92976bc7 fix last test broken by reload 2020-01-01 11:37:43 +01:00
Andrea Corallo
6cd45fbf37 rework stati object serialization 2020-01-01 11:37:43 +01:00
Andrea Corallo
6df64d170a fix relocation emission into comp.el 2020-01-01 11:37:42 +01:00
Andrea Corallo
76021e1e06 always release contex even in case of failure 2020-01-01 11:37:41 +01:00
Andrea Corallo
a102f471b3 emit relocs for callref too 2020-01-01 11:37:41 +01:00
Andrea Corallo
c698ac791b add authorship 2020-01-01 11:37:41 +01:00
Andrea Corallo
ad5488cad6 emit function relocation into structure 2020-01-01 11:37:40 +01:00
Andrea Corallo
d34eb7a39f reloc fist simple func 2020-01-01 11:37:40 +01:00
Andrea Corallo
620794aa93 emit function relocation name from comp.el 2020-01-01 11:37:40 +01:00
Andrea Corallo
5e06f2fc31 some clean-up into comp.el 2020-01-01 11:37:40 +01:00
Andrea Corallo
8bf2e4e282 add and call comp-add-subr-to-relocs 2020-01-01 11:37:40 +01:00
Andrea Corallo
5ebc3fc47c have subr name in limple 2020-01-01 11:37:40 +01:00
Andrea Corallo
79d4b6915c make use of data relocations 2020-01-01 11:37:39 +01:00
Andrea Corallo
20d42249ce emit reloc index 2020-01-01 11:37:39 +01:00
Andrea Corallo
c8a0b81f8f basic reload almost working 2020-01-01 11:34:02 +01:00
Andrea Corallo
6f6362207f add funcs into comp-ctxt 2020-01-01 11:34:02 +01:00
Andrea Corallo
765e57e2d2 improve relocation collection 2020-01-01 11:34:02 +01:00
Andrea Corallo
941937d295 disable const vect per function 2020-01-01 11:34:02 +01:00
Andrea Corallo
52089993aa no need to quote types into structs 2020-01-01 11:34:01 +01:00
Andrea Corallo
f4603ab674 render data_relocs vector 2020-01-01 11:34:01 +01:00
Andrea Corallo
bdcd8dd9fe some other renaming 2020-01-01 11:34:01 +01:00
Andrea Corallo
24fe275711 optimize self calls 2020-01-01 11:34:01 +01:00
Andrea Corallo
15e31a4a1f fix indent_to 2020-01-01 11:34:01 +01:00
Andrea Corallo
ac03653259 fix preceding-char 2020-01-01 11:34:00 +01:00
Andrea Corallo
4ed657604d inline negate 2020-01-01 11:34:00 +01:00
Andrea Corallo
757a959068 some renaming 2020-01-01 11:34:00 +01:00
Andrea Corallo
ab69bb6364 some minors 2020-01-01 11:34:00 +01:00
Andrea Corallo
29e17e08b3 add comp-emit-narg-prologue 2020-01-01 11:33:59 +01:00
Andrea Corallo
0c33a8ff4b fix &optional args 2020-01-01 11:33:59 +01:00
Andrea Corallo
b6e7df0926 rework args structures 2020-01-01 11:33:59 +01:00
Andrea Corallo
bb8f8f5cfa mark todos 2020-01-01 11:33:59 +01:00
Andrea Corallo
7dc99d5d51 add save-restriction support 2020-01-01 11:33:59 +01:00
Andrea Corallo
bdadeff503 add narrow-to-region + widen support 2020-01-01 11:33:59 +01:00
Andrea Corallo
128cc4a2f4 add record_unwind_protect_excursion support 2020-01-01 11:33:59 +01:00
Andrea Corallo
3e18100038 implement log-buffer 2020-01-01 11:33:59 +01:00
Andrea Corallo
5dda07d22c dipatcher support for helper_unwind_protect record_unwind_current_buffer 2020-01-01 11:33:58 +01:00