|
#define | isTransitionPop(t) (t<0) |
|
#define | isTransitionNext(t) (t==0) |
|
#define | LITERAL_NOT 0x01 |
|
#define | LITERAL_SET 0x02 |
|
#define | _sl(t, s) __sl(t,false,1,s) |
| macro to add a single symbol literal to semtrex tree
|
|
#define | _sln(t, s) __sl(t,true,1,s) |
| macro to add a single symbol literal not to semtrex tree
|
|
#define | DS(l, t) {char buf[1000];puts("\n" #l ":");_dump_semtrex(G_sem,t,buf);puts(buf);} |
| debugging macro for quickly dumping out a semtrex text string
|
|
|
SState * | _stx_makeFA (T *s, int *statesP) |
|
void | _stx_freeFA (SState *s) |
|
int | _t_match (T *semtrex, T *t) |
|
int | _t_matchr (T *semtrex, T *t, T **r) |
|
T * | _stx_get_matched_node (Symbol s, T *match_results, T *match_tree, int *sibs) |
|
void | _stx_replace (T *semtrex, T *t, T *replace) |
|
T * | _t_get_match (T *result, Symbol group) |
|
T * | __t_embody_from_match (SemTable *sem, T *match, T *t) |
|
T * | _t_embody_from_match (SemTable *sem, T *match, Symbol group, T *t) |
|
char * | _dump_semtrex (SemTable *sem, T *s, char *buf) |
|
T * | makeASCIITree (char *c) |
|
T * | parseSemtrex (SemTable *sem, char *stx) |
|
T * | _stx_results2sem_map (SemTable *sem, T *match_results, T *match_tree) |
|
T * | __stxcv (T *stxx, char c) |
|
T * | __stxcvm (T *stxx, int not, int count,...) |
|
T * | asciiT_toi (T *asciiT, T *match, T *t, Symbol s) |
|
T * | asciiT_tol (T *asciiT, T *match, T *t, Symbol s) |
|
T * | asciiT_tof (T *asciiT, T *match, T *t, Symbol s) |
|
T * | asciiT_tos (T *asciiT, T *match, T *t, Symbol s) |
|
T * | asciiT_toc (T *asciiT, T *match, T *t, Symbol s) |
|
T * | wrap (T *tokens, T *results, Symbol contents_s, Symbol open_s) |
|
T * | __sl (T *p, bool not, int count,...) |
|
void | __stx_dump (SState *s, char *buf) |
|
char * | _stx_dump (SState *s, char *buf) |
|
void | stx_dump (T *s) |
|
Semantic tree regular expression header file.
- Copyright
- Copyright (C) 2013-2016, The MetaCurrency Project (Eric Harris-Braun, Arthur Brock, et. al). This file is part of the Ceptr platform and is released under the terms of the license contained in the file LICENSE (GPLv3).
Definition in file semtrex.h.