1. 21 Apr, 2006 3 commits
  2. 20 Apr, 2006 2 commits
    • Akim Demaille's avatar
      2006-04-20 Akim Demaille <akim@lrde.epita.fr> · ffd92981
      Akim Demaille authored
      	* src/Trace.hs (verbose): Also use the specified fd.
      	(averbose): Use it.
      ffd92981
    • Akim Demaille's avatar
      2006-04-20 Akim Demaille <akim@lrde.epita.fr> · 384e0f49
      Akim Demaille authored
      	Let --trace, --display, and --profile take an optional fd.
      	This patch is ugly, with a lot of code duplication...
      	I'll improve it late, but be my guest if you feel like.
      	* src/Opt.hs (Flag): Replace Trace and Display with TraceFd and
      	DisplayFd.
      	Adjust all the code.
      	(profilefdm displayfd, tracefd): New.
      	(extract): Adjust.
      	* src/VMMonad.hs (setDisplayHandle, setTraceHandle)
      	(getDisplayHandle, getTraceHandle): New.
      	* src/Main.hs: Import and use them.
      	* src/Trace.hs (hwarn): New.
      	(averbose): Use it.
      	* doc/havm.texi (Invoking havm): Adjust.
      384e0f49
  3. 06 Mar, 2006 3 commits
  4. 28 Feb, 2006 2 commits
  5. 27 Feb, 2006 3 commits
    • Roland Levillain's avatar
      Add the choice of the file descriptor for the profiling information. · 1384172e
      Roland Levillain authored
      - src/Opt.hs (Profile): Rename constructor as...
      (ProfileFd): ...this, and have it take a String value.
      Adjust Eq instance.
      (extract): Adjust.
      (OptVal): New type.
      (version_message): Update years.
      (options): Let the `profile' option take a mandatory argument.
      (opt, process, extract): Use `Map String OptVal' instead of
      `Map String Bool'.
      - src/VMMonad.hs (State): Add a new `profileHandle' field to the
      record.
      (run): Initialize this new field.
      (optset, opttell): Use `OptVal' instead of `Bool'.
      (setProfileHandle, getProfileHandle): New functions.
      - src/Trace.hs (trace, verbose, averbose): Adjust.
      - src/Profile.hs (profileExp, profileStm): Use getProfileHandle
      instead of querying the `profile' option of the VM.
      - src/Main.hs (profileM): Likewise.
      (evalM): Likewise.
      Use setProfileHandle instead of setting the `profile' option of
      the VM.
      Adjust.
      (unparseM, checkLowM): Adjust.
      1384172e
    • Roland Levillain's avatar
      2006-02-27 Roland Levillain <roland@lrde.epita.fr> · 120d649d
      Roland Levillain authored
      	Fix the previous change.
      
      	* vcs/havm.vcs: Rename as...
      	* vcs/havm.rb: ...this.
      	(tiger_commit!): Rename as...
      	(havm_commit!): ...this.
      120d649d
    • Roland Levillain's avatar
      2006-02-27 Roland Levillain <roland@lrde.epita.fr> · 05f38a4b
      Roland Levillain authored
      	Support Vcs.
      
      	* vcs/havm.rb: New.
      05f38a4b
  6. 19 Oct, 2005 1 commit
  7. 14 Jun, 2005 2 commits
  8. 09 Jun, 2005 1 commit
  9. 08 Jun, 2005 1 commit
  10. 06 Jun, 2005 3 commits
  11. 02 Jun, 2005 1 commit
  12. 31 May, 2005 1 commit
  13. 23 May, 2005 3 commits
    • Yann Rgis-Gianas's avatar
      2005-05-23 Yann Regis-Gianas <yann.regisgianas@gmail.com> · c2c96d48
      Yann Rgis-Gianas authored
      	Finish port to GHC 6.4.
      
      	* src/Monad.hs: Rename to ...
      	* src/VMMonad.hs: New.
      	* src/Makefile.am: Update.
      	* src/Level.hs, src/Code.hs, src/Report.hs, src/Preload.hs, 
      	  src/Eval.hs, src/RuntimeCommon.hs, src/RuntimePrint.hs,
      	  src/Low.hs, src/RuntimeInput.hs, src/Plain.hs, src/Memory.hs,
      	  src/RuntimeString.hs, src/High.hs, src/RuntimeChar.hs, 
      	  src/Runtime.hs, src/Main.hs, src/Cpu.hs, src/RuntimeSystem.hs,
      	  src/Trace.hs, src/RuntimeInt.hs, src/Profile.hs
      	
      	     - Adjust dependencies ;
      	     - Adjust API's calls.
      
      
      c2c96d48
    • Akim Demaille's avatar
      2005-05-23 Akim Demaille <akim@epita.fr> · 640ad98a
      Akim Demaille authored
      	First set of changes to compile with GHC 6.4.
      	Help is needed!
      
      	* Code.hs, Cpu.hs, Eval.hs, Level.hs, Main.hs, Monad.hs, Opt.hs,
      	* Report.hs, Runtime.hs, RuntimeCommon.hs, RuntimeSystem.hs:
      	s/FiniteMap/Data.Map/.
      	Use System.Posix, not Posix.
      	Use System.Console.GetOpt, not GetOpt.
      640ad98a
    • Akim Demaille's avatar
      2005-05-23 Akim Demaille <akim@epita.fr> · 44a9c559
      Akim Demaille authored
      	First set of changes to compile with GHC 6.4.
      	Help is needed!
      
      	* Code.hs, Cpu.hs, Eval.hs, Level.hs, Main.hs, Monad.hs, Opt.hs,
      	Report.hs, Runtime.hs, RuntimeCommon.hs, RuntimeSystem.hs:
      	s/FiniteMap/Data.Map/.
      44a9c559
  14. 12 May, 2005 1 commit
    • Akim Demaille's avatar
      2005-05-12 Akim Demaille <akim@epita.fr> · b00bf201
      Akim Demaille authored
      	Support src != build for all the targets.
      
      	* src/Makefile.am (GHC_FLAGS): New.
      	(bsd, profile): Use it.
      	And adjust the path to Main.hs.
      	(bsd): Rename as...
      	(static): this.
      	* Makefile.am (static, profile): New.
      b00bf201
  15. 09 May, 2005 1 commit
    • Akim Demaille's avatar
      2005-05-09 Akim Demaille <akim@epita.fr> · f2acc0f5
      Akim Demaille authored
      	Let HAVM have a more regular language.
      
      	* src/Scan.hs (scanTokKeyword): Extend to support arithmetics in
      	letters.
      	Extend to handle symbols for arithmetics and comparisons.
      	(isIndent, isIndentNum): Adjust to handle symbolic operators.
      	(charToOp, scan): No longer treat (+) operators specifically.
      	* src/Main.hs (evalM): The main function is main, not Main.
      	* src/Ir.hs: Adjust the way to show the operators.
      	* doc/havm.texi, doc/builtins.texi: Update to cover all the recent
      	additions and changes.
      f2acc0f5
  16. 16 Feb, 2005 1 commit
  17. 15 Feb, 2005 1 commit
    • Roland Levillain's avatar
      2005-02-15 Roland Levillain <roland@lrde.epita.fr> · af7802aa
      Roland Levillain authored
      	Add support for the `print_err' primitive.
      
      	* src/RuntimePrint.hs (hPrint): New function.  Use it to rewrite...
      	(rtPrint): ...this function.
      	(rtPrintErr): New function.  Export it.
      	* src/Runtime.hs (rtLib): Import rtPrintErr.
      	Handle print_err symbol.
      af7802aa
  18. 15 Nov, 2004 1 commit
  19. 20 Oct, 2004 1 commit
  20. 12 Jul, 2004 1 commit
  21. 28 Jun, 2004 1 commit
  22. 26 Jun, 2004 1 commit
  23. 25 Jun, 2004 2 commits
    • Clement Vasseur's avatar
      2004-06-25 Clement Vasseur <clement.vasseur@lrde.epita.fr> · 29f16370
      Clement Vasseur authored
              * debian/Makefile.am (deb): Patch the version in the changelog file
              of the distributed tarball, not the one in the current directory,
              because it's the distributed tarball that is used to build the Debian
              package.
      
      29f16370
    • Clement Vasseur's avatar
      2004-06-25 Clement Vasseur <clement.vasseur@lrde.epita.fr> · fde18db7
      Clement Vasseur authored
              Introduce a "make deb" rule for building a package for Debian.
      
              * debian/control, debian/compat, debian/changelog, debian/copyright,
              * debian/docs, debian/rules, debian/info: New. Debian files.
              * debian/Makefile.am: New. Tell how to generate the package.
              * Makefile.am: Add debian to SUBDIRS and the `deb' rule.
              * configure.ac: Add debian/Makefile.
      
      fde18db7
  24. 19 Jun, 2004 1 commit
  25. 18 Jun, 2004 1 commit
  26. 05 May, 2004 1 commit