Commit Graph
706 Commits
Author SHA1 Message Date
sashakoshka d8f82d3646 Parse switch expressions 2024-03-25 02:18:18 -04:00
sashakoshka e27fb9e79b Parse default match cases 2024-03-25 01:53:40 -04:00
sashakoshka 1f04c3a593 Added switch statements, default cases to entity 2024-03-25 01:16:41 -04:00
sashakoshka 7e05785c09 Added switch statements to spec 2024-03-25 00:46:30 -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 4342c15e38 Merge pull request 'implement-range-loops' (#68) from implement-range-loops into main
Reviewed-on: #68
2024-03-25 00:03:53 +00:00
sashakoshka 18e7850b58 Update generator tests 2024-03-24 20:02:57 -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 84e21b3832 Update generator test cases 2024-03-20 11:54:49 -04:00
sashakoshka 648b1df547 Generator generates valid gep index for for loop indexing 2024-03-20 11:51:44 -04:00
sashakoshka a4443444c1 Add compiler test cases for loops 2024-03-20 11:35:14 -04:00
sashakoshka a647f27e8c Fix test cases 2024-03-20 11:19:24 -04:00
sashakoshka ecd6eba434 Loops now handle multiple break statements correctly 2024-03-20 04:19:47 -04:00
sashakoshka 50f088842a For loop generation should be more correct now 2024-03-20 02:55:31 -04:00
sashakoshka 491a9b2369 Untested for loop generation 2024-03-20 02:52:01 -04:00
sashakoshka a9adc77658 For loop generation stub 2024-03-20 02:09:26 -04:00
sashakoshka 16686bfa3d Update README.md 2024-03-19 19:15:18 +00:00
sashakoshka 7cf770df7f Update usage instructions 2024-03-19 19:13:07 +00:00
sashakoshka 909d463637 Update roadmap part one bazillion 2024-03-19 18:42:33 +00:00
sashakoshka 9b1f6d695c Oh come on 2024-03-19 18:39:52 +00:00
sashakoshka 838c34b0a1 Update roadmap again 2024-03-19 18:39:29 +00:00
sashakoshka 7d74e59e64 Update roadmap 2024-03-19 18:30:05 +00:00
sashakoshka c0476f14ae Analyze for loops 2024-03-16 13:25:53 -04:00
sashakoshka bb1886ab9c Add tests for for loop analysis 2024-03-16 13:23:35 -04:00
sashakoshka 197373ee27 Add breakable interface 2024-03-16 01:43:56 -04:00
sashakoshka c576c4022e Add for parsing 2024-03-15 03:03:59 -04:00
sashakoshka 67a8b67dec Add for parsing to parser test 2024-03-15 03:03:39 -04:00
sashakoshka 8d69e4cdd3 Fix For.String() 2024-03-15 03:02:50 -04:00
sashakoshka ec873ea895 Index and Element must be declarations 2024-03-15 02:50:28 -04:00
sashakoshka 45ab5d95a2 Add range loops to entity 2024-03-14 22:28:50 -04:00
sashakoshka bb2caeb88a Add range loops to spec 2024-03-14 22:28:35 -04:00
sashakoshka b07dbf8eba Merge pull request 'entity-consistency' (#57) from entity-consistency into main
Reviewed-on: #57
2024-03-14 07:21:34 +00:00
sashakoshka babcce643f Update compiler 2024-03-14 03:20:55 -04:00
sashakoshka 6be48aea28 Update generator 2024-03-14 03:20:47 -04:00
sashakoshka f58c01be52 Updated analyzer 2024-03-14 03:18:46 -04:00
sashakoshka 4df7a8905e Updated parser 2024-03-14 03:14:08 -04:00
sashakoshka 2be41be609 Add the cool epic to meta 2024-03-14 02:43:59 -04:00
sashakoshka 0a56a61f4f Only top level entities are in toplevel.go 2024-03-14 02:41:51 -04:00
sashakoshka fc2fb42e53 Misc entities now have Pos/Position thing going on 2024-03-14 02:40:13 -04:00
sashakoshka 9335841fc0 Clean up wording in type interface documentation 2024-03-14 02:37:58 -04:00
sashakoshka e35a576022 Add more behaviors to expression interface 2024-03-14 02:37:12 -04:00
sashakoshka 1c9700378c Moved key/hash stuff into its own file 2024-03-14 02:36:39 -04:00
sashakoshka 56b91d788f Add more methods to toplevel entities 2024-03-14 02:23:26 -04:00
sashakoshka fc6efafc34 Add access control modes to spec 2024-03-14 02:11:26 -04:00
sashakoshka a147143fc3 Missed a spot 2024-03-14 01:55:18 -04:00