Diogo Cordeiro
|
b8de1b88cb
Add Logic operators
|
пре 5 година |
Diogo Cordeiro
|
ff698f0ea2
Fix Makefile's clean routine
|
пре 5 година |
Hugo Sales
|
024a9fba56
Refactor and restructure
|
пре 5 година |
Hugo Sales
|
e95f72b8f9
Further refactoring in preparation for starting work on MIPS target
|
пре 5 година |
Hugo Sales
|
a61634c05f
Refactor Intermediate Representation stage out
|
пре 5 година |
Diogo Cordeiro
|
7007debe42
[Makefile] Add compiler.hi to OBJS
|
пре 5 година |
Hugo Sales
|
65a777d28a
Add support for strings, refactor, allow for indirect loads and differentiate between loading statics ('#') vs addresses ('$')
|
пре 5 година |
Hugo Sales
|
c582221f0a
Added statics to state, allowing for constant and global objects, such as strings
|
пре 5 година |
Hugo Sales
|
d76a8d6477
Make Prinln use a register
|
пре 5 година |
Hugo Sales
|
a0e3d8fc35
Add TODO
|
пре 5 година |
Hugo Sales
|
2d6c6ff0b5
Add support for attributions
|
пре 5 година |
Hugo Sales
|
7785e2a858
Add halt instruction
|
пре 5 година |
Hugo Sales
|
28841af4d1
Another very important alignment change
|
пре 5 година |
Hugo Sales
|
062abaf178
Fix If and While and wrong printing of results
|
пре 5 година |
Hugo Sales
|
0f4f3e54d8
Merge NumOp and RelOp to simplify parsing
|
пре 5 година |
Diogo Cordeiro
|
f3d672be97
Slightly reduce the nonsense of println
|
пре 5 година |
Diogo Cordeiro
|
07fb32f831
Merge branch 'master' of github.com:diogogithub/compiler
|
пре 5 година |
Diogo Cordeiro
|
46a9ee81b4
[master]
|
пре 5 година |
Hugo Sales
|
3cb351b13a
Rename Block Blk
|
пре 5 година |
Hugo Sales
|
699e5d587c
Remove Move IR as it is equivalent to Unary to (AReg from)
|
пре 5 година |
Hugo Sales
|
ff19e15f3f
Add move IR instruction, use Maybe in Block Reg and Label and all associated functions and refactoring
|
пре 5 година |
Hugo Sales
|
138b53f124
Added support for while statements in the IR
|
пре 5 година |
Hugo Sales
|
ae67365e97
Added a representation of variables and loads and stores to the IR
|
пре 5 година |
Hugo Sales
|
932080c7b0
Fix makefile so it builds on changes to compiler.hs
|
пре 5 година |
Hugo Sales
|
1213547e5e
Very important alignment fix
|
пре 5 година |
Diogo Cordeiro
|
33d3a43528
[master]
|
пре 5 година |
Hugo Sales
|
1e696239c4
Extend IR to include goto, labels, if and relational operators and associated utilities
|
пре 5 година |
Hugo Sales
|
44d2422424
Changing IR printing format to match spec
|
пре 5 година |
Hugo Sales
|
0f9b437b31
Fix compiler register sequencing
|
пре 5 година |
Hugo Sales
|
c3d00bb18e
Stubbed out other stuff so I can work on the compiler part
|
пре 5 година |