📄 readme
字号:
This directory contains a scanner and parser for the Java programming language.You need the parser generator CUP v0.10j (or newer) for the parser to work.Use the Makefile to generate the lexer and parser, or type:jflex unicode.flexjflex java.flexjava java_cup.Main -interface < java12.cupjavac JavaParser.java TestLexer.javaThe parser can be tested with:java JavaParser <inputfiles>The scanner (without parser attached) can be test with:java TestLexer <inputfiles>files:unicode.flex JFlex specification for the Unicode preprocessing phase (see section 3.3 of the Java Language Specification). Demonstrates how to implement a FilterReader with JFlex.java.flex JFlex specification for the "real" Java 1.2 lexer.java12.cup CUP specification for the Java 1.2 parser Copyright (C) 1998 by C. Scott Ananian <cananian@alumni.princeton.edu> (with small modifications to interface with the Lexer)JavaParser.java a simple main class to run the parser (no other useful output though)TestLexer.java a simple test driver for the scanner, produces debug outputlexer-output.good lexer output for input file TestLexer.java for testing
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -