packages feed

HARM (empty) → 0.1.1

raw patch · 5 files changed

+66/−0 lines, 5 filesdep +arraydep +basesetup-changed

Dependencies added: array, base

Files

+ HARM.cabal view
@@ -0,0 +1,21 @@+Name:		HARM+Version:	0.1.1+Cabal-Version:  >= 1.2+License:	OtherLicense+License-File:	LICENSE.txt+Author:		Jeffrey A. Meunier (and Alex Mason)+Homepage:	http://www.engr.uconn.edu/~jeffm/Classes/CSE240-Spring-2001/Lectures/index.html+Category:	Compilers/Interpreters+Synopsis:	A simple ARM emulator in haskell+build-type:	Simple+description:	A simple ARM virtual machine designed for teaching assembly+Maintainer:	Alex Mason (axman6@gmail.com)++Executable runarm+  Main-Is:        runarm.hs+  Build-Depends:  base+++Executable dbgarm+  Main-Is:        dbgarm.hs+  Build-Depends:  base, array
+ LICENSE.txt view
@@ -0,0 +1,22 @@+Copyright (c) 2000 Jeffrey A. Meunier, (Alex Mason)++Permission is hereby granted, free of charge, to any person+obtaining a copy of this software and associated documentation+files (the Software), to deal in the Software without+restriction, including without limitation the rights to use,+copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the+Software is furnished to do so, subject to the following+conditions:++The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR+OTHER DEALINGS IN THE SOFTWARE.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ dbgarm.hs view
@@ -0,0 +1,11 @@+module Main where+import System.Environment+import System.IO+import Arm+++main = do+        hSetBuffering stdout NoBuffering+        (s:_) <- getArgs+        putStrLn s+        dbg s
+ runarm.hs view
@@ -0,0 +1,10 @@+module Main where+import Arm+import System.Environment+import System.IO++main = do+    hSetBuffering stdout NoBuffering+    (s:_) <- getArgs+    putStrLn s+    run s