README 703 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. == Using Alonzo ==
  2. agda --alonzo File.agda
  3. or
  4. agda -c File.agda
  5. produces File.hs
  6. compile it with
  7. ghc -c File.hs
  8. The main module should contain the function mainS : String, compile it with
  9. ghc --make -main-is File.main File.hs
  10. There is a shell script "almake" that will do both, provided you have
  11. compiled all dependencies beforehand.
  12. Prerequisites
  13. You need the following runtime files:
  14. RTS.hs RTN.hs RTP.hs
  15. RTN.agda RTP.agda
  16. NEVER run agda -c on RT* files as it will destroy the corresponding .hs files
  17. There is a "runtime" target in the Makefile, so running
  18. make runtime
  19. will compile the runtime files for you.
  20. There is a small prelude included, you can compile it with
  21. make prelude