⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lexer.h

📁 Coware的LISA指令集描述语言开发包
💻 H
字号:
#ifndef _LISA_LEXER_H
#define _LISA_LEXER_H

#include <string.h>

#include "main.h"

/*
	SCOPES
*/
#define LISA_SCOPE_EXPRESSION 1<<0
#define LISA_SCOPE_STATEMENT  1<<1
#define LISA_SCOPE_DIRECTIVE  1<<2
#define LISA_SCOPE_BLOCK      1<<3
#define LISA_SCOPE_EMPTY      1<<4
#define LISA_SCOPE_SEMICOLON  1<<5
#define LISA_SCOPE_CONDITION  1<<6
#define LISA_SCOPE_ELSE       1<<7
#define LISA_SCOPE_ARGUMENTS  1<<8
#define LISA_SCOPE_INDEX      1<<9
#define LISA_SCOPE_COLON      1<<10
#define LISA_SCOPE_ANY        0xFFFF


/*
	PROTOS
*/
struct lisa_node *lex( unsigned int scope );

// error message
void syntaxError( char *msg );



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -