Commit Graph

780 Commits

Author SHA1 Message Date
ad8cf0f48f Renamed TestPtrIntCast to TestPtrCast, will put more things in it 2024-02-28 17:36:11 -05:00
75b48b7000 Add and fix test case for #47 (on the generator side at least) 2024-02-28 13:36:21 -05:00
ddf1b57799 Generator uses proper type owner UUID during interface conversion 2024-02-28 12:30:38 -05:00
802a492be1 Generator multiunit tests print what is being analyzed 2024-02-28 11:50:41 -05:00
552c73f606 Fix example unit UUID 2024-02-27 19:50:55 +00:00
e26728d27f Minor grammar fixes 2024-02-27 19:41:19 +00:00
981a5332e7 Fix ordering of dirs 2024-02-27 19:32:23 +00:00
1f5e0fe8c1 Correct dir paths 2024-02-27 19:30:54 +00:00
b3ae80e809 Add problematic multiunit test case from #49 2024-02-27 03:06:54 -05:00
e5344c034b Merge pull request 'test-compiled-code' (#48) from test-compiled-code into main
Reviewed-on: #48
2024-02-27 07:50:17 +00: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
90d735163b Generator's "errNotFound" is more useful when it bubbles to the surface 2024-02-27 02:29:52 -05:00
1d90b3c7d7 Fix analyzer.Tree.methodExists and clear raw maps
This was too urgent not to continue without
2024-02-27 02:24:03 -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
e898379707 Add testcommon.CompareHex 2024-02-26 14:22:33 -05:00
dc47a4c8c0 testcommon.LogColumns has a configurable width 2024-02-26 14:18:09 -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
c93f3916a1 Fixed doc for fsplc and fsplmod 2024-02-23 03:20:51 -05:00
14b36bba1a Add a tool to manage modules 2024-02-23 01:41:36 -05:00
3297f6671e Lexer skips over zero runes now 2024-02-23 01:08:58 -05:00
1fd34731ff Metadata.String quotes UUID 2024-02-23 00:24:09 -05:00
bd4ed45a45 entity.Metadata now has String() 2024-02-23 00:18:46 -05:00
4987ed0b4d Cli now handles printing stuff 2024-02-22 21:24:07 -05:00
39f62a3d3f Cli now displays usage information for subcommands correctly 2024-02-22 20:25:37 -05:00
367f4c5d34 Update fsplc to use new cli features 2024-02-22 20:17:38 -05:00
793314fdd7 Update fsplc doc 2024-02-22 20:17:23 -05:00
5ca80ded92 Add more functionality to cli package 2024-02-22 20:12:41 -05:00
23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
9d43ef75ee Changed go.mod version to 1.19 2024-02-21 13:49:46 -05:00