Ethan Reece
|
d40467bc00
|
Parse negative numbers
|
2023-09-30 04:35:59 -05:00 |
Ethan Reece
|
d14c5ace00
|
Reorganize Parser method
|
2023-09-30 04:07:45 -05:00 |
Ethan Reece
|
01ff098530
|
Update Readme
|
2023-09-30 03:57:03 -05:00 |
Ethan Reece
|
e7083c1c40
|
Change Parser from string to text
|
2023-09-29 22:59:25 -05:00 |
Ethan Reece
|
7f588ec561
|
Reorganize program
|
2023-09-29 18:31:30 -05:00 |
Ethan Reece
|
5f1b5ce65c
|
Merge pull request 'Compile program to LLVM' (#21) from feature-llvm into main
Reviewed-on: https://git.sudoer.ch/me/really-bad-compiler-in-haskell/pulls/21
|
2023-09-29 10:41:05 +00:00 |
Ethan Reece
|
b89be8de8c
|
Add division
|
2023-09-29 05:31:33 -05:00 |
Ethan Reece
|
08e684206e
|
Update README.md
|
2023-09-29 05:21:50 -05:00 |
Ethan Reece
|
0b915f5788
|
Remove llvm-hs-pretty since it was generating broken code
|
2023-09-29 05:19:11 -05:00 |
Ethan Reece
|
a9549210a7
|
Compile to binary executable file
|
2023-09-29 05:17:12 -05:00 |
Ethan Reece
|
c296d15f85
|
Write llvm to file
|
2023-09-29 02:29:05 -05:00 |
Ethan Reece
|
5fc26a7acd
|
Reorganize program, removing unnecessary code
|
2023-09-29 02:02:34 -05:00 |
Ethan Reece
|
30df05afa9
|
Generate LLVM code and print to console
|
2023-09-28 23:42:59 -05:00 |
Ethan Reece
|
9f9642347b
|
Start new LLVM generator using IRBuilder
|
2023-09-23 23:15:11 -05:00 |
Ethan Reece
|
d42de52f78
|
Generate LLVM program that returns 0 when run
|
2023-09-22 23:59:31 -05:00 |
Ethan Reece
|
c0e77d22cf
|
Print generated llvm
|
2023-09-22 16:38:17 -05:00 |
Ethan Reece
|
37dcd45432
|
Copy and paste llvm-hs-examples/basic on GitHub to LLVMGen/Expression.hs and configure stack to compile it correctly
|
2023-09-17 23:18:55 -05:00 |
Ethan Reece
|
187f0577f5
|
Revert to LLVM 15 and remove llvm-hs-pretty for lack of support
|
2023-09-15 02:37:47 -05:00 |
Ethan Reece
|
51d2a951e6
|
Attempt to install llvm using nix
|
2023-09-15 01:57:17 -05:00 |
Ethan Reece
|
dbf8b9b522
|
Downgrade llvm from 15 to 12 and ghc from 9.2 to 8.10 for better support
|
2023-09-15 01:03:45 -05:00 |
Ethan Reece
|
0a376070cb
|
Add LLVM library
|
2023-09-15 00:51:44 -05:00 |
Ethan Reece
|
71f726fce6
|
Switch package data from cabal to stack
|
2023-09-14 23:06:40 -05:00 |
Ethan Reece
|
ae191c71dd
|
Update README.md
|
2023-09-11 12:05:44 -05:00 |
Ethan Reece
|
17a683e27d
|
Add example programs
|
2023-09-11 12:04:36 -05:00 |
Ethan Reece
|
3388e3f97e
|
Read expressions from file
|
2023-09-08 01:31:07 -05:00 |
Ethan Reece
|
af50529dc1
|
Add solving expressions
|
2023-09-08 00:53:11 -05:00 |
Ethan Reece
|
7f28dc939f
|
Move parser to separate file
|
2023-09-07 23:13:47 -05:00 |
Ethan Reece
|
a58bb2bab0
|
Make minor improvements to parser
|
2023-09-07 23:04:01 -05:00 |
Ethan Reece
|
ff7fe0a1d3
|
Create very basic equation parser
|
2023-09-07 22:57:12 -05:00 |
Ethan Reece
|
5655c91ea7
|
Add megaparsec
|
2023-09-07 17:59:56 -05:00 |
Ethan Reece
|
0062f14109
|
Cabal init
|
2023-09-07 17:24:45 -05:00 |
Ethan Reece
|
cda1c0664c
|
Remove RTX
|
2023-09-07 17:15:02 -05:00 |
Ethan Reece
|
7090cecb9b
|
Create initial files
|
2023-09-07 15:57:58 -05:00 |
Ethan Reece
|
7d773d9155
|
Initial commit
|
2023-09-07 20:46:17 +00:00 |