Commit Graph
100 Commits
Author SHA1 Message Date
Ryan FleuryandGitHub 23289461d2 fix discrepancy in win32 vs. linux memory reserve 2023-02-17 14:32:08 -08:00
ryanfleury 95ea556f34 Merge branch 'master' into dev 2022-02-17 14:19:24 -07:00
ryanfleury e9436ce07e correct a few issues in the api reference & remove old prototype for MD_MakeDetachedError 2022-02-17 14:19:11 -07:00
Ryan FleuryandGitHub 7b6751d96d Merge pull request #7 from bvisness/right-side-sloppy
Fix overflow bug with MD_StringMatchFlag_RightSideSloppy
2022-02-17 14:17:17 -07:00
Ryan FleuryandGitHub beb2562b14 Merge pull request #9 from bvisness/join-post
Actually use .post on MD_S8ListJoin
2022-02-17 14:16:15 -07:00
ryanfleury ecfe3314b6 robustify against /W4 on MSVC 2022-02-17 14:14:50 -07:00
Ryan Fleury 2ceb1a1d7a possible bugfix for eating up newlines too ambitiously when ending unscoped sets 2021-12-29 09:21:39 -07:00
Ryan Fleury 7f12b05741 sanity test for unscoped set newline-allowance (after first child) bug (?) 2021-12-29 09:09:34 -07:00
Ryan Fleury f1b1118b6e fix typo 2021-11-28 12:32:55 -07:00
Ryan Fleury 7b2b00d8da update node flag string table 2021-11-28 12:30:04 -07:00
Ryan Fleury f2a062b4c0 split -> splitter in split API 2021-11-28 12:25:54 -07:00
Ryan Fleury 2e120c7b4a add MD_S8ListJoinMid 2021-11-28 12:24:23 -07:00
Ryan Fleury 597b44d5a3 treat newlines as whitespace in MD_CharIsSpace 2021-11-28 12:22:50 -07:00
Ryan FleuryandGitHub 474c4af262 Merge pull request #6 from mmozeiko/macos
macOS support
2021-11-16 21:43:52 -07:00
Ryan FleuryandGitHub afc076187b Merge pull request #5 from mmozeiko/pthreads
add pthreads support to multi_threaded.c example
2021-11-16 21:43:07 -07:00
Ryan FleuryandGitHub 642d2cd895 Merge pull request #4 from mmozeiko/github-actions
add github actions
2021-11-16 21:42:52 -07:00
Ryan Fleury b07e706dfb [bugfix] do not use RootFromNode when calculating file coordinates, stop upwards search on the first NodeKind_File node 2021-11-05 15:18:21 -06:00
Ryan Fleury 3ca16a7c3a [docs] touchups 2021-11-05 14:51:26 -06:00
Ryan Fleury bad4062c2d [docs] fix typo 2021-11-05 14:41:15 -06:00
Ryan Fleury f09218bb57 [docs] fix copy/paste typo 2021-11-05 14:38:29 -06:00
Ryan Fleury d699873f5e [docs] remove opaque comments 2021-11-05 14:31:00 -06:00
Ryan Fleury 8c7771efb9 [docs] arena temp allocation docs 2021-11-05 14:29:15 -06:00
Ryan Fleury 0629a4bf7f [docs] arena docs 2021-11-05 14:25:00 -06:00
Ryan Fleury 1f9fd7d166 [docs] fix incorrect identifier style docs 2021-11-05 13:57:24 -06:00
ryanfleury 4683ee3313 [docs] fix prefix for token enums 2021-11-01 01:21:29 -06:00
ryanfleury 2defa09b86 [docs] fix unescaped thing 2021-11-01 01:20:00 -06:00
ryanfleury 4f5105f5d4 [docs] fix duplicate names 2021-11-01 01:16:48 -06:00
ryanfleury 5b984f5bc1 [docs] missing string numeric parse docs 2021-11-01 01:14:54 -06:00
ryanfleury a7efe71a50 [docs] reorder/reorganize/consistencyify docs; do mostly all missing pieces 2021-11-01 01:11:47 -06:00
ryanfleury 8ec2e23a1d [docs] remove some stuff 2021-10-20 19:34:00 -06:00
Ryan Fleury a77389a64d Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-10-11 11:27:37 -06:00
Ryan Fleury 8b57ba0588 [docs] string generation; file-system helper; command-line helper; tree matching; message formatting 2021-10-11 11:27:29 -06:00
Ryan Fleury 6aadfcc34b [docs] partial docs pass for code loc format strings 2021-10-08 17:47:38 -06:00
Ryan Fleury 85ca106e15 [docs] node introspection docs convergence 2021-10-08 17:41:06 -06:00
Ryan Fleury d5e8f91363 [docs] map docs 2021-10-08 16:52:43 -06:00
ryanfleury 4657327976 override for arena cap getter 2021-09-24 20:47:23 -06:00
ryanfleury 6ba42a67e6 make sprintf an overrideable 2021-09-24 19:09:46 -06:00
ryanfleury c73e6961a5 for real this time 2021-09-24 18:57:32 -06:00
ryanfleury 612fad86cf allow optional include of stb sprintf 2021-09-24 18:56:25 -06:00
Ryan Fleury 1b31e6f41d work/tests for reconstruction string' 2021-09-17 01:06:57 -06:00
Ryan Fleury 4a8f470149 remove generate flags from reconstruction string gen 2021-09-16 23:58:43 -06:00
Ryan Fleury 424bd25508 treat all cmd line options after a -- as plain inputs 2021-09-16 23:36:17 -06:00
Ryan Fleury 07ff2afa72 set implicitly-delimited separator set node flags correctly 2021-09-16 23:31:28 -06:00
Ryan Fleury bd754c1816 zero-init 2021-09-16 22:44:52 -06:00
Ryan Fleury 49e7e19364 merge 2021-09-16 22:14:09 -06:00
Ryan Fleury d9e5655564 fix impl names of string gen functions 2021-09-16 22:13:32 -06:00
Ryan Fleury 593da9bf99 parse node set in header 2021-09-16 20:56:19 -06:00
Ryan Fleury c04b7dd04d eliminate ParseTagList and redundant parse result fields 2021-09-16 20:40:06 -06:00
Ryan Fleury 0288b025f8 inline parse tag list call; fix uninitialized memory in string copy 2021-09-16 20:36:13 -06:00
ryanfleury ad07656a48 partial docs pass 2021-09-02 03:54:46 -06:00
ryanfleury ccdb41ce22 reconstructed string - metadesk pretty printer - messy first pass 2021-08-18 02:28:39 -06:00
ryanfleury a4fa811268 fix up parse check 2021-08-18 01:47:18 -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
ryanfleury 0eee7e5a6c use mdesk extension instead of md 2021-07-04 16:35:42 -06: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
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
ryanfleury 7be78c48d7 fix up some docs strings 2021-07-01 11:40:53 -06:00
ryanfleury 91e5303e4a finish up main layer docs 2021-06-30 23:23:57 -06:00
ryanfleury 07d9bdf609 error/warning message helper docs 2021-06-30 23:00:34 -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 0045b05a04 parsing function docs; remove some dead code 2021-06-30 16:39:31 -06:00
ryanfleury 9755bc966b get parser function definitions into docs 2021-06-30 16:25:09 -06:00
ryanfleury 3aec1987d2 docs for numeric string stuff 2021-06-30 16:14:02 -06:00
ryanfleury 6ea0e7599c helper macro docs 2021-06-30 15:50:03 -06:00
ryanfleury 3ea512a9d4 file system helper type docs 2021-06-30 15:50:03 -06:00
ryanfleury fba8ebe162 command line helper types docs 2021-06-30 15:50:03 -06:00
ryanfleury faae897671 docs for all the parsing types 2021-06-30 15:50:03 -06:00
ryanfleury 31f60f7dd8 delete old parser types 2021-06-30 15:50:03 -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
ryanfleury e6d372c989 mark rjf todo items 2021-06-30 13:06:47 -06:00
ryanfleury 5358883431 get stb_sprintf working for MD_String8s 2021-06-30 12:47:53 -06:00
ryanfleury d0717e3b5f add modified version of stb_sprintf to library; use it instead of CRT; first-pass on %S for MD_String8 2021-06-30 12:36:05 -06:00
ryanfleury 7f730b0b0b build parse check 2021-06-30 12:35:16 -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
ryanfleury 52f840f5ab add annotations for printf-like calls that may or may not help i dunno 2021-06-30 00:30:03 -06:00
ryanfleury bb8bfd4254 update sanity tests in accordance with new tag string rule 2021-06-29 23:03:15 -06:00
ryanfleury 6ac773f660 oops, flipped conditional 2021-06-29 23:01:47 -06:00
ryanfleury a89f8f5573 properly fill identifier/numeric flags in lexer 2021-06-29 22:57:43 -06:00
ryanfleury 5c99b2a737 trim down token kinds; return node flags from lexer 2021-06-29 22:55:57 -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 dff40b4f7a bugfixes and convergence in new parser 2021-06-29 20:43:58 -06:00
ryanfleury 665ae03d81 add parse checker sample 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 2ab0636ce9 first-pass on ctxless parser rewrite 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
ryanfleury 2144f62e7e fix static site generator 2021-06-29 20:43:57 -06:00
ryanfleury f2991a89bb todo 2021-06-24 23:44:40 -06:00
ryanfleury 792f0a6aa8 cleanup notes on parser details 2021-06-24 23:41:12 -06:00
ryanfleury 4ec674600d split up string literal token kinds to encode which syntax they used; translate these to node flags 2021-06-24 23:30:01 -06:00
ryanfleury f7e40e224f fix up before/after flag helper macro to be more robust to future changes 2021-06-24 23:00:38 -06:00
ryanfleury e1f5953598 reorder node flags, so that after-from-before is always the same 2021-06-24 22:58:27 -06:00
ryanfleury 647dd40a0f kill char literal 2021-06-24 22:57:06 -06:00