LC3: LC-3 virtual machine

[ bsd3, language, program ] [ Propose Tags ]

Haskell implementation of the LC-3 VM


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2
Change log ChangeLog.md
Dependencies base (<5), bytestring, hspec, lens, mtl, vector [details]
License BSD-3-Clause
Copyright David Johnson (c) 2019
Author David Johnson
Maintainer djohnson.m@gmail.com
Category Language
Source repo head: git clone https://github.com/dmjio/LC3.git
Uploaded by DavidJohnson at 2019-01-01T04:19:10Z
Distributions
Executables LC3
Downloads 1759 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2019-01-01 [all 3 reports]

Readme for LC3-0.1.0.2

[back to package description]

LC3

A Haskell implementation of the LC3 virtual machine

Play 2048!

$ nix-build
$ ./result/bin/LC3 ./2048.obj

Result

+--------------------------+
|                          |
|   16    4     4          |
|                          |
|   2     2                |
|                          |
|               2          |
|                          |
|                          |
|                          |
+--------------------------+

Play Rogue!

$ nix-build
$ ./result/bin/LC3 ./rogue.obj

Result

##################  ############
###################     ########
#######################        #
########################  #  #
###############################D
################################
################################
  ##############################
#  #############################
## @  ##########################
#####  #########################
######  ########################
#######   ######################
#########    ###################
############  ##  ##############
#############      #############