Commit Graph

43 Commits

Author SHA1 Message Date
Andrius Štikonas 4f17e046e8 Fix support for arrays of structs. 2022-12-07 23:47:17 +00:00
Andrius Štikonas 62b53a554e Implement fixed sized integers: (u)int8_t, (u)int16_t, (u)int32_t. 2022-12-04 02:04:36 +00:00
Andrius Štikonas a9a0fe670b Fix doubly indirect struct type. 2022-12-02 21:59:20 +00:00
Andrius Štikonas 7e7558768a Add support for global structs. 2022-11-05 23:30:46 +00:00
Andrius Štikonas cbd7f67e93 Fix a typo. 2022-06-22 18:23:26 +01:00
Jeremiah Orians 73b39a8981
Took 4 days to find this segfault 2022-05-23 23:51:38 -04:00
Andrius Štikonas 6ebe45f369 Implement variable dereferencing. 2021-11-10 00:14:30 +00:00
Andrius Štikonas 4c310a3f6d Add a missing newline. 2021-11-02 22:04:11 +00:00
Andrius Štikonas ae48dbd6cb Add riscv64 port. 2021-10-02 11:59:21 +01:00
Jan (janneke) Nieuwenhuizen d223581d4e Skip "extern" in type definitions.
This makes supporting gcc >= 10 easier in GNU Mes.

* cc_types.c (type_name): Skip "extern".
2021-05-02 16:14:53 +02:00
Jeremiah Orians d80d8a652b
Move more functionality into M2libc 2021-04-03 22:41:52 -04:00
Jeremiah Orians 46cf81af83
Replace file_print with fputs 2021-04-03 18:56:55 -04:00
Jeremiah Orians 921cc86ce6
First generation implemention of typedef 2021-01-02 22:00:02 -05:00
Jeremiah Orians e451abd667
Fix e25c1995aa SCM MES regression 2021-01-01 15:55:34 -05:00
Jeremiah Orians c220d14928
Catching some segfaults 2020-12-31 09:53:05 -05:00
Jeremiah Orians e25c1995aa
Make types more proper 2020-12-27 21:51:46 -05:00
Jeremiah Orians eaf3861954
Fix failing tests on x86 2020-12-15 19:02:32 -05:00
deesix 0bded017b9 aarch64: recognize the new AArch64 target architecture
Now, aarch64 is valid for --architecture on the command-line. Accordingly,
the global variable Architecture is set to the new AARCH64 constant.
Manual page updated.

Register size is configured to 8 bytes.
2020-02-01 21:23:49 +01:00
Jeremiah Orians 0709770730
Enabled forgotten cleanup scripts and add logic to catch ?alloc errors 2020-01-25 14:15:45 -05:00
Jeremiah Orians 4b2a048f14
Start reducing number of segfaults possible in M2-Planet 2020-01-22 18:03:28 -05:00
Jeremiah Orians 375fa888d0
added support for nested structs thanks to fosslinux 2019-12-23 06:39:45 -05:00
Jeremiah Orians a10d822cff
fix segfault found thanks to fosslinux 2019-12-18 19:43:28 -05:00
Jeremiah Orians dea4f902b7
Adding support for additional type compatibility with C and backported
regression fix for ARMv7l debug headers
2019-10-27 12:55:07 -04:00
Jeremiah Orians 18a66f6296
Rearranged types to ensure better compliance with C type rules 2019-10-26 22:45:02 -04:00
Jeremiah Orians c2cbc518f9
Fixed missing updated test23 answers and added support for mes.c types 2019-10-26 15:40:35 -04:00
Jeremiah Orians 465b4c9c31
Fixup behavior on 64bit platforms 2019-06-19 21:43:34 -04:00
Jeremiah Orians f43aa4a44c
Minor tweaks to better match amd64 assembly 2019-06-03 21:01:14 -04:00
Jeremiah Orians e55dc78597
4/24 working tests for AMD64 2019-04-19 17:43:59 -04:00
Jeremiah Orians 420f8b62b9
1/24 working tests for AMD64 Port 2019-04-17 20:19:17 -04:00
Jeremiah Orians c1b3f4c60d
Adding custom type for mes.h 2019-01-14 19:05:49 -05:00
Jeremiah Orians 9a2c6b4019
Harmonized License headers and added missing license headers 2018-10-17 19:27:06 -04:00
Jeremiah Orians 56db0fcad4
Breaking change in M2-Planet 2018-10-17 16:08:04 -04:00
Jeremiah Orians e249069cac
Release 1.0.0 2018-08-26 16:34:31 -04:00
Jeremiah Orians 162df4f378
Enhanced core to simplify implementation 2018-08-16 12:01:55 -04:00
Jeremiah Orians 2e1148fe3e
Release 0.3 2018-08-12 13:11:02 -04:00
Jeremiah Orians dc94afb558
Lots of clean and enhancements to simplify task of writing it in assembly. 2018-07-19 22:33:02 -04:00
Jeremiah Orians 280b2ade52
bug clean up and new functionality 2018-06-01 20:05:27 -04:00
Jeremiah Orians cba66b015b
Catching up on enhancements 2018-05-26 16:33:00 -04:00
Jeremiah Orians fdbb577784
Added support for passing of function pointers via FUNCTION 2018-05-02 20:56:44 -04:00
Jeremiah Orians a035d955e9
Add support for anonymous unions inside of structs 2018-04-27 15:57:48 -04:00
Jeremiah Orians 426a92ab09
Finally became self-hosting 2018-02-23 21:18:23 -05:00
Jeremiah Orians 35c9d4036f
Incorporate breaks into loops and reduce library dependencies 2018-01-31 23:14:40 -05:00
Jeremiah Orians f6752b2802
Added additional functionality such as mixed structs, do while loops,
gotos and tests for the new functionality
2018-01-24 20:00:22 -05:00