跳至主要內容
编译原理-词法分析器

Lexical Analyzer Report

1、Motivation & Content description

Build a lexical analyzer program to read stream of characters and show the sequence of tokens.

Requirements:

(1) Input:

  Stream of characters

  REs(The number of REs is decided by yourself)


Unisky大约 4 分钟学习编译原理JavaEnglish-Only
编译原理-语法分析器

Syntax Parser Report

1、Motivation & Content description

Build a syntax parser program to read stream of characters and CFG and show the sequence of devirations by using top-down syntax analyzing method.

Requirements:

(1) Input

  Stream of characters   CFG(Combination of CFGs of some classes of sentences)


Unisky大约 6 分钟学习编译原理JavaEnglish-Only