language.c
来自「COP8 CPU的一个解释型BASIC源码」· C语言 代码 · 共 33 行
C
33 行
////////////////////////////////////////////////////////////////
//
// 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 + =
减小字号Ctrl + -
显示快捷键?