The PLAtform NEutral Transpiler
Go to file
Andrius Štikonas 185ef7a7c2 Improve handling of compound assignment operators.
Previously, compound assignment operators were replaced in preprocessor.
This only worked for simple cases where we only had 1-token variable.

This commit switches to proper implementation in the parser.
2021-11-15 00:06:08 +00:00
M2libc@818fcfb333 Improve handling of compound assignment operators. 2021-11-15 00:06:08 +00:00
docs Release_1.9.0 2021-10-03 09:34:22 -04:00
test Improve handling of compound assignment operators. 2021-11-15 00:06:08 +00:00
.gitignore whitespace 2021-01-12 02:57:35 +01:00
.gitmodules Starting to prepare for the use of the M2libc standard 2021-01-10 10:02:58 -05:00
CHANGELOG.org Release_1.9.0 2021-10-03 09:34:22 -04:00
HACKING Fix issues with HACKING document 2021-06-23 20:12:20 -04:00
INSTALL Fixing of ommissions provided by akkartik 2018-08-31 16:11:00 -04:00
LICENSE Initial commit 2017-11-05 09:01:20 -05:00
README.md Removed obsolete reference to bootstrap directory 2020-11-20 05:34:11 -05:00
cc-minimal.c Replace file_print with fputs 2021-04-03 18:56:55 -04:00
cc.c Improve handling of compound assignment operators. 2021-11-15 00:06:08 +00:00
cc.h Add riscv64 port. 2021-10-02 11:59:21 +01:00
cc_core.c Improve handling of compound assignment operators. 2021-11-15 00:06:08 +00:00
cc_globals.c Add a preprocessor-only mode 2021-01-05 22:53:04 +00:00
cc_globals.h Add a preprocessor-only mode 2021-01-05 22:53:04 +00:00
cc_macro.c Fix typos / add copyright. 2021-11-11 15:21:28 +00:00
cc_reader.c Improve handling of compound assignment operators. 2021-11-15 00:06:08 +00:00
cc_strings.c Add riscv64 port. 2021-10-02 11:59:21 +01:00
cc_types.c Implement variable dereferencing. 2021-11-10 00:14:30 +00:00
gcc_req.h Harmonized License headers and added missing license headers 2018-10-17 19:27:06 -04:00
known_issues.org Add basic test for multi-dimensional arrays 2021-11-07 19:21:41 -05:00
makefile Move more functionality into M2libc 2021-04-03 22:41:52 -04:00
makefile-tests Improve handling of compound assignment operators. 2021-11-15 00:06:08 +00:00
sha256.sh Update ELF headers and sha256 function to better support FreeBSD 2020-10-16 12:00:42 -04:00

README.md

M2-Planet

The PLAtform NEutral Transpiler, when combined with mescc-tools; allows one to compile a subset of the C language into working binaries with introspective steps inbetween.

A lovely set of examples of M2-Planet programs are in tests but the most surprising part of all M2-Planet can self-host M2-Planet.

Further more M2-Planet is cross-platform and self-hosting across platforms with fully deterministic builds enabling perfect reproducibility.