Commit Graph

292 Commits

Author SHA1 Message Date
Jeremiah Orians 95fa0de49f
Fixed ARM build issue 2018-07-21 12:45:19 -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 64531def3b
Performance enhancement by elimination of string copying 2018-06-28 16:40:51 -04:00
Jeremiah Orians c454008656
Adding initial support for global initializers 2018-06-26 17:03:17 -04:00
Jeremiah Orians 4fb4e28405
Release 0.2 2018-06-21 21:33:50 -04:00
Jeremiah Orians 94a986bf44
Made output even more deterministic 2018-06-08 15:43:36 -04:00
Jeremiah Orians 688b546281
Added debug support for M2-Planet output 2018-06-06 21:37:19 -04:00
Jeremiah Orians 0bb6758a10
minimal build clean up and M1-macro enhancements 2018-06-05 21:08:15 -04:00
Jeremiah Orians 482858ae7c
Added M1-macro test 2018-06-01 22:52:30 -04:00
Jeremiah Orians dc32e7d4ba
Adding Hex2_linker test 2018-06-01 21:45:48 -04:00
Jeremiah Orians faed59f88c
Adding blood-elf test 2018-06-01 21:13:45 -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 8bb4145fe0
Improving Documentation to help new programmers get functional 2018-05-25 18:37:53 -04:00
Jeremiah Orians 847184a0da
Added support for Local functions 2018-05-03 19:07:44 -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 3f9808a19a
Added type promotion to allow progress on mes.c 2018-04-23 21:35:27 -04:00
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