Changeset 11383


Ignore:
Timestamp:
11/08/08 01:18:58 (13 years ago)
Author:
vvoutilainen
Message:

Add copyright/license headers.

Location:
trunk/j/examples/abcl
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/examples/abcl/interface_implementation_in_lisp/Main.java

    r11382 r11383  
     1/*
     2 * Main.java
     3 *
     4 * Copyright (C) 2008 Ville Voutilainen
     5 *
     6 * This program is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU General Public License
     8 * as published by the Free Software Foundation; either version 2
     9 * of the License, or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 * GNU General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU General Public License
     17 * along with this program; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19 */
     20
    121import org.armedbear.lisp.*;
    222
  • trunk/j/examples/abcl/interface_implementation_in_lisp/MyInterface.java

    r11382 r11383  
     1/*
     2 * MyInterface.java
     3 *
     4 * Copyright (C) 2008 Ville Voutilainen
     5 *
     6 * This program is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU General Public License
     8 * as published by the Free Software Foundation; either version 2
     9 * of the License, or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 * GNU General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU General Public License
     17 * along with this program; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19 */
     20
    121/**
    222 * Example interface, with two methods.
  • trunk/j/examples/abcl/interface_implementation_in_lisp/interface_implementation.lisp

    r11382 r11383  
     1;;; interface_implementation.lisp
     2;;;
     3;;; Copyright (C) 2008 Ville Voutilainen
     4;;;
     5;;; This program is free software; you can redistribute it and/or
     6;;; modify it under the terms of the GNU General Public License
     7;;; as published by the Free Software Foundation; either version 2
     8;;; of the License, or (at your option) any later version.
     9;;;
     10;;; This program is distributed in the hope that it will be useful,
     11;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13;;; GNU General Public License for more details.
     14;;;
     15;;; You should have received a copy of the GNU General Public License
     16;;; along with this program; if not, write to the Free Software
     17;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     18
    119; first we define a class hierarchy. No slots defined,
    220; we don't need them in the example.
  • trunk/j/examples/abcl/javacall_from_lisp/Main.java

    r11382 r11383  
     1/*
     2 * Main.java
     3 *
     4 * Copyright (C) 2008 Ville Voutilainen
     5 *
     6 * This program is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU General Public License
     8 * as published by the Free Software Foundation; either version 2
     9 * of the License, or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 * GNU General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU General Public License
     17 * along with this program; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19 */
     20
    121import org.armedbear.lisp.*;
    222
  • trunk/j/examples/abcl/javacall_from_lisp/lispfunctions.lisp

    r11382 r11383  
     1;;; lispfunctions.lisp
     2;;;
     3;;; Copyright (C) 2008 Ville Voutilainen
     4;;;
     5;;; This program is free software; you can redistribute it and/or
     6;;; modify it under the terms of the GNU General Public License
     7;;; as published by the Free Software Foundation; either version 2
     8;;; of the License, or (at your option) any later version.
     9;;;
     10;;; This program is distributed in the hope that it will be useful,
     11;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13;;; GNU General Public License for more details.
     14;;;
     15;;; You should have received a copy of the GNU General Public License
     16;;; along with this program; if not, write to the Free Software
     17;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     18
    119; we need to get the
    220; 1) class (Main)
  • trunk/j/examples/abcl/lispcall_from_java_simple/Main.java

    r11382 r11383  
     1/*
     2 * Main.java
     3 *
     4 * Copyright (C) 2008 Ville Voutilainen
     5 *
     6 * This program is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU General Public License
     8 * as published by the Free Software Foundation; either version 2
     9 * of the License, or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 * GNU General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU General Public License
     17 * along with this program; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19 */
     20
    121import org.armedbear.lisp.*;
    222
  • trunk/j/examples/abcl/lispcall_from_java_simple/MainAlternative.java

    r11382 r11383  
     1/*
     2 * MainAlternative.java
     3 *
     4 * Copyright (C) 2008 Ville Voutilainen
     5 *
     6 * This program is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU General Public License
     8 * as published by the Free Software Foundation; either version 2
     9 * of the License, or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 * GNU General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU General Public License
     17 * along with this program; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19 */
     20
    121import org.armedbear.lisp.*;
    222
  • trunk/j/examples/abcl/lispcall_from_java_simple/lispfunction.lisp

    r11382 r11383  
     1;;; lispfunction.lisp
     2;;;
     3;;; Copyright (C) 2008 Ville Voutilainen
     4;;;
     5;;; This program is free software; you can redistribute it and/or
     6;;; modify it under the terms of the GNU General Public License
     7;;; as published by the Free Software Foundation; either version 2
     8;;; of the License, or (at your option) any later version.
     9;;;
     10;;; This program is distributed in the hope that it will be useful,
     11;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13;;; GNU General Public License for more details.
     14;;;
     15;;; You should have received a copy of the GNU General Public License
     16;;; along with this program; if not, write to the Free Software
     17;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     18
    119(defun lispfunction ()
    220  (format t "in lispfunction~%"))
  • trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/Main.java

    r11382 r11383  
     1/*
     2 * Main.java
     3 *
     4 * Copyright (C) 2008 Ville Voutilainen
     5 *
     6 * This program is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU General Public License
     8 * as published by the Free Software Foundation; either version 2
     9 * of the License, or (at your option) any later version.
     10 *
     11 * This program is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 * GNU General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU General Public License
     17 * along with this program; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     19 */
     20
    121import org.armedbear.lisp.*;
    222
  • trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/lispfunctions.lisp

    r11382 r11383  
     1;;; lispfunctions.lisp
     2;;;
     3;;; Copyright (C) 2008 Ville Voutilainen
     4;;;
     5;;; This program is free software; you can redistribute it and/or
     6;;; modify it under the terms of the GNU General Public License
     7;;; as published by the Free Software Foundation; either version 2
     8;;; of the License, or (at your option) any later version.
     9;;;
     10;;; This program is distributed in the hope that it will be useful,
     11;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
     12;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13;;; GNU General Public License for more details.
     14;;;
     15;;; You should have received a copy of the GNU General Public License
     16;;; along with this program; if not, write to the Free Software
     17;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     18
    119; param comes from java, so accessing it require
    220; calling jobject-lisp-value on it
Note: See TracChangeset for help on using the changeset viewer.