• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-26
  • 语言: Java
  • 标签: java  

资源简介


1.可以对简单赋值语句进行翻译 2.有用户使用界面 3.具有一定的检错功能

资源截图

代码片段和文件信息

/*
 * To change this template choose Tools | Templates
 * and open the template in the editor.
 */

package Translate;

/**
 *
 * @author dd
 */
import java.util.*;

class Equation{
    String abcd;
    Equation(String aString bString cString d)
    {
        this.a=a;
        this.b=b;
        this.c=c;
        this.d=d;
    }
}

public class translate {

    public translate(Vector link){
        this.link=link;
        set_table();
        scan();
    }


    private Vector link=new Vector();
    private Vector language=new Vector();
    private Vector string=new Vector();
    private Vector change=new Vector();

    private Vector out=new Vector();
    private StringBuffer stb=new StringBuffer();
    private int victory=0;

    Stack state=new Stack();
    Stack sign=new Stack();

    private HashMap action_items=new HashMap();

    pr

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        582  2009-05-17 22:13  TranslateApp\nbproject\project.xml

     文件        230  2009-05-17 22:13  TranslateApp\nbproject\private\private.properties

     文件        211  2009-05-20 23:29  TranslateApp\nbproject\private\private.xml

     文件       1914  2009-05-19 00:16  TranslateApp\nbproject\project.properties

     文件      34062  2009-05-17 22:13  TranslateApp\nbproject\build-impl.xml

     文件        455  2009-05-17 22:13  TranslateApp\nbproject\genfiles.properties

     文件       3731  2009-05-17 22:13  TranslateApp\build.xml

     文件       6641  2009-05-20 21:39  TranslateApp\src\Translate\word.java

     文件       8511  2009-05-19 20:08  TranslateApp\src\Translate\window.java

     文件       9578  2009-05-19 01:18  TranslateApp\src\Translate\window.form

     文件       7860  2009-05-20 21:44  TranslateApp\src\Translate\translate.java

     文件         85  2009-05-17 22:13  TranslateApp\manifest.mf

     文件        547  2009-05-20 21:36  TranslateApp\table.txt

     文件         32  2009-05-20 22:57  TranslateApp\build\classes\Translate\word.rs

     文件        370  2009-05-20 22:57  TranslateApp\build\classes\Translate\Node.class

     文件       4487  2009-05-20 22:57  TranslateApp\build\classes\Translate\word.class

     文件        730  2009-05-20 22:57  TranslateApp\build\classes\Translate\window$1.class

     文件        730  2009-05-20 22:57  TranslateApp\build\classes\Translate\window$2.class

     文件        730  2009-05-20 22:57  TranslateApp\build\classes\Translate\window$3.class

     文件        527  2009-05-20 22:57  TranslateApp\build\classes\Translate\window$4.class

     文件       6745  2009-05-20 22:57  TranslateApp\build\classes\Translate\window.class

     文件         41  2009-05-20 22:57  TranslateApp\build\classes\Translate\translate.rs

     文件        538  2009-05-20 23:14  TranslateApp\build\classes\Translate\Equation.class

     文件       6844  2009-05-20 23:14  TranslateApp\build\classes\Translate\translate.class

     文件          0  2009-05-20 22:57  TranslateApp\build\classes\.netbeans_automatic_build

     文件      23234  2009-05-20 21:46  TranslateApp\dist\TranslateApp.jar

     文件       1451  2009-05-20 21:46  TranslateApp\dist\README.TXT

     目录          0  2009-05-20 22:57  TranslateApp\build\classes\Translate

     目录          0  2009-05-20 22:57  TranslateApp\build\classes\word

     目录          0  2009-05-17 22:13  TranslateApp\nbproject\private

............此处省略11个文件信息

评论

共有 条评论