home *** CD-ROM | disk | FTP | other *** search
/ Hacker / Hacker.iso / HACKER / DECOMP / DECAF / readme < prev    next >
Encoding:
Text File  |  1996-09-19  |  3.9 KB  |  109 lines

  1.                                 DECAF README
  2.                                 ------------
  3.  
  4.    Decaf is a Java class Decompiler written with Ada95. Its future versions 
  5.    will allow translation to other languages (Ada and Smalltalk translations 
  6.    are currently under development). 
  7.    Decaf is designed to be very portable, and it should be compiled without
  8.    any problem on all platform with a recent GNAT compiler (I did install
  9.    it with success with release 3.04 on DOS and Sun-OS).
  10.    Since this tool is developed only during my spare time, planning for 
  11.    these versions is quite difficult and help is really welcome. 
  12.    Please check the Decaf Homepage for informations at :
  13.      http://ourworld.compuserve.com/homepages/teleobjet/decaf.htm
  14.  
  15.    This README file includes Decaf version, use, copyright and installation 
  16.    informations.
  17.  
  18.    For any comment about Decaf please contact me by email at :
  19.       100704.2016@compuserve.com mentioning Decaf in the subject.
  20.  
  21.  
  22. Version
  23. -------
  24.  
  25.    14/06/96 - Current version is 1.0; 
  26.    
  27. Copyright Informations
  28. ----------------------
  29.  
  30.    Decaf has been submitted to the Ada Ressource Association's Ada Lovelace
  31.    Programming Contest. The rules of this contest require the following
  32.    Copyright statement to be included in each source file :
  33.  
  34.    --
  35.    -- Copyright (C) 1996 Ada Resource Association (ARA), Columbus, Ohio.
  36.    -- Author: Gilles Demailly
  37.    --
  38.    --
  39.    -- Permission to use, copy, modify, and distribute this software and its
  40.    -- documentation for any purpose and without fee is hereby granted,
  41.    -- provided that the above copyright and authorship notice appear in all
  42.    -- copies and that both that copyright notice and this permission notice
  43.    -- appear in supporting documentation.
  44.    -- 
  45.    -- The ARA makes no representations about the suitability of this software
  46.    -- for any purpose.  It is provided "as is" without express
  47.    -- or implied warranty.
  48.    --
  49.  
  50. Decaf User Manual
  51. -----------------
  52.    
  53.    Usage : decaf [-b] [-ada] [-stk] name(s)
  54.  
  55.    where options include:
  56.  
  57.       -b    : Provides a body (this current version provides only
  58.               the methods instructions like javap)
  59.       -ada  : Ouputs Ada code (not yet available)
  60.       -stk  : Ouputs Smalltalk code (not yet available)
  61.     name(s) : Java Class file name, including extension and
  62.               full path if necessary. On Unix, *.class may
  63.               be used.
  64.    
  65.    
  66. Installation Notes
  67. ------------------
  68.  
  69.    Decaf is provided as a Zip file containing source files and documentation.
  70.    Once you have uncompressed all files, you should rename files if your 
  71.    platform allows more than 8 characters long names (utility files are
  72.    provided). Installation is then completed with a Gnatmake instruction.
  73.  
  74.    . Unix :
  75.  
  76.      - Run the to_unix file to get complete file names
  77.         (chmod +x to_unix is necessary)
  78.      - Use gnatmake decaf to compile and bind Decaf
  79.      - add decaf to your path : set path=(yourpath/decaf $path)
  80.      - adjust the Gnat Paths :
  81.        setenv ADA_INCLUDE_PATH yourpath/decaf:$ADA_INCLUDE_PATH
  82.        setenv ADA_OBJECTS_PATH yourpath/decaf:$ADA_OBJECTS_PATH
  83.        
  84.    . DOS :
  85.  
  86.      - Use gnatmake decaf to compile and bind Decaf
  87.      - add decaf to your path : 
  88.        set PATH=%PATH%;c:\decaf
  89.      - adjust the Gnat Paths :
  90.        set ADA_INCLUDE_PATH=c:/decaf;%ADA_INCLUDE_PATH%
  91.        set ADA_OBJECTS_PATH=c:/decaf;%ADA_OBJECTS_PATH%
  92.  
  93.    . Windows 95 and NT :
  94.   
  95.      - Run the to_unix.bat file to get complete file names
  96.      - Use gnatmake decaf to compile and bind Decaf
  97.      - add decaf to your path : 
  98.        set PATH=%PATH%;c:\decaf
  99.      - adjust the Gnat Paths :
  100.        set ADA_INCLUDE_PATH=c:/decaf;%ADA_INCLUDE_PATH%
  101.        set ADA_OBJECTS_PATH=c:/decaf;%ADA_OBJECTS_PATH%
  102.  
  103.  
  104.  
  105. Gilles Demailly - 100704.2016@compuserve.com
  106. (this email address and the Decaf Homepage site are provided 
  107.  by friends from TeleObjet, please check their home page at : 
  108.  http://ourworld.compuserve.com/homepages/teleobjet/Homepage.htm)
  109.