LC3: LC-3 virtual machine

[ bsd3, language, program ] [ Propose Tags ]

Haskell implementation of the LC-3 VM


[Skip to Readme]
Versions [faq] 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 Tue Jan 1 04:19:10 UTC 2019
Distributions NixOS:0.1.0.2
Executables LC3
Downloads 228 total (68 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2019-01-01 [all 3 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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
################################
################################
  ##############################
#  #############################
## @  ##########################
#####  #########################
######  ########################
#######   ######################
#########    ###################
############  ##  ##############
#############      #############