Commit Graph

162 Commits

Author SHA1 Message Date
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
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
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
ryanfleury 4b8d2c3ade oops; also add zero-allocator macro 2021-06-24 22:52:47 -06:00
ryanfleury a533b75ce4 publicify canonical conversion helper 2021-06-24 22:49:58 -06:00
ryanfleury 4b231f0724 kill ctx node building helper 2021-06-24 22:48:24 -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
ryanfleury 9175305b08 rely on tree root for filename 2021-06-24 22:12:17 -06:00
ryanfleury 8f8c5cb9d7 move to _COUNT instead of _MAX 2021-06-24 21:52:22 -06: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
ryanfleury d5d3b85492 fix checked in merge conflicts 2021-05-25 18:35:33 -06: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
Ryan Fleury 25a80c1def flesh out values in the toy language 2021-04-24 19:48:25 -06:00
Ryan Fleury 5f3528bea5 re-order md_impl; keep everything in same order as header file 2021-04-24 16:20:31 -06:00