Commit Graph

93 Commits

Author SHA1 Message Date
Allen Webster e5c9b49c83 [examples] write labels.mdesk with examples of labels 2021-09-13 18:09:38 -07:00
Allen Webster feafba93f3 tidy up the reference macro, rename dereference function; [examples] tidy up the commentary about for loop macros 2021-09-13 17:21:12 -07:00
Miguel Lechon b83546a60a [expr parser] More tests. 2021-09-12 19:55:14 +02:00
Allen Webster 6dd7acb1a2 iterating on debug dump and reconstruction API details 2021-09-10 14:46:41 -07:00
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
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 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 500c310bcc setup new build script 2021-08-20 23:45:00 -07:00
ryanfleury d213f0362f string generation feature options + implementations + tests 2021-08-18 01:46:55 -06: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 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 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
ryanfleury 0eee7e5a6c use mdesk extension instead of md 2021-07-04 16:35:42 -06:00
miguel.lechon 90073dc802 Test node text flags independently. 2021-07-04 12:11:49 +02:00
miguel.lechon 6e6512b09d Remove outdated grammar test. 2021-07-04 11:53:00 +02:00
ryanfleury 72a6924a69 get toy language building again, get tests passing again 2021-07-03 13:41:22 -06:00
Allen Webster e0399ef837 upgrade the string join function 2021-07-03 11:24:30 -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 f15fc77bfa introspection helper docs; remove redundant node-sibling helper; ensure that any of the introspection APIs doing string matching take match flags 2021-06-30 22:54:56 -06:00
ryanfleury 487ef06b4f get rid of digraph comments, use regular tests as ways of verifying that there is one node per symbolic character. docs pass #1 2021-06-30 15:50:03 -06:00
Allen Webster a477709af3 setup lexing to work (pretty well) with JSON) 2021-06-30 17:46:31 -04:00
Allen Webster bb6face7fe fix some broken 'error' tests 2021-06-30 17:13:31 -04:00
Allen Webster 83b02b1772 update single-line-comment tests 2021-06-30 16:51:38 -04:00
Allen Webster e0ed76c62f Merge branch 'master' of https://github.com/Dion-Systems/metadesk 2021-06-30 15:00:47 -04:00
Allen Webster 1bcd741eeb fill out tests for more corner cases 2021-06-30 14:59:26 -04:00
ryanfleury 5358883431 get stb_sprintf working for MD_String8s 2021-06-30 12:47:53 -06:00
ryanfleury 097541c9b7 fix build errors; remove dumb non-working printf annotations; move C++ user-defined-literal thing into the header 2021-06-30 12:17:30 -06:00
Allen Webster 3648548cfe condense string flags 2021-06-30 14:09:32 -04:00
ryanfleury bb8bfd4254 update sanity tests in accordance with new tag string rule 2021-06-29 23:03:15 -06:00
ryanfleury 0dea16c4c1 ensure MD_Error node parent is filled out always; cleanup a few things 2021-06-29 22:40:07 -06:00
ryanfleury f73f643aed kill old parser 2021-06-29 20:48:37 -06:00
ryanfleury 055c152279 update usage of tree outputter 2021-06-29 20:43:58 -06:00
ryanfleury fb5f420d07 converge new parser on errors and everything 2021-06-29 20:43:58 -06:00
ryanfleury c3c863c7fa c++ build test, add user-defined-literals for metadesk strings 2021-06-29 20:43:58 -06:00
Allen Webster 4c6ab88708 test cases for integer/float lexing to get C style integers, JSON/C style floats 2021-06-28 11:09:27 -04:00
Allen Webster e9c5f28e4b apply grammar plan to sanity tests 2021-06-28 08:06:18 -04:00
ryanfleury 647dd40a0f kill char literal 2021-06-24 22:57:06 -06:00
ryanfleury d1fe089804 bugfix; build dummy root node for error marker nodes, to ensure that they have an accurate way to tell their location 2021-06-24 22:46:56 -06:00