sashakoshka
|
10246f7268
|
Add untested windows native paths
|
2024-03-27 11:24:26 -04:00 |
|
sashakoshka
|
2edda8a960
|
Add stub for Windows native parameters
|
2024-03-26 13:15:56 -04:00 |
|
sashakoshka
|
11e7a83eb4
|
Add native paths for unix
|
2024-03-26 13:15:03 -04:00 |
|
sashakoshka
|
9b45bc56d4
|
Resolver is now used behind a pointer
|
2024-03-26 13:12:38 -04:00 |
|
sashakoshka
|
b9e0b3265e
|
fsplc and fsplmod use rooted paths to identify things
Remedies #71
|
2024-03-26 02:07:27 -04:00 |
|
sashakoshka
|
cad6a0759a
|
Compiler now uses LLVM-like output filetype names
Remedies #40
|
2024-03-26 01:53:10 -04:00 |
|
sashakoshka
|
6c7fcf6045
|
Add compiler test for puts libc function
|
2024-03-26 01:18:39 -04:00 |
|
sashakoshka
|
650289f03e
|
Generate switch statements
|
2024-03-26 00:42:27 -04:00 |
|
sashakoshka
|
5dda7b2186
|
Generate match statement default cases
|
2024-03-25 22:34:24 -04:00 |
|
sashakoshka
|
3cd3384006
|
Remove the star from array literals
|
2024-03-24 20:31:25 -04:00 |
|
sashakoshka
|
7f58f7da8b
|
Change the compiler test names to make them more legible
|
2024-03-24 20:09:10 -04:00 |
|
sashakoshka
|
70c58f74de
|
Fix assignment from array to slice
|
2024-03-24 19:57:24 -04:00 |
|
sashakoshka
|
185ef7f6f9
|
For loops loop back around to the loop header
|
2024-03-24 03:35:04 -04:00 |
|
sashakoshka
|
f3c0901493
|
For loop elements are properly copied
|
2024-03-24 03:09:33 -04:00 |
|
sashakoshka
|
f84ddf8cad
|
What?
|
2024-03-20 13:29:26 -04:00 |
|
sashakoshka
|
cd08801a29
|
Added a timeout for compiler tests
|
2024-03-20 12:38:46 -04:00 |
|
sashakoshka
|
a4443444c1
|
Add compiler test cases for loops
|
2024-03-20 11:35:14 -04:00 |
|
sashakoshka
|
babcce643f
|
Update compiler
|
2024-03-14 03:20:55 -04:00 |
|
sashakoshka
|
db98e590fc
|
Change interface symbol from ~ to &
|
2024-03-13 23:05:58 -04:00 |
|
sashakoshka
|
e0d4be8db8
|
Removed "in" from match statement
|
2024-03-13 22:44:11 -04:00 |
|
sashakoshka
|
be08308cb2
|
Add a compiler test for this
|
2024-03-06 17:41:52 -05:00 |
|
sashakoshka
|
040be67476
|
Add compiler tests for unions/matches
|
2024-03-06 15:06:21 -05:00 |
|
sashakoshka
|
005b2fcd56
|
Inline string literal since #46 has been remedied
|
2024-03-01 00:17:39 -05:00 |
|
sashakoshka
|
d6f0c470ee
|
Compiler has bug() to wrap unexpected errors
|
2024-02-27 02:45:32 -05:00 |
|
sashakoshka
|
ef07772ce4
|
Add some interface tests to compiler
|
2024-02-27 02:36:35 -05:00 |
|
sashakoshka
|
7720a1f629
|
Compiler debug output makes more sense
|
2024-02-27 02:33:35 -05:00 |
|
sashakoshka
|
5d5ffb9c4c
|
Add test for printing argv
Disabled for now due to #47
|
2024-02-27 00:22:02 -05:00 |
|
sashakoshka
|
b9eec89773
|
Add test case for counting cli args
|
2024-02-27 00:09:01 -05:00 |
|
sashakoshka
|
64d85c7b70
|
Temporarily circumvent crash in analyzer #46
|
2024-02-27 00:00:33 -05:00 |
|
sashakoshka
|
1d4f958efa
|
Added a test case for depending on compiled units
|
2024-02-26 23:59:47 -05:00 |
|
sashakoshka
|
b441cc1e7b
|
Added a test case for depending on compiled units
|
2024-02-26 23:50:14 -05:00 |
|
sashakoshka
|
48876a8229
|
Tests can now compile dependencies first
|
2024-02-26 23:32:40 -05:00 |
|
sashakoshka
|
c9f453f35e
|
Fixed test case file for systeminclude
|
2024-02-26 14:40:03 -05:00 |
|
sashakoshka
|
c20a5deede
|
Resolver no longer requires system units to be files (????????)
|
2024-02-26 14:39:44 -05:00 |
|
sashakoshka
|
496d4aeb01
|
Added test case for grabbing a module from /usr/include/fspl
|
2024-02-26 14:33:31 -05:00 |
|
sashakoshka
|
aa3cabe82b
|
Fix hello world test
|
2024-02-26 14:24:47 -05:00 |
|
sashakoshka
|
2a74389830
|
Compiler test now uses testcommon.CompareHex
|
2024-02-26 14:22:51 -05:00 |
|
sashakoshka
|
2edbd6c8b3
|
Split compiler_test.go into common file and test file
|
2024-02-26 14:04:37 -05:00 |
|
sashakoshka
|
76eed1153e
|
Added test case for exit code
|
2024-02-26 14:03:10 -05:00 |
|
sashakoshka
|
c28ea57777
|
Compiler test now holds output from compiler until end
|
2024-02-26 13:56:37 -05:00 |
|
sashakoshka
|
04420cb7d3
|
Compiler uses a default optimization level when unconfigured
|
2024-02-26 13:46:54 -05:00 |
|
sashakoshka
|
a418baa113
|
Add the hello world test case
|
2024-02-26 13:46:30 -05:00 |
|
sashakoshka
|
27b11c0cdc
|
Add a test-data directory for compiler
|
2024-02-26 13:46:10 -05:00 |
|
sashakoshka
|
6f9b6f07d9
|
Compiler now passes relatvive paths to fs.FS as it should
|
2024-02-26 12:50:49 -05:00 |
|
sashakoshka
|
d2f4dcd8f3
|
Much of the compiler now uses fs.FS instead of os
|
2024-02-26 11:46:59 -05:00 |
|
sashakoshka
|
59d38d8c9d
|
Moved everything that should touch "os" to compiler.go
|
2024-02-26 11:36:16 -05:00 |
|
sashakoshka
|
aa07bee99d
|
Moved Compiler.CompileUnit into another file
Need to be sure it is the only thing that can access OS files
|
2024-02-26 11:35:03 -05:00 |
|
sashakoshka
|
4987ed0b4d
|
Cli now handles printing stuff
|
2024-02-22 21:24:07 -05:00 |
|
sashakoshka
|
23052aa6f0
|
Changed repository import paths
|
2024-02-22 19:22:53 -05:00 |
|
sashakoshka
|
ddafa0935a
|
Module search paths are more useful now
|
2024-02-21 13:45:51 -05:00 |
|