Go to file
Andrius Štikonas 3d1fd538a6 Add a test for macro functions. 2021-11-27 22:14:11 +00:00
M2libc@222726e4f8 Started stub for test1000 for self-hosting 2021-11-26 14:22:58 -05:00
test Add a test for macro functions. 2021-11-27 22:14:11 +00:00
.gitignore Minimal sanity test 2021-11-21 17:16:42 -05:00
.gitmodules Update cc_macro, cc_reader and port to M2libc. 2021-11-21 21:09:14 +00:00
LICENSE Initial commit 2021-01-10 08:19:41 -05:00
README update options list in README and --help output 2021-11-23 22:57:01 +01:00
README.org update options list in README and --help output 2021-11-23 22:57:01 +01:00
cc.c Preserve whitespace in tokenizer. 2021-11-27 21:22:07 +00:00
cc.h Match macro argument names with their expansions. 2021-11-27 17:52:11 +00:00
cc_core.c Update cc_macro, cc_reader and port to M2libc. 2021-11-21 21:09:14 +00:00
cc_env.c Spawn functions 2021-11-23 05:58:45 -05:00
cc_globals.c Spawn functions 2021-11-23 05:58:45 -05:00
cc_globals.h Spawn functions 2021-11-23 05:58:45 -05:00
cc_macro.c Deal with whitespace tokens in define statements. 2021-11-27 21:25:38 +00:00
cc_reader.c Preserve whitespace in tokenizer. 2021-11-27 21:22:07 +00:00
cc_spawn.c Spawn functions 2021-11-23 05:58:45 -05:00
gcc_req.h Initial import of functionality from M2-Planet 2021-01-10 09:34:10 -05:00
makefile Spawn is creating the processes correctly now 2021-11-22 21:41:11 -05:00

README

#+title: M2-Mesoplanet
Macro Expander Saving Our m2-PLANET

* About
M2-Mesoplanet simplifies the bootstrappable stage0/M2-Planet toolchain by imitating gcc's behaviour.

* Options
 - -f <path> :: input file (specify as many as necessary)
 - -o <path> :: output file (specify once)
 - --help  or -h :: output simple help message
 - --version or -V :: output file version

 - -E or --preprocess-only :: do not spawn processes to generate executable file
 - --max-string <N>  :: N is a number
 - --fuzz :: prevents execution of dangerous random garbage
 - --no-debug :: strip debug symbols from output