mirror of
https://github.com/iritmaximus/ttk91-compiler.git
synced 2026-10-12 19:13:40 +03:00
changed the file structure
This commit is contained in:
@@ -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.)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
module Register
|
||||
where
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user