Commit Graph

41 Commits

Author SHA1 Message Date
Sasha Koshka 76615df4d4 Add option to specify module search paths manually 2024-03-27 13:13:22 -04:00
Sasha Koshka 11e7a83eb4 Add native paths for unix 2024-03-26 13:15:03 -04:00
Sasha Koshka b9e0b3265e fsplc and fsplmod use rooted paths to identify things
Remedies #71
2024-03-26 02:07:27 -04:00
Sasha Koshka 48fa712cb7 Update fsplc/doc.go usage 2024-03-26 02:07:04 -04:00
Sasha Koshka cad6a0759a Compiler now uses LLVM-like output filetype names
Remedies #40
2024-03-26 01:53:10 -04:00
Sasha Koshka c93f3916a1 Fixed doc for fsplc and fsplmod 2024-02-23 03:20:51 -05:00
Sasha Koshka 14b36bba1a Add a tool to manage modules 2024-02-23 01:41:36 -05:00
Sasha Koshka 4987ed0b4d Cli now handles printing stuff 2024-02-22 21:24:07 -05:00
Sasha Koshka 367f4c5d34 Update fsplc to use new cli features 2024-02-22 20:17:38 -05:00
Sasha Koshka 793314fdd7 Update fsplc doc 2024-02-22 20:17:23 -05:00
Sasha Koshka 23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
Sasha Koshka ddafa0935a Module search paths are more useful now 2024-02-21 13:45:51 -05:00
Sasha Koshka e4eb8c4e62 Updated compiler to use Resolver 2024-02-21 13:21:58 -05:00
Sasha Koshka f0fbe6440a Compiler is a bit more adaptable now 2024-02-20 01:23:00 -05:00
Sasha Koshka 07ea408d4e The compiler now compiles 2024-02-20 00:52:23 -05:00
Sasha Koshka 62cf6deeb6 Break compiler out into its own package 2024-02-13 21:01:13 -05:00
Sasha Koshka 2c968404ea Break out ParseModule and ParseSourceFile from CompileUnit 2024-02-13 20:55:59 -05:00
Sasha Koshka 42cf7eed67 Compiler CLI can drive internals 2024-02-13 19:15:40 -05:00
Sasha Koshka 5448d07815 Module compilation stub in compiler command 2024-02-13 19:10:46 -05:00
Sasha Koshka ab7d72dfe4 Updated compiler command 2024-02-13 13:16:03 -05:00
Sasha Koshka 203fb4fca4 Compiler now takes in a format override parameter 2024-02-11 12:55:43 -05:00
Sasha Koshka ea0f2ca169 Add cli.NewValueSet() to validate against several values 2024-02-11 12:38:46 -05:00
Sasha Koshka 0d2d7fae02 Broke cli into a separate package 2024-02-11 12:13:49 -05:00
Sasha Koshka 0c48538888 Compiler now parses CLI argument values correctly 2024-02-11 03:40:47 -05:00
Sasha Koshka 2932e0c7d6 Compiler prints a special error if output path has no extension 2024-02-11 03:40:00 -05:00
Sasha Koshka b4a886b126 Created a new argument parsing system 2024-02-11 03:33:16 -05:00
Sasha Koshka 2bc5eb1f49 Break fsplc Compiler type into a different file 2024-02-11 01:55:07 -05:00
Sasha Koshka 92d4916997 Update fsplc command 2024-02-09 04:05:44 -05:00
Sasha Koshka e49fc397d3 Add documentation for fsplc command 2024-02-09 03:22:36 -05:00
Sasha Koshka e21a865c61 Compiler outputs formatted errors 2024-02-08 17:01:38 -05:00
Sasha Koshka 9ea5deb23a Oops pt 2 2023-12-13 03:40:40 -05:00
Sasha Koshka b0b71d7723 Oops 2023-12-13 03:38:44 -05:00
Sasha Koshka 0ff4fd9ba4 Compiler can fall back to clang when llc is not present 2023-12-13 03:28:24 -05:00
Sasha Koshka 2fa3cc1762 Add "internal error" prefix for generator errors 2023-12-05 22:08:06 -05:00
Sasha Koshka 52ac569c06 Fix stale code 2023-12-02 23:42:54 -05:00
Sasha Koshka 635add38e6 Made native target actually work 2023-11-30 17:16:55 -05:00
Sasha Koshka e92377bc95 Added string literals to generator 2023-11-29 00:01:35 -05:00
Sasha Koshka 2559b88fbb fsplc command now infers output type from output file name ext 2023-11-26 04:01:03 -05:00
Sasha Koshka dc16a17271 Typedefs that are never referenced are never generated 2023-11-23 01:44:48 -05:00
Sasha Koshka 31829df4da Basic compiler command 2023-11-23 01:26:28 -05:00
Sasha Koshka 4cbe29e777 Add CLI stub 2023-11-16 22:40:57 -05:00