BAM
Abstract Machine for Bottom-Up Evaluation with the Push Method
Typedefs | Enumerations | Functions
syn.h File Reference

Syntax error messages. More...

#include "../base/ver.h"
#include "../base/str.h"
#include "../base/check.h"

Go to the source code of this file.

Typedefs

typedef enum syn_enum syn_t
 

Enumerations

enum  syn_enum {
  SYN_PRED_EXPECTED,
  SYN_UNKNOWN_PRED,
  SYN_LPAREN_EXPECTED,
  SYN_RPAREN_EXPECTED,
  SYN_COMMA_EXPECTED,
  SYN_FULLSTOP_EXPECTED,
  SYN_ARG_MUST_BE_STR,
  SYN_ARG_MUST_BE_ATOM,
  SYN_ARG_MUST_BE_ATOM_OR_STR,
  SYN_ARG_MUST_BE_INT,
  SYN_ARG_CANNOT_BE_NEGATIVE,
  SYN_INVALID_ARG_TYPE,
  SYN_ILLEGAL_CHAR,
  SYN_MISSINGQ,
  SYN_NOSPACE,
  SYN_INT_OVERFLOW,
  SYN_BAD_ESCAPE_SEQ
}
 

Functions

str_t syn_text (syn_t syn)
 

Detailed Description

Syntax error messages.

Typedef Documentation

typedef enum syn_enum syn_t

Enumeration type for syntax error messages.

Enumeration Type Documentation

enum syn_enum

Enumeration type for syntax error messages.