welcome comment

This commit is contained in:
Allen Webster
2021-10-08 10:11:19 -07:00
parent 5d51cf478c
commit 0b27e69ec4
2 changed files with 30 additions and 8 deletions
+5 -4
View File
@@ -1,9 +1,7 @@
// LICENSE AT END OF FILE (MIT).
#if !defined(MD_C)
#define MD_C
/* NOTE(allen): Overrides & Options Macros:
/*
** Overrides & Options Macros
**
** Overridable
** "memset" ** REQUIRED (default crt-based implementation)
@@ -53,6 +51,9 @@
**
*/
#if !defined(MD_C)
#define MD_C
//~/////////////////////////////////////////////////////////////////////////////
/////////////////////////// CRT Implementation /////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
+25 -4
View File
@@ -1,12 +1,33 @@
// LICENSE AT END OF FILE (MIT).
//~ Metadesk Library
// TODO(allen): Welcome & user directory comment here
/*
** Weclome to Metadesk!
**
** Metadesk is a data description language designed to look like a programming
** language, and this is the accompanying parser library. While you are free to
** use it however you see fit, here are a couple of the uses we have intended
** to support:
** + quickly writing a C or C++ metaprogram from scratch
** + building "low budget" domain specific scripting languages, such as
** marked-up website content, or asset metadata
** + creating robust and flexible config systems for applications
**
** If it's your first time working with metadesk you may want to take a look at
** the examples included with library. The examples_directory.txt file will
** help you find your way to intro content, and to whatever more advanced
** aspects of the library you might like to learn more about.
**
** Direct issues, questions, suggestions, requests, etc to:
** https://github.com/Dion-Systems/metadesk
**
*/
#ifndef MD_H
#define MD_H
#define MD_VERSION_MAJ 1
#define MD_VERSION_MIN 0
//~ Set default values for controls
#if !defined(MD_DEFAULT_MEMSET)
# define MD_DEFAULT_MEMSET 1
@@ -780,7 +801,7 @@ typedef struct MD_ExprParseCtx MD_ExprParseCtx;
struct MD_ExprParseCtx
{
MD_ExprOprTable *op_table;
#define MD_POSTFIX_SETLIKE_OP_COUNT 5 // (), [], {}, [), (]
struct
{