-
Compiler
LL(1)文法和预测分析方法
1.文法使用产生式来定义;
2.分别求出文法中每一个非终结符的FIRST集、FOLLOW集和SELECT集;
3.画出预测分析表;
4.判定给定的文法是否是LL(1)文法;
5.给定符号串判定是否是文法中的句子,分析过程用分析表格的方式打印出来。(LL(1) Grammar and Predictive Analysis
1. Grammar is defined by production.
2. Find out the FIRST set, FOLLOW set and SELECT set of each non-terminator in grammar.
3. Draw a forecast analysis table.
4. Determine whether a given grammar is LL(1) grammar;
5. Given a string of symbols to determine whether it is a sentence in grammar, the analysis process is printed out in the form of an analysis table.)
- 2020-06-15 22:30:02下载
- 积分:1
-
OAF CO简单的JAVA代码
ORACLE OAF 代码,OAF通过页面PG.xml文件关联控制器CO.java,从而在页面元素绑定。
- 2023-07-28 23:30:03下载
- 积分:1
-
汽车加油问题
一个汽车加满油后可行驶n公里,由起点a到起点b为m公里。汽车出发时加满了油,途中设有k个加油站,d1是第一个加油站距起点的距离,di是第i个加油站距其前一个加油站的距离。设计一个算法,求出加油方案,使得加油次数最少即可到达终点。
- 2022-06-19 23:25:44下载
- 积分:1
-
本系统应用JSP、flashMX2004软件结合flash communication server服务,设计适合大众的视频电台。 主要功能: 1在线NJ视频,...
本系统应用JSP、flashMX2004软件结合flash communication server服务,设计适合大众的视频电台。 主要功能: 1在线NJ视频,电台广播 2.提供公共聊天室 3.管理员功能:添加删除和编辑NJ、管理员、 节目信息、电台公告 4. 电台样式BANNER定义:(修改radio.css样式表) -JSP application of the system, flashMX2004 software integration services flash communication server, designed for the video public radio. The main functions : an online video NJ, radio 2. Public Chat Room 3. Administrator functions : Add delete and edit NJ, administrators and program information, radio Notice 4. Radio ads style definition : (revised radio.css style sheet)
- 2022-01-25 18:04:15下载
- 积分:1
-
udpDemo的简单程序
需求:
定义一个应用程序,用于接收udp协议传输的数据并处理
思路:
1.定义udpsocket服务
2.定义一个数据包,因为要存储接收到的字节数据
因为数据包对象有更多功能可以提取字节数据中的不同数据信息
3.通过socket服务的receive方法将收到的数据存入已定义好的数据包
4.通过数据包对象的特有功能,将这些不同的数据取出,打印在控制台上
5.关闭流资源
*/
class UdpRece
{
public static void main(String[]args)throws Exception
{//1.创建udo socket,建立端点
DatagramSocket ds=new DatagramSocket(4000);
//定义一个数据包用于存储数据
byte[] buf=new byte[1024];
DatagramPacket dp=new DatagramPacket(buf,buf.length);
//通过服务的receive方法将收到数据存入数据包中
ds.receive(dp);//
//4.通过数据包的方法获取其中的数据
String ip=dp.getAddress().getHostAddress();
//getHostAddress是InetAddress的方法,以字符串的形式返回IP地址
//getAddress()是InetAddress类型的,返回某台机器的IP地址,此数据包是从某台机器接收到的
String data=new String(dp.getData(),0,dp.getLength());
//String(byte[] byt
- 2022-03-23 05:55:12下载
- 积分:1
-
PaintFlagsDrawFilterTest
Paint Flags Draw Filter Test Source Code for Andriod.
- 2013-12-05 10:53:21下载
- 积分:1
-
LocationMap
一个简单的地图位置定位android应用,在这个基础上可以再通过GPS来获取定位信息(A simple map positioning android applications, on this basis could be obtained by GPS positioning information
)
- 2014-06-02 15:48:49下载
- 积分:1
-
This is a java prepared by the animation process.
这是一个java编写的动画程序。-This is a java prepared by the animation process.
- 2022-02-14 18:47:03下载
- 积分:1
-
用JAVA做的一个简单的BBS系统,是学JAVA的时候做的,仅供参考...
用JAVA做的一个简单的BBS系统,是学JAVA的时候做的,仅供参考-with JAVA do a simple BBS system, the JAVA study done for reference purposes only
- 2023-06-18 16:50:03下载
- 积分:1
-
Java 控制Office 控件是非常麻烦的一件事情。
自从有了JACOB后,事情变得简单多了。
但是要实现Java灵活的控制Word还是一件非常麻烦的...
Java 控制Office 控件是非常麻烦的一件事情。
自从有了JACOB后,事情变得简单多了。
但是要实现Java灵活的控制Word还是一件非常麻烦的事情。
-Java Control Office controls is a very troublesome thing. Since the post-JACOB, things become much simpler. But to achieve a flexible Java Control Word is a very troublesome thing.
- 2023-07-08 07:50:02下载
- 积分:1