home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1592 / INSTALL next >
Encoding:
Text File  |  1990-12-28  |  2.1 KB  |  71 lines

  1. THREADED INTERPRETIVE LANGUAGE ENVIRONMENT (TILE) INSTALLATION
  2.  
  3. June 29, 1990
  4.  
  5. Mikael R.K. Patel
  6. Computer Aided Design Laboratory (CADLAB)
  7. Department of Computer and Information Science
  8. Linkoping University
  9. S-581 83 LINKOPING
  10. SWEDEN
  11. Email: mip@ida.liu.se
  12.  
  13.  
  14. 1.    INTRODUCTION
  15.  
  16. To install the TILE forth environment create a directory with the 
  17. name "tile" and move all the "tile.kit" files to the new directory.
  18. The kit files should be packed up with the command "sh". A number
  19. of additional directories will be build. To compile the TILE forth
  20. application issue the command "make". The sequence of commands is:
  21.  
  22. % mkdir tile
  23. % mv tile.kit.* tile
  24. % cd tile
  25. % sh tile.kit.01
  26. % ...
  27. % make
  28.  
  29. The "make" command will compile the forth environment. You can use
  30. the option "opt" to generate an optimized version.
  31.  
  32.  
  33. 2.    SEARCH PATHS
  34.  
  35. The compiled forth application will be placed in the "tile/bin"
  36. directory. To gain access to it and the manual pages you should
  37. add the following section to your ".login" file. 
  38.  
  39. setenv TILE $HOME/tile
  40. set path = ($path $TILE/bin)
  41. #
  42. setenv TILEPATH $TILE/lib:$TILE/tst
  43. setenv MANPATH $TILE/man:/usr/share/man
  44.  
  45.  
  46. 3.     GNU EMACS FORTH-MODE
  47.  
  48. The programming environment is a forth-mode for GNU emacs. To make
  49. it accessable to emacs you must add the following definitions to your
  50. ".emacs" file (or load the library "src/forth.el" manually in emacs 
  51. each time).
  52.  
  53. ;; *** Search path for directories to find files to load ***
  54. (set-variable 'load-path (append load-path '(nil "~/tile/scr")))
  55.  
  56. ;; *** TILE forth mode ***
  57. (setq forth-help-load-path '("~/tile/doc"))
  58. (autoload 'forth-mode "forth")
  59. (setq auto-mode-alist
  60.       (append '(("\\.tst$" . forth-mode) 
  61.         ("\\.f83$" . forth-mode))
  62.           auto-mode-alist))
  63.  
  64.  
  65. Depending on which directory you have used ($HOME or some system 
  66. directory) the directory specification will have to be changed. If
  67. correctly installed emacs will automatically load the forth-mode 
  68. on files with the extensions "f83" and "tst" and start the forth
  69. application in a sub-window. For more information about the
  70. forth-mode just give the command "M-X describe-mode" in emacs.
  71.