Commit Graph

  • a533b75ce4 publicify canonical conversion helper ryanfleury 2021-06-24 22:49:58 -06:00
  • 4b231f0724 kill ctx node building helper ryanfleury 2021-06-24 22:48:24 -06:00
  • d1fe089804 bugfix; build dummy root node for error marker nodes, to ensure that they have an accurate way to tell their location ryanfleury 2021-06-24 22:46:56 -06:00
  • 9175305b08 rely on tree root for filename ryanfleury 2021-06-24 22:12:17 -06:00
  • 8f8c5cb9d7 move to _COUNT instead of _MAX ryanfleury 2021-06-24 21:52:22 -06:00
  • aba3c9a164 [api] introduced linked list macros with z-check z-set upgrade Allen Webster 2021-06-12 12:02:44 -07:00
  • 0832e601b7 cut namespaces Allen Webster 2021-06-12 10:17:14 -07:00
  • f54f1771b9 [maps] queues instead of stacks to keep things in order Allen Webster 2021-06-12 10:12:55 -07:00
  • fb999476fa [map] overhaul the maps, fewer parts, fewer paths, fewer knobs; same great results Allen Webster 2021-06-06 20:15:48 -07:00
  • d390326e17 [impl] another test for a weird grammar problem Allen Webster 2021-06-06 01:28:03 -07:00
  • bf2d161158 [impl] more passing over the parser; found an odd part and made a test to reveal a bug Allen Webster 2021-06-06 01:06:36 -07:00
  • dd445676f5 [impl] passing over parser implementation (pass 1) Allen Webster 2021-06-05 23:39:26 -07:00
  • c3ec42c70c [api] cut subtle wrapper node constructors Allen Webster 2021-06-05 22:56:35 -07:00
  • 6450cd703c [impl] test for string contents; reduce all string lexing; notes about delimiter error tokens Allen Webster 2021-06-05 22:40:43 -07:00
  • 19cdec56cd [api] decompose error pushing functions; expose to main API Allen Webster 2021-06-05 21:47:47 -07:00
  • d1896fc74b [api] decompose the message printing API by one notch Allen Webster 2021-06-05 21:02:51 -07:00
  • d0c9167eb6 [impl] reduce two node construction helpers to one; note about how to reduce the one helper with the root/file node concept Allen Webster 2021-06-05 20:52:43 -07:00
  • be42d5d126 [namespace] brainstorm namespace fix ideas Allen Webster 2021-06-05 18:53:31 -07:00
  • 8e1b38e21f [namespace] uncovered bug in parser; added test case for namespaces Allen Webster 2021-06-05 18:27:02 -07:00
  • d5d3b85492 fix checked in merge conflicts ryanfleury 2021-05-25 18:35:33 -06:00
  • c1efce845d merge Allen Webster 2021-05-21 18:02:46 -07:00
  • b7252121fe cleanup; map interface idea Allen Webster 2021-05-21 17:53:20 -07:00
  • 25a80c1def flesh out values in the toy language Ryan Fleury 2021-04-24 19:48:25 -06:00
  • 5f3528bea5 re-order md_impl; keep everything in same order as header file Ryan Fleury 2021-04-24 16:20:31 -06:00
  • 30187151ec toy language sample; fix a couple of bugs Ryan Fleury 2021-04-24 16:07:34 -06:00
  • 9c0babe0a6 node flags seeking helper Ryan Fleury 2021-04-24 12:56:02 -06:00
  • 5629c0c995 command line helper pass ryanfleury 2021-04-23 14:30:21 -06:00
  • 78c9d8467d remove the unused root first/last from parse ctx Allen Webster 2021-04-17 02:24:51 -07:00
  • b915615716 more arranging functions; MD_MakeNode Allen Webster 2021-04-17 01:26:39 -07:00
  • a5fe806f9e start arranging for more functions to be public; simplify set parse function Allen Webster 2021-04-17 01:08:05 -07:00
  • f5b8ccc4b0 refernce reorganize Allen Webster 2021-04-16 19:25:37 -07:00
  • f52362ef2c rename C helper types; cleanup pass over everything related to C helpers Allen Webster 2021-04-16 19:24:17 -07:00
  • 366eebca00 unify c generator naming Allen Webster 2021-04-16 18:37:37 -07:00
  • 87bd1cd6de sort out types only needed in the C helpers Allen Webster 2021-04-16 18:27:08 -07:00
  • 3c6cc0414d organize out C helpers Allen Webster 2021-04-16 18:17:46 -07:00
  • 714cb85824 fix samples/tests for removal of JoinStringListWithSeparator helper ryanfleury 2021-04-12 13:21:19 -06:00
  • 28ea290661 remove MD_JoinStringListWithSeparator, just have separator argument in MD_JoinStringList; helper for making node references ryanfleury 2021-04-11 21:29:35 -06:00
  • 1b89d3cc90 docs work; clean up TODO list; add TODOs for a couple of helpers and changes ryanfleury 2021-04-11 21:20:51 -06:00
  • 0be2134fb5 sync reference ryanfleury 2021-04-07 01:45:09 -06:00
  • fe7fb421ca [docs] update wording through MD_CodeLoc Allen Webster 2021-04-05 23:05:29 -07:00
  • 4d43fb1ae4 [docs] update match flags Allen Webster 2021-04-05 21:45:36 -07:00
  • a0e5db5e64 [docs] wording on strings; sample of details and snippet on MD_String8List Allen Webster 2021-04-05 21:29:20 -07:00
  • b671c4fa6c Merge branch 'master' of https://github.com/Dion-Systems/metadesk Allen Webster 2021-04-02 17:30:27 -07:00
  • 2f3107adf6 [docs] update to work with docs baking system: Allen Webster 2021-04-01 22:50:21 -07:00
  • 6dc8487965 combine StringMatchFlags and NodeMatchFlags into MD_MatchFlags ryanfleury 2021-04-01 22:21:46 -06:00
  • ae2e1c6baa fix type for MD_Expr array thing ryanfleury 2021-04-01 21:48:42 -06:00
  • 2d81355626 update docs ryanfleury 2021-04-01 19:28:48 -06:00
  • d18ff2846b add some code styling to docs ryanfleury 2021-04-01 10:23:22 -06:00
  • f19849db87 fix some typos; use code for character symbols in docs ryanfleury 2021-03-31 20:39:07 -06:00
  • 4eaeaf5cd0 [docs] through the map types; add mkdir to namespaces build Allen Webster 2021-03-30 22:57:19 -07:00
  • e1c0656e73 [plugin macros] clean up all usage of context; also document a few more things Allen Webster 2021-03-30 21:23:05 -07:00
  • cc38ed2c96 [main] fix initializer of MD_Node Allen Webster 2021-03-30 20:52:22 -07:00
  • c30090c483 [docs] documentation of MD_Node Allen Webster 2021-03-30 19:02:00 -07:00
  • e38dbca401 [docs] document node kinds and flags; couple random tweaks Allen Webster 2021-03-30 18:19:26 -07:00
  • 0945c9c71e [namespaces] Type versioning sample. Miguel Lechon 2021-03-29 17:57:38 +02:00
  • c38bc6de30 [namespaces] Build namespaces as lists of reference nodes. Miguel Lechon 2021-03-29 17:51:36 +02:00
  • 230fd4043c Improve location of MD_Error. Miguel Lechon 2021-03-27 18:14:17 +01:00
  • 6478fb24c1 Error for MD_ParseWholeFile of missing file. Miguel Lechon 2021-03-27 15:47:54 +01:00
  • 8ab96ecaea Simpler MD_Error. Miguel Lechon 2021-03-23 11:44:37 +01:00
  • 20f85761c7 [map] Expose PtrMap on md.h. Remove NodeTable defines. Miguel Lechon 2021-03-22 15:45:36 +01:00
  • 14549f8483 [docs] through MD_NodeKind Allen Webster 2021-03-21 22:14:13 -07:00
  • 560be2c42a [base] remove the wrapper FindLastSubstring Allen Webster 2021-03-21 21:32:22 -07:00
  • b24b0e0491 [map] fix header signature for StringMap Allen Webster 2021-03-21 20:49:16 -07:00
  • 369ebd7a62 [docs] catch up to new map integration; change function forward declarations for map Allen Webster 2021-03-21 20:40:43 -07:00
  • 7a06b11f49 Remove catastrophic from MD_Error and add MD_MessageKind to it. Miguel Lechon 2021-03-18 18:24:41 +01:00
  • eef82b0554 Pipe error location through error->node. Miguel Lechon 2021-03-18 17:40:06 +01:00
  • f4965c782d Multi-line string escaping. Miguel Lechon 2021-03-18 12:28:16 +01:00
  • 96c3c46531 fopen with "wb" to avoid mixed LF/CRLF output on windows. Miguel Lechon 2021-03-18 10:12:55 +01:00
  • 6026c3639d Remove MD_Map aliases. Miguel Lechon 2021-03-16 19:15:48 +01:00
  • 541a5443b6 Test and avoid MD_StringMap collisions. Miguel Lechon 2021-03-16 19:05:48 +01:00
  • 55943b79fc Move map into md.h asn md_impl.c. Miguel Lechon 2021-03-16 11:28:41 +01:00
  • 7645afbcc1 [grammar test] Store production depth on MD_PtrMap. Miguel Lechon 2021-03-16 11:20:18 +01:00
  • fed011fc52 Switch to map_proposal. Miguel Lechon 2021-03-16 11:11:13 +01:00
  • d5ab0e88df Rename MD_TokenKind_NonASCII to MD_TokenKind_BadCharacter. Miguel Lechon 2021-03-16 09:46:53 +01:00
  • eb0cf0c9bf MD_Node->at fix. Miguel Lechon 2021-03-16 09:19:02 +01:00
  • 52fdfdbc38 fixup docs to match this version of the code Allen Webster 2021-03-14 18:43:23 -07:00
  • b72a53e84c copy over docs from the wrong repo; take out error/warning wrappers Allen Webster 2021-03-14 17:54:04 -07:00
  • a0ef78a49a trim -> skip/chop Allen Webster 2021-03-14 17:40:57 -07:00
  • 9fe3c0f09a string split cleanup Allen Webster 2021-03-14 17:37:30 -07:00
  • 30b8466a12 string -> integer implementation Allen Webster 2021-03-14 17:35:12 -07:00
  • 084d55d55d Report and skip non-ASCII characters. Miguel Lechon 2021-03-14 12:12:30 +01:00
  • e3357f0759 Syntax error sanity tests. Miguel Lechon 2021-03-14 11:24:26 +01:00
  • e4fbe7a81d More parsing errors. Miguel Lechon 2021-03-13 10:01:08 +01:00
  • 2829d0923b Report parse errors preceding catastrophic error. Miguel Lechon 2021-03-12 16:12:00 +01:00
  • 34c48c84ff Parsing error for "label:@tag{children}". Miguel Lechon 2021-03-11 21:08:38 +01:00
  • 72b7e3b366 And syntax error tests. Miguel Lechon 2021-03-11 17:15:22 +01:00
  • e25c5a66c2 Parsing errors for unterminated C-Style comments. Miguel Lechon 2021-03-11 17:13:02 +01:00
  • e2cefabe5c Finetune error locations. Miguel Lechon 2021-03-11 16:08:13 +01:00
  • 701b77e118 Parsing errors for unbalanced sets and text literals. Miguel Lechon 2021-03-10 18:32:29 +01:00
  • 35ef98a5fd Sync build scripts. Miguel Lechon 2021-03-09 18:12:34 +01:00
  • 65e5f728b1 node errors sample ryanfleury 2021-03-09 09:18:29 -07:00
  • 2d22fc17d5 [grammar test] Remove malformed tagging. Give up on comments. Miguel Lechon 2021-03-08 20:02:27 +01:00
  • bf9bfae929 comment_after fix. Miguel Lechon 2021-03-05 10:35:40 +01:00
  • 493f4239d5 [grammar test] Cleaner grammar. Miguel Lechon 2021-03-05 09:51:26 +01:00
  • 61f9149a2b [grammar test] before_comment. Miguel Lechon 2021-03-04 15:21:55 +01:00
  • b72890d44e before_comment fix. Miguel Lechon 2021-03-04 15:18:42 +01:00
  • e7dfe525c5 Radix for MD_I64FromString. Miguel Lechon 2021-03-03 13:14:56 +01:00
  • 0c6df62acd Hash map proposal. Miguel Lechon 2021-03-01 18:35:02 +01:00
  • 4a4f4db91a Make , and ; behave like \n as unscoped set delimiters. Miguel Lechon 2021-02-25 20:03:22 +01:00
  • 37fefae283 Treat the inside of a file as the content of a set. Miguel Lechon 2021-02-24 12:18:47 +01:00