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

📄 language.c

📁 COP8 CPU的一个解释型BASIC源码
💻 C
字号:
////////////////////////////////////////////////////////////////
//
//                S C R I P T H E R M
//             A SCRIPTABLE THERMOMETER
// 
// entry of the National Semiconductor COP8FLASH Design Contest
//        submitted by Alberto Ricci Bitti (C) 2001
//              a.riccibitti@ra.nettuno.it
//
//--------------------------------------------------------------
//       FOR A BETTER VIEW SET TAB SIZE=4, INDENT SIZE=4
//--------------------------------------------------------------
// FILE   : language.c
// PURPOSE: to declare and instance the language tables and to 
//          enumerate all possible tokens (the language elements).
//          The table are:
//          the dictionary, that lists the correspondance between 
//          ASCII stringss and token codes and the JUMP TABLE,
//          that lists the functions implementing each token.
//			See also language.h for enumeration and initializers
//
////////////////////////////////////////////////////////////////

#include "memory.h"
#include "script.h"
#include "lcd.h"
#include "language.h"


const dictionary_t dictionary[DICTIONARY_SIZE] = dictionary_initializer;

void (*jump_table[MAX_RUNNABLE - 128])() = jump_table_initializer;

⌨️ 快捷键说明

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