Commit Graph

752 Commits

Author SHA1 Message Date
Sasha Koshka 3bc504aae6 Clarify install instructions in README.md 2024-04-19 08:31:57 +00:00
Sasha Koshka 1085cfdc3c Typo 2024-04-12 05:10:28 +00:00
Sasha Koshka ecd9f79aae Add FAQ to README.md 2024-04-12 05:08:55 +00:00
Sasha Koshka c934a6c76c Updated readme (conditional comp. -> GOOS/GOARCH) 2024-04-09 19:00:59 +00:00
Sasha Koshka 018dc31d04 Update FSPL parser readme 2024-04-03 11:04:14 -04:00
Sasha Koshka 4b90ba77d3 Capitalize W*ndows 2024-04-02 18:36:52 +00:00
Sasha Koshka 2a6f086350 Merge pull request 'implement-reserved-identifiers' (#76) from implement-reserved-identifiers into main
Reviewed-on: #76
2024-04-02 07:00:59 +00:00
Sasha Koshka 767e7bd33c Fix analyzer tests that used "switch" as function name 2024-04-02 02:59:49 -04:00
Sasha Koshka 6c41e71ade Analyzer tests for reserved idents 2024-04-02 02:59:42 -04:00
Sasha Koshka 423f3ba22f Add function in parser for checking if a word is reserved 2024-04-02 02:59:11 -04:00
Sasha Koshka 08eedaf74d Merge pull request 'os-native-filepaths' (#75) from os-native-filepaths into main
Reviewed-on: #75
2024-03-31 05:34:22 +00:00
Sasha Koshka 88e10158ae It is now possible for tests to pass on windows 2024-03-31 01:33:28 -04:00
Sasha Koshka 93d4aea1b1 Compiler tests properly add extension to obj files 2024-03-31 01:33:28 -04:00
Sasha Koshka 810175b6c9 Object files have platform specific extensions 2024-03-31 01:33:28 -04:00
Sasha Koshka b6b0a1e592 parent 00110039e2
author Sasha Koshka <sashakoshka@tebibyte.media> 1711851967 -0400
committer Sasha Koshka <sashakoshka@tebibyte.media> 1711862974 -0400

Compiler tests now run on Windows

Compiler tests show linker log

Compiler tests show linker log
2024-03-31 01:33:08 -04:00
Sasha Koshka 00110039e2 Compiler defaults to .o when output name isn't specified 2024-03-28 18:16:58 -04:00
Sasha Koshka 15e418d8c1 Add custom fs implementation 2024-03-28 18:12:37 -04:00
Sasha Koshka 1c61235b63 openAbsolute should strip out the volume name on Windows 2024-03-28 17:16:50 -04:00
Sasha Koshka 4e6103418c Compiler normalizes paths before passing them to an fs 2024-03-28 16:52:31 -04:00
Sasha Koshka e805060370 Generator native uses GOARCH and GOOS instead of cond. compilation 2024-03-28 16:02:56 -04:00
Sasha Koshka eccb2e9a5b Compiler uses runtime.GOOS instead of conditional compilation 2024-03-28 13:11:27 -04:00
Sasha Koshka e574b248e5 Total windows path separator death 2024-03-27 13:39:38 -04:00
Sasha Koshka 43ed297a12 Add Windows paths to design/units.md 2024-03-27 13:38:13 -04:00
Sasha Koshka 76615df4d4 Add option to specify module search paths manually 2024-03-27 13:13:22 -04:00
Sasha Koshka 2caed5b4ae Add an executable filetype 2024-03-27 12:52:20 -04:00
Sasha Koshka cd396952f2 Certain filename extentions depend on target os 2024-03-27 12:40:45 -04:00
Sasha Koshka 0404202691 Compiler takes in a target 2024-03-27 12:10:19 -04:00
Sasha Koshka 92ad52b2aa Add OS field to Target 2024-03-27 12:05:30 -04:00
Sasha Koshka 10246f7268 Add untested windows native paths 2024-03-27 11:24:26 -04:00
Sasha Koshka 2edda8a960 Add stub for Windows native parameters 2024-03-26 13:15:56 -04:00
Sasha Koshka 11e7a83eb4 Add native paths for unix 2024-03-26 13:15:03 -04:00
Sasha Koshka 9b45bc56d4 Resolver is now used behind a pointer 2024-03-26 13:12:38 -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 6c7fcf6045 Add compiler test for puts libc function 2024-03-26 01:18:39 -04:00
Sasha Koshka eb2c1c8aed Fixed error message for types in match exprs not being unions 2024-03-26 01:12:47 -04:00
Sasha Koshka 78ea6e45b2 Update roadmap 2024-03-26 01:01:02 -04:00
Sasha Koshka 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
Sasha Koshka 650289f03e Generate switch statements 2024-03-26 00:42:27 -04:00
Sasha Koshka 5dda7b2186 Generate match statement default cases 2024-03-25 22:34:24 -04:00
Sasha Koshka 4931f97496 Switch statement analysis passes tests 2024-03-25 19:50:54 -04:00
Sasha Koshka f3bdfef5c5 Add analyzer tests to switch statements 2024-03-25 19:49:48 -04:00
Sasha Koshka a50a5febb9 Untested analysis of switch statements 2024-03-25 12:08:28 -04:00
Sasha Koshka 6916b3b7b1 Analyze match expression default cases 2024-03-25 11:29:24 -04:00
Sasha Koshka d8f82d3646 Parse switch expressions 2024-03-25 02:18:18 -04:00
Sasha Koshka e27fb9e79b Parse default match cases 2024-03-25 01:53:40 -04:00
Sasha Koshka 1f04c3a593 Added switch statements, default cases to entity 2024-03-25 01:16:41 -04:00
Sasha Koshka 7e05785c09 Added switch statements to spec 2024-03-25 00:46:30 -04:00
Sasha Koshka dcad5a2d18 Update roadmap 2024-03-25 00:36:04 +00:00