Commit Graph

224 Commits

Author SHA1 Message Date
Jeremiah Orians 589217b3b6
Minor cleanup and removal of unneeded whitespace 2018-03-05 19:13:20 -05: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
Jeremiah Orians 9a919d20ea
Minor reordering of tests and the addition of unary - and ! support 2018-01-21 14:42:09 -05:00
Jeremiah Orians 4602adb0b1
Converted from legacy M2-Planet Input.c Output.c to M2-Planet -f input.c ... -f inputN.c -o output.M1 2018-01-20 22:56:50 -05:00
Jeremiah Orians 4916fb9385
Put common x86 platform logic in a shared folder to reduce duplicate code 2018-01-20 18:33:11 -05:00
Jeremiah Orians 49c8b5b87d
Converted for.c example into a test 2018-01-20 18:21:20 -05:00
Jeremiah Orians e1650309c9
Proving M2-Planet can compile real programs with the help of mescc-tools 2018-01-20 17:24:45 -05:00
Jeremiah Orians cb866c127b
Initial prototype for struct support in M2-Planet (it is still very ugly) 2018-01-11 21:46:20 -05:00
Jeremiah Orians 92eae5b771
Started to move type information out of hard-coded logic 2018-01-11 16:31:32 -05:00
Jeremiah Orians 3b3e8f73f6
Added support for <. >= and > expressions 2018-01-09 20:45:10 -05:00
Jeremiah Orians 9fe1a878cc
Added CONSTANT to the language and fixed Capitalization problems 2017-12-19 15:44:27 -05:00
Jeremiah Orians 18e433def4
Broke out globals and now reduce the memory churn in string creation 2017-12-15 18:17:29 -05:00
Jeremiah Orians e25401c0b8
Moved strings to the bottom of the output 2017-12-14 17:01:30 -05:00
Jeremiah Orians b994d05d7d
Added support for assembly statements 2017-12-12 16:24:32 -05:00
Jeremiah Orians 3dd9f4c1d0
Eliminated the global stack and expanded type support to include integer arrays 2017-12-06 20:28:08 -05:00
Jeremiah Orians 32e1f700bc
Isolated global_token to cc.c and added FOR Loop support along with example 2017-11-08 18:05:54 -05:00
Jeremiah Orians f3e3b6eb5b
Removed need for global output list 2017-11-07 19:51:23 -05:00
Jeremiah Orians f6e2e1b89f
Make M2-Planet more mescc friendly to simplify bootstrapping 2017-11-05 17:13:02 -05:00
Jeremiah Orians c46b3fc379
Removed need for an ENUM in bootstrapping 2017-11-05 17:02:37 -05:00
Jeremiah Orians 3468843c89
Example files should one wish to compile working programs for x86 2017-11-05 15:07:16 -05:00
Jeremiah Orians fd27258305
Initial public release of M2-Planet 2017-11-05 09:23:17 -05:00
Jeremiah eff5d157a3
Initial commit 2017-11-05 09:01:20 -05:00