Commit Graph

780 Commits

Author SHA1 Message Date
43ed297a12 Add Windows paths to design/units.md 2024-03-27 13:38:13 -04:00
76615df4d4 Add option to specify module search paths manually 2024-03-27 13:13:22 -04:00
2caed5b4ae Add an executable filetype 2024-03-27 12:52:20 -04:00
cd396952f2 Certain filename extentions depend on target os 2024-03-27 12:40:45 -04:00
0404202691 Compiler takes in a target 2024-03-27 12:10:19 -04:00
92ad52b2aa Add OS field to Target 2024-03-27 12:05:30 -04:00
10246f7268 Add untested windows native paths 2024-03-27 11:24:26 -04:00
2edda8a960 Add stub for Windows native parameters 2024-03-26 13:15:56 -04:00
11e7a83eb4 Add native paths for unix 2024-03-26 13:15:03 -04:00
9b45bc56d4 Resolver is now used behind a pointer 2024-03-26 13:12:38 -04:00
b9e0b3265e fsplc and fsplmod use rooted paths to identify things
Remedies #71
2024-03-26 02:07:27 -04:00
48fa712cb7 Update fsplc/doc.go usage 2024-03-26 02:07:04 -04:00
cad6a0759a Compiler now uses LLVM-like output filetype names
Remedies #40
2024-03-26 01:53:10 -04:00
6c7fcf6045 Add compiler test for puts libc function 2024-03-26 01:18:39 -04:00
eb2c1c8aed Fixed error message for types in match exprs not being unions 2024-03-26 01:12:47 -04:00
78ea6e45b2 Update roadmap 2024-03-26 01:01:02 -04:00
ebafbc2a38 Merge pull request 'implement-switch-expressions' (#70) from implement-switch-expressions into main
Reviewed-on: #70
2024-03-26 04:55:45 +00:00
650289f03e Generate switch statements 2024-03-26 00:42:27 -04:00
5dda7b2186 Generate match statement default cases 2024-03-25 22:34:24 -04:00
4931f97496 Switch statement analysis passes tests 2024-03-25 19:50:54 -04:00
f3bdfef5c5 Add analyzer tests to switch statements 2024-03-25 19:49:48 -04:00
a50a5febb9 Untested analysis of switch statements 2024-03-25 12:08:28 -04:00
6916b3b7b1 Analyze match expression default cases 2024-03-25 11:29:24 -04:00
d8f82d3646 Parse switch expressions 2024-03-25 02:18:18 -04:00
e27fb9e79b Parse default match cases 2024-03-25 01:53:40 -04:00
1f04c3a593 Added switch statements, default cases to entity 2024-03-25 01:16:41 -04:00
7e05785c09 Added switch statements to spec 2024-03-25 00:46:30 -04:00
dcad5a2d18 Update roadmap 2024-03-25 00:36:04 +00:00
3cd3384006 Remove the star from array literals 2024-03-24 20:31:25 -04:00
7f58f7da8b Change the compiler test names to make them more legible 2024-03-24 20:09:10 -04:00
4342c15e38 Merge pull request 'implement-range-loops' (#68) from implement-range-loops into main
Reviewed-on: #68
2024-03-25 00:03:53 +00:00
18e7850b58 Update generator tests 2024-03-24 20:02:57 -04:00
70c58f74de Fix assignment from array to slice 2024-03-24 19:57:24 -04:00
185ef7f6f9 For loops loop back around to the loop header 2024-03-24 03:35:04 -04:00
f3c0901493 For loop elements are properly copied 2024-03-24 03:09:33 -04:00
f84ddf8cad What? 2024-03-20 13:29:26 -04:00
cd08801a29 Added a timeout for compiler tests 2024-03-20 12:38:46 -04:00
84e21b3832 Update generator test cases 2024-03-20 11:54:49 -04:00
648b1df547 Generator generates valid gep index for for loop indexing 2024-03-20 11:51:44 -04:00
a4443444c1 Add compiler test cases for loops 2024-03-20 11:35:14 -04:00
a647f27e8c Fix test cases 2024-03-20 11:19:24 -04:00
ecd6eba434 Loops now handle multiple break statements correctly 2024-03-20 04:19:47 -04:00
50f088842a For loop generation should be more correct now 2024-03-20 02:55:31 -04:00
491a9b2369 Untested for loop generation 2024-03-20 02:52:01 -04:00
a9adc77658 For loop generation stub 2024-03-20 02:09:26 -04:00
16686bfa3d Update README.md 2024-03-19 19:15:18 +00:00
7cf770df7f Update usage instructions 2024-03-19 19:13:07 +00:00
909d463637 Update roadmap part one bazillion 2024-03-19 18:42:33 +00:00
9b1f6d695c Oh come on 2024-03-19 18:39:52 +00:00
838c34b0a1 Update roadmap again 2024-03-19 18:39:29 +00:00