Commit Graph

394 Commits

Author SHA1 Message Date
a9c06fdb4a eval: call 0 arg functions, bugfix: remove extra eval stack pop 2024-01-24 09:46:27 -06:00
80d6785f2e arglists: fix incorrect eval_elem names 2024-01-24 09:34:18 -06:00
8b58307201 call function at end of arglist 2024-01-24 09:28:05 -06:00
c3ab2d9b57 partial arglist parsing, ABI conformance 2024-01-24 07:26:36 -06:00
ea77ec4032 eval/i2r: insert commas between sub-expressions as a separator 2024-01-22 16:49:49 -06:00
0924166588 eval: comma operators disappear 2024-01-22 16:01:01 -06:00
d49a2684cc eval: set funarg_max and funarg_no for each EE_FUNC 2024-01-22 10:43:57 -06:00
cd808539c3 eval: count number of function arguments in invocation 2024-01-22 10:14:39 -06:00
54c21f46f8 eval: count function args 2024-01-22 09:26:00 -06:00
e5fb2f3a09 evalop: two operands comment 2024-01-21 11:14:20 -06:00
4a11154583 evalop: push eval_elem only once 2024-01-21 11:06:37 -06:00
c7248232cf evalop: correct comments 2024-01-21 10:53:53 -06:00
a9352fdeb3 evalop: convert if/else to switch statement 2024-01-21 10:41:23 -06:00
468a4232af evalop: addressing mode 2024-01-21 10:34:50 -06:00
9323ccd77e combine similar eval ops 2024-01-21 09:11:42 -06:00
b7f2655916 evalop: set up for mul, div operations 2024-01-21 08:54:09 -06:00
f479dcb5b5 gen: use subtypes, operator buffer 2024-01-21 08:09:30 -06:00
eb4b29f964 completion: -e option 2024-01-20 12:26:06 -06:00
d68b07f231 main: -e showeval option 2024-01-20 12:25:34 -06:00
dc2cda070d gen: buffer output 2024-01-20 12:05:48 -06:00
aefbca6519 todo: output file buffering 2024-01-20 11:18:50 -06:00
6470f9dadf sprint bug 2024-01-20 11:13:02 -06:00
c54e37d5b4 evalop: construct operand names before evaluating 2024-01-20 11:11:04 -06:00
d32735b2be todo: handle functions in expression eval 2024-01-20 09:54:35 -06:00
62b853e8b1 gen: showeval, improved operand analysis 2024-01-20 09:53:08 -06:00
2134ad42e6 merge new-eval, removing duplicated eval 2024-01-20 07:39:23 -06:00
0cb0988182 fully merge separate buildarch expression evaluators 2024-01-20 07:33:28 -06:00
0f2cc784eb LangDef: more buildarch-generic code generation 2024-01-20 06:59:00 -06:00
4588c4fc34 remove debug output 2024-01-19 16:01:48 -06:00
be5bd4d5fe move func/var identification away from operator eval 2024-01-19 15:59:05 -06:00
dcb6a77c30 tests: distinguish passing todo tests 2024-01-19 14:24:33 -06:00
8d116cecea tests: comments, documentation 2024-01-19 14:17:52 -06:00
259f050003 tests: TODO targets that pass 2024-01-19 14:02:12 -06:00
03ee6ecd08 tests: TODO targets 2024-01-19 13:54:39 -06:00
991b6259c2 tests: function-function expression 2024-01-19 10:39:17 -06:00
67d3a45adc gen_findvar, gen_findfunc 2024-01-19 10:34:13 -06:00
d855b5506b i386: do not copy args to stack 2024-01-19 06:39:12 -06:00
bf96ae53a5 todo: consider overhauling expression evaluation 2024-01-18 19:52:16 -06:00
4bc76d91bf eval_elem enum names changed 2024-01-18 18:56:26 -06:00
0d8ff486db gen: partial migration of eval functions 2024-01-18 13:19:27 -06:00
3ea76d4685 remove debug output 2024-01-18 11:18:05 -06:00
a0f722750f gen_eval, remove gen_x86_64_eval 2024-01-18 11:16:36 -06:00
07bc6a1461 pnode: allow global asm,ext, lex: LSCOLON 2024-01-17 14:35:13 -06:00
aa8fce2ca1 eval: basic unary not operator, make: disable valgrind by default 2024-01-17 07:47:04 -06:00
f168dce162 do not move rsp if stacksize is zero 2024-01-16 21:38:20 -06:00
fd1873549f nested ifs 2024-01-16 20:58:49 -06:00
352e46cc64 sprint.h 2024-01-15 16:02:22 -06:00
a64a7117ee BUGS 2024-01-15 16:02:01 -06:00
8140ff2f37 sprint: replace sprintf usage 2024-01-15 15:59:50 -06:00
bcba92f1b0 sprint: hexadecimal 2024-01-15 15:05:56 -06:00