Commit Graph

280 Commits

Author SHA1 Message Date
Ryan Fleury 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 Fleury 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 Fleury 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
Ben Visness fb4a7fbb6c Actually use .post on MD_S8ListJoin 2022-01-31 22:43:52 -06:00
Ben Visness bda95a298a Fix overflow bug with MD_StringMatchFlag_RightSideSloppy
If a is longer than b, then MD_S8Match will check outside of b's bounds.
2021-12-31 12:52:39 -06: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 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
Mārtiņš Možeiko 08bfd28169 macOS support 2021-11-14 18:17:37 -08: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
ryanfleury a7efe71a50 [docs] reorder/reorganize/consistencyify docs; do mostly all missing pieces 2021-11-01 01:11:47 -06:00
Allen Webster 10a78c8186 'how to build' comment 2021-10-31 21:03:32 -07:00
Allen Webster 73a07fe8ca woops actually save everything for last commit 2021-10-24 13:32:15 -07:00
Allen Webster 8d4d2d2c3a naming pass; stub in expression API docs 2021-10-24 13:02:13 -07:00
Miguel Lechon 47613b5563 [expr parser] Communicate expression operator table bake errors through callback. 2021-10-24 17:11:28 +02:00
Allen Webster 07770d51d1 [examples] filled out the expression intro example and added commentary 2021-10-10 15:11:41 -07:00
Allen Webster f07b74da5f [examples] add output and combining to multi threaded parse example 2021-10-10 10:53:59 -07:00
Allen Webster 93ac2b4bae [examples] get started on the multi threaded parse example 2021-10-10 10:00:03 -07:00
Allen Webster b67dc566c6 [examples] tweaks to overrides example and commentary 2021-10-09 22:34:41 -07:00
Allen Webster 126fab22df [examples] c like expressions example 2021-10-09 22:07:52 -07:00
Allen Webster 39e10cd246 [expression parser] use the operator pointer right inside the expression node 2021-10-09 20:30:05 -07:00
Allen Webster 838283c706 [examples] start setting up expression parser intro 2021-10-09 20:14:07 -07:00
Allen Webster e5e65e4724 [maintenance] cleaning up old code, sticking to 'data desk' name, shrinking name of 'advanced_usages' 2021-10-08 15:34:43 -07:00
Allen Webster feee8cf745 [examples] finish overrides touch ups; tweak overrides example 2021-10-08 15:32:16 -07:00
Allen Webster 204af74b31 [examples] starting notes in overrides example; start cleaning up overrides 2021-10-08 15:25:58 -07:00
Allen Webster 8432125f55 [examples] write examples directory 2021-10-08 11:08:51 -07:00
Allen Webster 0b27e69ec4 welcome comment 2021-10-08 10:11:19 -07:00
Allen Webster 5d51cf478c [examples] write overrides example; tidy up overrides overrview comment; tidy up misc notes files 2021-10-07 22:35:31 -07:00
Miguel Lechon 343b239fa1 [expr parser] Reject multitoken and non-symbol, non-id token operators (note 3). 2021-10-06 08:02:46 +02:00
Miguel Lechon 88bf5be37c [expr parser] Postfix (),[],{},[),(] behave the same (note 2). 2021-10-04 20:18:46 +02:00
Miguel Lechon 94cd3ced02 [expr parser] Disallow non-postfix set-like operators (note 1b). 2021-10-04 07:57:45 +02:00
Miguel Lechon d1745050dd [expr parser] Treat all sets as leaves (note 1a). 2021-10-03 18:38:13 +02:00
Allen Webster 1372db5610 [expr parser] a few misc bits of tidying - poking around for next steps - notes on issues 2021-10-02 20:04:00 -07:00
Allen Webster f635b2d066 [expr parser] fix error reporting for unfinished expression inside paren/bracket 2021-10-01 23:38:36 -07:00
Allen Webster 0b04757575 [expr parser] sort 'NodeNextWithLimit' with other introspection helpers 2021-10-01 23:13:05 -07:00
Allen Webster 2f6ada618a [expr parsing] handle the 'errors' monad through the parse context instead of through return composition 2021-10-01 23:11:05 -07:00
Allen Webster ed377ebd33 [expr parsing] rename MD_ExprNode -> MD_Expr 2021-10-01 22:52:45 -07:00
Allen Webster 69ce78c71d [expr parser] expose the last of the hidden functions 2021-10-01 22:51:41 -07:00
Allen Webster 891d71005d [expr parser] factor iterators out of the parser context 2021-10-01 22:45:45 -07:00
Allen Webster 04e65af953 [expr parser] rearrange expression errors to point right at the original metadesk nodes as much as possible 2021-10-01 22:08:40 -07:00
Allen Webster 8cbd0cc2dc [expr parser] fix test fails; refactoring error reporting 2021-10-01 21:03:33 -07:00
Allen Webster b41590525e [expr parser] fuse operator with operator node 2021-10-01 20:42:14 -07:00
Allen Webster 9ac946cf07 [expr parser] change the operator definition so that an MD_Node is not required 2021-10-01 20:31:06 -07:00
Allen Webster 4ce22d786c [expr parser] getting familiar with the expression parser 2021-10-01 20:03:50 -07:00