From 4d9dd289951589ddf408fdec62245b20cfe199c7 Mon Sep 17 00:00:00 2001 From: c+1 Date: Mon, 2 Oct 2023 13:13:45 -0400 Subject: syntax.h --- src/include/syntax.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/include/syntax.h (limited to 'src/include') diff --git a/src/include/syntax.h b/src/include/syntax.h new file mode 100644 index 0000000..b4410c5 --- /dev/null +++ b/src/include/syntax.h @@ -0,0 +1,24 @@ +#ifndef SYNTAX_H +#define SYNTAX_H + +/* Syntax Definitions */ + +#define SYNTAX_CHAR_DELIM '\'' +#define SYNTAX_STR_DELIM '"' +#define SYNTAX_COMMENT_DELIM '`' +#define SYNTAX_EXPR_END ';' +#define SYNTAX_SET '=' +#define SYNTAX_LGROUP '(' +#define SYNTAX_RGROUP ')' +#define SYNTAX_DIRECTIVE_DELIM '#' +#define SYNTAX_APPLY '.' +#define SYNTAX_LIST_DELIM ',' +#define SYNTAX_TAG_DELIM ':' +#define SYNTAX_NAMESPACE_DELIM '/' +#define SYNTAX_LBLOCK '{' +#define SYNTAX_RBLOCK '}' +#define SYNTAX_RLIST '[' +#define SYNTAX_LLIST ']' +#define SYNTAX_ESC '\\' + +#endif -- cgit v1.2.3