dbuild.sl 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. % Build a PSL REDUCE "in core" without the use of fasl files.
  2. (setq modules!* '(prolog rlisp rend arith alg1 rend alg2 % entry
  3. matr hephys)) % util int solve ezgcd factor rcref
  4. % rsltnt bfloat))
  5. % The following three assignments are PSL dependent.
  6. (setq *fastcar t)
  7. (setq *usermode nil)
  8. (setq *verboseload t)
  9. (load compiler)
  10. (setq !*int nil) % prevents input buffer being saved
  11. (setq !*msg nil)
  12. (setq oldchan!* in!*)
  13. (setq !*comp nil)
  14. (flag '(eqcar) 'lose)
  15. (dskin "symget.dat") % For fast plist access.
  16. (dskin "boot.sl")
  17. % Note that the call of "rds" at the end of the boot file seems to be
  18. % needed to make the system continue reading this input file after later
  19. % exits from calls of rds.
  20. (setq !*comp t)
  21. (setq *argnochk t)
  22. (begin2)
  23. rds open("prolog.red",'input);
  24. (begin2)
  25. rds open("rlisp.red",'input);
  26. (begin2)
  27. rds open("rend.red",'input);
  28. (begin2)
  29. put('!~imports,'stat,'rlis);
  30. for each x in cdddr modules!* do
  31. infile concat(string!-downcase x,".red");
  32. end;
  33. (load nbig)
  34. (load init!-file)
  35. (setq !*comp nil)
  36. (setq !*verboseload nil)
  37. (initreduce)