Commit Graph

195 Commits

Author SHA1 Message Date
Miguel Lechon b2c901d60f [expr parser] Brace/bracket unary op required for set leaves. 2021-09-09 12:48:04 +02:00
Miguel Lechon c0a50bfe27 Discard and warn against conflicting expression operators. 2021-09-09 12:21:03 +02:00
Miguel Lechon c6c790e50d expression parser; first pass. 2021-09-07 18:16:57 +02:00
Miguel Lechon c0a56dbcda tweak expression parser interface. 2021-09-03 13:12:06 +02:00
Allen Webster b5f9186786 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-09-02 19:49:18 -07:00
Allen Webster eef0ff2577 better lexer testing in sanity_tests 2021-09-02 19:49:09 -07:00
Allen Webster 213c20fd93 update lexer to new symbol parsing rule 2021-09-02 19:34:28 -07:00
Allen Webster 5a1462faee clean house on old examples; sketch out outline for new examples 2021-09-02 19:29:40 -07:00
Allen Webster f26bbc2c37 remove dead files md_posix.c, todo.txt 2021-09-02 18:40:29 -07:00
ryanfleury ad07656a48 partial docs pass 2021-09-02 03:54:46 -06:00
Allen Webster 131876018a expression parser skeleton (look for @expr_parser comments) 2021-09-01 21:12:55 -07:00
Allen Webster a2766a2e0c clean up old samples; mark md_c_helpers with an error; remove c helper tests 2021-09-01 19:01:27 -07:00
Allen Webster 4452663046 make print helpers optional 2021-08-27 14:55:32 -07:00
Allen Webster abf9ca40b1 memset/memmove overrides 2021-08-25 09:17:00 -07:00
Allen Webster 52f975fb8b fix some bugs with new build script 2021-08-24 21:42:38 -07:00
Allen Webster 78bfd000d4 min/max macros 2021-08-24 21:16:33 -07:00
Allen Webster 5ebb2fbfd9 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-08-19 20:37:29 -07:00
Allen Webster 80805e08ee 3-point file iteration API; unicode support on win32 2021-08-19 20:37:21 -07:00
ryanfleury ccdb41ce22 reconstructed string - metadesk pretty printer - messy first pass 2021-08-18 02:28:39 -06:00
ryanfleury d213f0362f string generation feature options + implementations + tests 2021-08-18 01:46:55 -06:00
ryanfleury 1cd4cc4d60 kill old debug string printer 2021-08-18 01:09:11 -06:00
ryanfleury e3047dc4a4 new debug string list generation helper, intended to replace old printer 2021-08-18 01:08:46 -06:00
Allen Webster 52d717c2b9 put in arena-put-back optimization 2021-08-13 11:34:18 -07:00
Allen Webster 70e6daf2dd linux low level memory implementation (not tested on linux yet) 2021-08-13 11:28:01 -07:00
Allen Webster 4ab0adf9cc overridable scratch; remove the tedious explicit thread init 2021-08-13 11:19:03 -07:00
Allen Webster fcda88e1cd reduce arena overrides; tidy up organization of default control macros; eliminate arena casts by directly relying on MD_IMPL_Arena in header 2021-08-13 10:03:28 -07:00
Allen Webster d0953c883d arena experiment; switch from function pointer overrides to macro overrides 2021-07-25 15:28:50 -07:00
Allen Webster a0cc57ebd2 default feature control macros 2021-07-21 17:37:28 -07:00
Allen Webster 37484ea0a6 thread context scratch system; converge on transition idiom in sample code 2021-07-21 16:03:39 -07:00
Allen Webster c6df111fb1 adding arena (p8) - done 2021-07-20 22:32:30 -07:00
Allen Webster bf60e1a8f7 adding arena (p7) 2021-07-20 22:23:58 -07:00
Allen Webster a54f8b893f adding arena (p6) 2021-07-20 22:17:03 -07:00
Allen Webster 2953d97c53 adding arena (p5) 2021-07-20 22:04:37 -07:00
Allen Webster a2524640ad adding arena (p4) 2021-07-20 22:00:56 -07:00
Allen Webster 863834ad6a adding arena (p3) 2021-07-20 21:56:25 -07:00
Allen Webster ba20ee9b14 adding arena (p2) 2021-07-20 21:48:44 -07:00
Allen Webster 5e39bc8f2e adding arena (p1) 2021-07-20 21:30:22 -07:00
Allen Webster d937a99b51 implementation of arena constructed on reserve/commit/decommit/release 2021-07-20 21:23:14 -07:00
Allen Webster 81292bfb24 try putting it all in one .c file 2021-07-20 20:25:05 -07:00
Allen Webster 6a00e92c8f setup arena idea 2021-07-20 19:59:15 -07:00
ryanfleury 7740bd0c95 remove todos 2021-07-04 14:14:14 -06:00
ryanfleury 1468129681 todo 2021-07-04 14:13:33 -06:00
ryanfleury 72a6924a69 get toy language building again, get tests passing again 2021-07-03 13:41:22 -06:00
Allen Webster 687dcc81de hand written c-style hex string from integer 2021-07-03 12:32:42 -04:00
Allen Webster e0399ef837 upgrade the string join function 2021-07-03 11:24:30 -04:00
Allen Webster 0f53a4379f give cl the attention it needs so it will work with us on C++ language version detection 2021-07-03 11:14:20 -04:00
Allen Webster fb865cea4b build with clang; C++ version cracking (except in cl compiler) 2021-07-03 11:00:12 -04:00
ryanfleury 9ff0392f04 big naming pass for main API 2021-07-02 17:15:51 -06:00
ryanfleury 33bde8cc2f fix bug with child/tag-from-index, in accordance with opl change 2021-07-01 12:53:21 -06:00
ryanfleury 359456fbc6 error for unnamed-set-child-of-implicitly-delimited-set rule; pass all tests 2021-07-01 11:54:24 -06:00