|
005b2fcd56
|
Inline string literal since #46 has been remedied
|
2024-03-01 00:17:39 -05:00 |
|
|
d6f0c470ee
|
Compiler has bug() to wrap unexpected errors
|
2024-02-27 02:45:32 -05:00 |
|
|
ef07772ce4
|
Add some interface tests to compiler
|
2024-02-27 02:36:35 -05:00 |
|
|
7720a1f629
|
Compiler debug output makes more sense
|
2024-02-27 02:33:35 -05:00 |
|
|
5d5ffb9c4c
|
Add test for printing argv
Disabled for now due to #47
|
2024-02-27 00:22:02 -05:00 |
|
|
b9eec89773
|
Add test case for counting cli args
|
2024-02-27 00:09:01 -05:00 |
|
|
64d85c7b70
|
Temporarily circumvent crash in analyzer #46
|
2024-02-27 00:00:33 -05:00 |
|
|
1d4f958efa
|
Added a test case for depending on compiled units
|
2024-02-26 23:59:47 -05:00 |
|
|
b441cc1e7b
|
Added a test case for depending on compiled units
|
2024-02-26 23:50:14 -05:00 |
|
|
48876a8229
|
Tests can now compile dependencies first
|
2024-02-26 23:32:40 -05:00 |
|
|
c9f453f35e
|
Fixed test case file for systeminclude
|
2024-02-26 14:40:03 -05:00 |
|
|
c20a5deede
|
Resolver no longer requires system units to be files (????????)
|
2024-02-26 14:39:44 -05:00 |
|
|
496d4aeb01
|
Added test case for grabbing a module from /usr/include/fspl
|
2024-02-26 14:33:31 -05:00 |
|
|
aa3cabe82b
|
Fix hello world test
|
2024-02-26 14:24:47 -05:00 |
|
|
2a74389830
|
Compiler test now uses testcommon.CompareHex
|
2024-02-26 14:22:51 -05:00 |
|
|
2edbd6c8b3
|
Split compiler_test.go into common file and test file
|
2024-02-26 14:04:37 -05:00 |
|
|
76eed1153e
|
Added test case for exit code
|
2024-02-26 14:03:10 -05:00 |
|
|
c28ea57777
|
Compiler test now holds output from compiler until end
|
2024-02-26 13:56:37 -05:00 |
|
|
04420cb7d3
|
Compiler uses a default optimization level when unconfigured
|
2024-02-26 13:46:54 -05:00 |
|
|
a418baa113
|
Add the hello world test case
|
2024-02-26 13:46:30 -05:00 |
|
|
27b11c0cdc
|
Add a test-data directory for compiler
|
2024-02-26 13:46:10 -05:00 |
|
|
6f9b6f07d9
|
Compiler now passes relatvive paths to fs.FS as it should
|
2024-02-26 12:50:49 -05:00 |
|
|
d2f4dcd8f3
|
Much of the compiler now uses fs.FS instead of os
|
2024-02-26 11:46:59 -05:00 |
|
|
59d38d8c9d
|
Moved everything that should touch "os" to compiler.go
|
2024-02-26 11:36:16 -05:00 |
|
|
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 |
|
|
4987ed0b4d
|
Cli now handles printing stuff
|
2024-02-22 21:24:07 -05:00 |
|
|
23052aa6f0
|
Changed repository import paths
|
2024-02-22 19:22:53 -05:00 |
|
|
ddafa0935a
|
Module search paths are more useful now
|
2024-02-21 13:45:51 -05:00 |
|
|
e4eb8c4e62
|
Updated compiler to use Resolver
|
2024-02-21 13:21:58 -05:00 |
|
|
222dae2dac
|
Add a "Resolver" that resolves unit addresses
|
2024-02-21 13:21:41 -05:00 |
|
|
d4a7420471
|
Compiler now only parses module files that end in .fspl
|
2024-02-20 01:39:07 -05:00 |
|
|
f0fbe6440a
|
Compiler is a bit more adaptable now
|
2024-02-20 01:23:00 -05:00 |
|
|
5890e6188b
|
Oops haha, print statement.
|
2024-02-20 00:52:30 -05:00 |
|
|
07ea408d4e
|
The compiler now compiles
|
2024-02-20 00:52:23 -05:00 |
|
|
87c2acf650
|
Add some initial analyzer tests for units
|
2024-02-14 23:20:01 -05:00 |
|
|
c3bbbc1536
|
Mini-analysis of metadata in Compiler.ParseModule
|
2024-02-13 21:24:13 -05:00 |
|
|
62cf6deeb6
|
Break compiler out into its own package
|
2024-02-13 21:01:13 -05:00 |
|