mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-06 07:38:45 +00:00
welcome comment
This commit is contained in:
+5
-4
@@ -1,9 +1,7 @@
|
|||||||
// LICENSE AT END OF FILE (MIT).
|
// LICENSE AT END OF FILE (MIT).
|
||||||
|
|
||||||
#if !defined(MD_C)
|
/*
|
||||||
#define MD_C
|
** Overrides & Options Macros
|
||||||
|
|
||||||
/* NOTE(allen): Overrides & Options Macros:
|
|
||||||
**
|
**
|
||||||
** Overridable
|
** Overridable
|
||||||
** "memset" ** REQUIRED (default crt-based implementation)
|
** "memset" ** REQUIRED (default crt-based implementation)
|
||||||
@@ -53,6 +51,9 @@
|
|||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if !defined(MD_C)
|
||||||
|
#define MD_C
|
||||||
|
|
||||||
//~/////////////////////////////////////////////////////////////////////////////
|
//~/////////////////////////////////////////////////////////////////////////////
|
||||||
/////////////////////////// CRT Implementation /////////////////////////////////
|
/////////////////////////// CRT Implementation /////////////////////////////////
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
+25
-4
@@ -1,12 +1,33 @@
|
|||||||
// LICENSE AT END OF FILE (MIT).
|
// LICENSE AT END OF FILE (MIT).
|
||||||
|
|
||||||
//~ Metadesk Library
|
/*
|
||||||
|
** Weclome to Metadesk!
|
||||||
// TODO(allen): Welcome & user directory comment here
|
**
|
||||||
|
** 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
|
#ifndef MD_H
|
||||||
#define MD_H
|
#define MD_H
|
||||||
|
|
||||||
|
#define MD_VERSION_MAJ 1
|
||||||
|
#define MD_VERSION_MIN 0
|
||||||
|
|
||||||
//~ Set default values for controls
|
//~ Set default values for controls
|
||||||
#if !defined(MD_DEFAULT_MEMSET)
|
#if !defined(MD_DEFAULT_MEMSET)
|
||||||
# define MD_DEFAULT_MEMSET 1
|
# define MD_DEFAULT_MEMSET 1
|
||||||
@@ -780,7 +801,7 @@ typedef struct MD_ExprParseCtx MD_ExprParseCtx;
|
|||||||
struct MD_ExprParseCtx
|
struct MD_ExprParseCtx
|
||||||
{
|
{
|
||||||
MD_ExprOprTable *op_table;
|
MD_ExprOprTable *op_table;
|
||||||
|
|
||||||
#define MD_POSTFIX_SETLIKE_OP_COUNT 5 // (), [], {}, [), (]
|
#define MD_POSTFIX_SETLIKE_OP_COUNT 5 // (), [], {}, [), (]
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user