Commit Graph
85 Commits
Author SHA1 Message Date
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
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
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 297b1e9259 introduce Reserved token kind; get parser (mostly) working with new token kind 2021-06-30 16:49:37 -04:00
Allen Webster dbfd86d558 simplify single line comment trim 2021-06-30 16:02:46 -04:00
Allen Webster 8c41bea434 emit appropriate errors for BrokenComment and BrokenStringLiteral tokens 2021-06-30 15:50:31 -04:00
Allen Webster 1454f04265 detect broken strings in the lexer 2021-06-30 15:46:39 -04:00
Allen Webster 174e995e00 detect broken comments in the lexer 2021-06-30 15:39:03 -04:00
Allen Webster ac462ca85c Merge branch 'master' of https://github.com/Dion-Systems/metadesk 2021-06-30 15:29:44 -04:00
Allen Webster 5ef77634ef tighter implementation of group mechanism 2021-06-30 15:28:27 -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
Allen Webster 3648548cfe condense string flags 2021-06-30 14:09:32 -04: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 15aa4d5b32 flesh out string -> integer functions 2021-06-28 10:45:55 -04:00
Allen Webster e9c5f28e4b apply grammar plan to sanity tests 2021-06-28 08:06:18 -04:00
Allen Webster 05399a17b6 forgot to save some changes for last commit 2021-06-28 07:26:57 -04:00
Allen Webster 0d57e26ba5 finish the elimination of MD_PushSibling 2021-06-28 06:44:06 -04:00
Allen Webster 9a93a40135 [notes] things to cover in intro materials 2021-06-28 06:28:09 -04:00
Allen Webster 0724d0a910 merge 2021-06-27 10:21:41 -04:00
Allen Webster aba3c9a164 [api] introduced linked list macros with z-check z-set upgrade 2021-06-12 12:02:44 -07:00
Allen Webster 0832e601b7 cut namespaces 2021-06-12 10:17:14 -07:00
Allen Webster f54f1771b9 [maps] queues instead of stacks to keep things in order 2021-06-12 10:12:55 -07:00
Allen Webster fb999476fa [map] overhaul the maps, fewer parts, fewer paths, fewer knobs; same great results 2021-06-06 20:15:48 -07:00
Allen Webster d390326e17 [impl] another test for a weird grammar problem 2021-06-06 01:28:03 -07:00
Allen Webster bf2d161158 [impl] more passing over the parser; found an odd part and made a test to reveal a bug 2021-06-06 01:06:36 -07:00
Allen Webster dd445676f5 [impl] passing over parser implementation (pass 1) 2021-06-05 23:39:26 -07:00
Allen Webster c3ec42c70c [api] cut subtle wrapper node constructors 2021-06-05 22:56:35 -07:00
Allen Webster 6450cd703c [impl] test for string contents; reduce all string lexing; notes about delimiter error tokens 2021-06-05 22:40:43 -07:00
Allen Webster 19cdec56cd [api] decompose error pushing functions; expose to main API 2021-06-05 21:47:47 -07:00
Allen Webster d1896fc74b [api] decompose the message printing API by one notch 2021-06-05 21:02:51 -07:00
Allen Webster d0c9167eb6 [impl] reduce two node construction helpers to one; note about how to reduce the one helper with the root/file node concept 2021-06-05 20:52:43 -07:00
Allen Webster be42d5d126 [namespace] brainstorm namespace fix ideas 2021-06-05 18:53:43 -07:00
Allen Webster 8e1b38e21f [namespace] uncovered bug in parser; added test case for namespaces 2021-06-05 18:27:02 -07:00
Allen Webster c1efce845d merge 2021-05-21 18:02:46 -07:00
Allen Webster b7252121fe cleanup; map interface idea 2021-05-21 17:53:20 -07:00
Allen Webster 78c9d8467d remove the unused root first/last from parse ctx 2021-04-17 02:24:51 -07:00
Allen Webster b915615716 more arranging functions; MD_MakeNode 2021-04-17 01:26:39 -07:00
Allen Webster a5fe806f9e start arranging for more functions to be public; simplify set parse function 2021-04-17 01:08:05 -07:00
Allen Webster f5b8ccc4b0 refernce reorganize 2021-04-16 19:25:37 -07:00
Allen Webster f52362ef2c rename C helper types; cleanup pass over everything related to C helpers 2021-04-16 19:24:17 -07:00
Allen Webster 366eebca00 unify c generator naming 2021-04-16 18:37:37 -07:00
Allen Webster 87bd1cd6de sort out types only needed in the C helpers 2021-04-16 18:27:08 -07:00
Allen Webster 3c6cc0414d organize out C helpers 2021-04-16 18:17:46 -07:00
Allen Webster fe7fb421ca [docs] update wording through MD_CodeLoc 2021-04-05 23:05:29 -07:00
Allen Webster 4d43fb1ae4 [docs] update match flags 2021-04-05 21:45:36 -07:00
Allen Webster a0e5db5e64 [docs] wording on strings; sample of details and snippet on MD_String8List 2021-04-05 21:29:20 -07:00
Allen Webster b671c4fa6c Merge branch 'master' of https://github.com/Dion-Systems/metadesk 2021-04-02 17:30:27 -07:00
Allen Webster 2f3107adf6 [docs] update to work with docs baking system: 2021-04-01 22:50:21 -07:00
Allen Webster 4eaeaf5cd0 [docs] through the map types; add mkdir to namespaces build 2021-03-30 22:57:19 -07:00
Allen Webster e1c0656e73 [plugin macros] clean up all usage of context; also document a few more things 2021-03-30 21:23:05 -07:00
Allen Webster cc38ed2c96 [main] fix initializer of MD_Node 2021-03-30 20:52:22 -07:00
Allen Webster c30090c483 [docs] documentation of MD_Node 2021-03-30 19:02:00 -07:00
Allen Webster e38dbca401 [docs] document node kinds and flags; couple random tweaks 2021-03-30 18:19:26 -07:00
Allen Webster 14549f8483 [docs] through MD_NodeKind 2021-03-21 22:14:13 -07:00
Allen Webster 560be2c42a [base] remove the wrapper FindLastSubstring 2021-03-21 21:32:22 -07:00
Allen Webster b24b0e0491 [map] fix header signature for StringMap 2021-03-21 20:49:16 -07:00
Allen Webster 369ebd7a62 [docs] catch up to new map integration; change function forward declarations for map 2021-03-21 20:40:43 -07:00
Allen Webster 52fdfdbc38 fixup docs to match this version of the code 2021-03-14 18:43:23 -07:00
Allen Webster b72a53e84c copy over docs from the wrong repo; take out error/warning wrappers 2021-03-14 17:54:04 -07:00
Allen Webster a0ef78a49a trim -> skip/chop 2021-03-14 17:40:57 -07:00
Allen Webster 9fe3c0f09a string split cleanup 2021-03-14 17:37:30 -07:00
Allen Webster 30b8466a12 string -> integer implementation 2021-03-14 17:35:12 -07:00