changed the file structure

This commit is contained in:
Aaro Koivukangas
2024-01-29 15:46:11 +02:00
parent 47c347ea87
commit 4947f1e278
13 changed files with 30 additions and 0 deletions
+14
View File
@@ -3,3 +3,17 @@
TTK-91 is a assembly-like language made for a Computer organization course in Helsinki University.
The course used this language to teach how programming languages work, how code is compiled into machine language from a basic assembly-like language.
This language is now retiring and as a tribute, I thought I would write a proper CLI compiler for the language in Haskell.
## Todo
* Implement
* registers
* memory
* LOAD, STORE
* arithmetic operations
* comparison
* jumps
* Stack + operators
* System calls
* instruction translation to binary and hex
* compiler configuration (stdin etc.)
View File
View File
View File
View File
+3
View File
@@ -0,0 +1,3 @@
module Register
where
View File
+13
View File
@@ -0,0 +1,13 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
packages: []
snapshots:
- completed:
sha256: 7b975b104cb3dbf0c297dfd01f936a4d2ee523241dd0b1ae960522b833fe3027
size: 714096
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/7.yaml
original:
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/7.yaml