mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-06 15:48:47 +00:00
[examples] finish first draft commentary in parse_check.c
This commit is contained in:
+20
-2
@@ -4,9 +4,9 @@ string helpers
|
||||
immutable tree model
|
||||
nil
|
||||
|
||||
Examples:
|
||||
Example Programs:
|
||||
[ ] Metadesk hello world
|
||||
[ ] Metadesk parse checker
|
||||
[x] Metadesk parse checker
|
||||
[ ] Example of helpers: string helpers, linked lists, map type
|
||||
printing errors, cmd line, file iter
|
||||
[x] Datadesk-like setup
|
||||
@@ -17,3 +17,21 @@ Examples:
|
||||
[ ] Example memory clearing in long-running program
|
||||
[ ] Example multi-threaded parsing
|
||||
|
||||
Example Metadesk Files:
|
||||
[ ] Hello world
|
||||
|
||||
|
||||
Allen's Final Tweak Notes (September 10th 2021):
|
||||
|
||||
*** MD_EachNodeRef seems bad to me. ***
|
||||
|
||||
Using it is equivalent to:
|
||||
for (MD_EachNode(it, first_child)
|
||||
{
|
||||
MD_Node *node = MD_ResolveFromReference(it); // this line is saved by the macro
|
||||
}
|
||||
|
||||
Explaning this concept seems more difficult with the extra macro. I think it'd be
|
||||
clearer and basically just as maintenance efficient to live without this.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user