Recently I made a small Compilation Principle job, which is a lexical analyzer of C_minus language. I have already written a version in early April, and
Some Semantic Logic verification is supported, and all constants, all keywords, and all arithmetic operators can be processed. Because the function is beyond the expectation of the teacher,
The teacher suspected that the code was copied from the Internet. Of course, the teacher not only doubted me, but also others. I finally convinced the teacher with my explanation. However
Considering the readability principle of a method, I didn't want to process all the logic in a loop. So I wrote multiple processing methods to separate a large loop into multiple
Subloop. This increases readability by more than one level. However, the teacher insisted that we should be able to cover all the logic in a loop of hundreds of rows. So I only
I re-wrote the job, but it was busy some time ago. It was not until now that I had time to finish the job.
Whether I am new to Java or I am not familiar with Java, but I am very familiar with it, I know that Java has a feature that is cross-platform. I will use this program to do it.
Verification. This program has a UI, And the UI uses Swing. But Swing is not as good as I expected. In the same jdk version,
Linux compatibility is good, but Mac performance is not satisfactory. Great page deformation. So I changed the code a little and reduced the Area. Therefore, you can
Platform now. But it cannot be modified without modification. I am still a simple program, and the UI is very simple. But if it is a complicated C/S software developed by swing, It is estimated
It won't be so lucky. In addition, the Java installation package has very few tools, but not many of them are easy to use. The software I used is packaged in Linux and mac,
Without jre binding, this also leaves a shadow to Java Desktop applications across platforms. We hope that experienced users can recommend a better packaging tool.
Currently, Java applications are fully inclined to webApp and mobileApp. If you want to share a piece of cake on the desktop, it is recommended that Oracle
Larger jre packaging software (preferably free, but not realistic ). Or a GUI framework with better compatibility, the differences between the jre versions are believed to be well-formed.
Yes. Generally, the package size is much larger. The following are the following:
Linux platform:
Mac platform:
XP:
Mac platform lexical analysis software download connection (excluding jre, the mac will come with jvm, but often older versions, 10. 5. * is generally 1.5, this installation package has been tested
Try to run it perfectly in JVM1.6. If you are interested, try installing it ):
Click to download