Changeset 3805


Ignore:
Timestamp:
09/16/03 00:45:48 (19 years ago)
Author:
piso
Message:

extends CommandInterpreter? => extends LispShell?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/JLisp.java

    r2352 r3805  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: JLisp.java,v 1.11 2003-06-13 16:39:26 piso Exp $
     5 * $Id: JLisp.java,v 1.12 2003-09-16 00:45:48 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    2929import org.armedbear.lisp.Condition;
    3030
    31 public final class JLisp extends CommandInterpreter
     31public final class JLisp extends LispShell
    3232{
    3333    private Thread thread;
     
    4444        mode = LispShellMode.getMode();
    4545        formatter = mode.getFormatter(this);
    46         setTransient(true);
    4746        setInitialized(true);
    4847    }
    4948
    50     public final boolean isLisp()
     49    protected void initializeHistory()
     50    {
     51        history = new History("jlisp.history", 30);
     52    }
     53
     54    public String toString()
     55    {
     56        return "jlisp";
     57    }
     58
     59    // Returns true if underlying process is alive and well.
     60    protected boolean checkProcess()
    5161    {
    5262        return true;
    53     }
    54 
    55     protected void initializeHistory()
    56     {
    57         history = new History("jlisp.history", 30);
    58     }
    59 
    60     public String toString()
    61     {
    62         return "jlisp";
    6363    }
    6464
Note: See TracChangeset for help on using the changeset viewer.