C语言词法分析器 Lexer

码农软件 · 软件分类 · 语法解析工具 · 2019-12-12 12:44:47

软件介绍

Lexer是一个由 Java 编写的 C 语言词法分析器,词法分析是编译过程的第一个阶段,是编译的基础。这个阶段的任务是从左到右一个字符一个字符地读入源程序,即对构成源程序的字符流进行扫描然后根据构词规则识别单词(也称单词符号或符号)。

主要特点有:

  • 支持识别十进制数、八进制数、标识符、关键字、分割符、操作符等多种词素

  • 支持文件导入和源代码编写两种输入方式

  • 采用Swing GUI类库,算法和UI通过回调接口实现松耦合

运行效果:




本文地址:https://www.codercto.com/soft/d/20983.html

Algorithms in C (Computer Science Series)

Algorithms in C (Computer Science Series)

Robert Sedgewick / Addison-Wesley Professional / 1990-01-11 / USD 59.99

This new version of the best-selling book, Algorithms, SecondEdition, provides a comprehensive collection of algorithmsimplemented in C. A variety of algorithms are described in eachofthe following ar......一起来看看 《Algorithms in C (Computer Science Series)》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具