xo-reader2 stack: + #q token + QuoteSsm [WIP - not functional]
This commit is contained in:
parent
6d039c03e6
commit
9920812d42
4 changed files with 21 additions and 2 deletions
|
|
@ -87,6 +87,8 @@ namespace xo {
|
|||
static Token symbol_token(const std::string & txt) {
|
||||
return Token(tokentype::tk_symbol, txt);
|
||||
}
|
||||
/** token representing quote @c "'" **/
|
||||
static Token quote() { return Token(tokentype::tk_quote); }
|
||||
/** token representing left angle bracket @c "<" **/
|
||||
static Token leftangle() { return Token(tokentype::tk_leftangle); }
|
||||
/** token representing right angle bracket @c ">" **/
|
||||
|
|
|
|||
|
|
@ -64,6 +64,9 @@ namespace xo {
|
|||
/** a symbol **/
|
||||
tk_symbol,
|
||||
|
||||
/** quote @c ' **/
|
||||
tk_quote,
|
||||
|
||||
/** left-hand parenthesis @c '(' **/
|
||||
tk_leftparen,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue