Welcome![Sign In][Sign Up]
Location:
Search - write a lexical for pascal language

Search list

[ELanguagec

Description: 简单的词法分析小例子- Simple lexical analysis small example
Platform: | Size: 7168 | Author: 站长 | Hits:

[Other resourcesimple-words-analyse

Description: 对于如下文法定义的PASCAL语言子集,试编写并上机调试一个词法分析程序: <标识符>->字母|<标识符>字母|<标识符>数字 <无符号整数>->数字|<无符号整数>数字 <单界符>->+|-|*|/| | |:|( | )|?|>|<|=|! <双界符>-><叹号>= | <冒号>= <叹号>->! <冒号>->: -For the following grammar defines a subset of the PASCAL language and try to write and debug a machine on a lexical analysis program: < identifier> -> letter | < identifier> alphabet | < identifier> number < unsigned int> -> digital | < unsigned integer> number < single delimiter > -> +|-|*|/| | |:|( | )|?|> |< |=|! < double delimiter> -> < exclamation mark> = | < colon> = < exclamation mark> -> ! < colon> -> :
Platform: | Size: 4096 | Author: yangyanmin | Hits:

CodeBus www.codebus.net