Commit Graph

780 Commits

Author SHA1 Message Date
7d74e59e64 Update roadmap 2024-03-19 18:30:05 +00:00
c0476f14ae Analyze for loops 2024-03-16 13:25:53 -04:00
bb1886ab9c Add tests for for loop analysis 2024-03-16 13:23:35 -04:00
197373ee27 Add breakable interface 2024-03-16 01:43:56 -04:00
c576c4022e Add for parsing 2024-03-15 03:03:59 -04:00
67a8b67dec Add for parsing to parser test 2024-03-15 03:03:39 -04:00
8d69e4cdd3 Fix For.String() 2024-03-15 03:02:50 -04:00
ec873ea895 Index and Element must be declarations 2024-03-15 02:50:28 -04:00
45ab5d95a2 Add range loops to entity 2024-03-14 22:28:50 -04:00
bb2caeb88a Add range loops to spec 2024-03-14 22:28:35 -04:00
b07dbf8eba Merge pull request 'entity-consistency' (#57) from entity-consistency into main
Reviewed-on: #57
2024-03-14 07:21:34 +00:00
babcce643f Update compiler 2024-03-14 03:20:55 -04:00
6be48aea28 Update generator 2024-03-14 03:20:47 -04:00
f58c01be52 Updated analyzer 2024-03-14 03:18:46 -04:00
4df7a8905e Updated parser 2024-03-14 03:14:08 -04:00
2be41be609 Add the cool epic to meta 2024-03-14 02:43:59 -04:00
0a56a61f4f Only top level entities are in toplevel.go 2024-03-14 02:41:51 -04:00
fc2fb42e53 Misc entities now have Pos/Position thing going on 2024-03-14 02:40:13 -04:00
9335841fc0 Clean up wording in type interface documentation 2024-03-14 02:37:58 -04:00
e35a576022 Add more behaviors to expression interface 2024-03-14 02:37:12 -04:00
1c9700378c Moved key/hash stuff into its own file 2024-03-14 02:36:39 -04:00
56b91d788f Add more methods to toplevel entities 2024-03-14 02:23:26 -04:00
fc6efafc34 Add access control modes to spec 2024-03-14 02:11:26 -04:00
a147143fc3 Missed a spot 2024-03-14 01:55:18 -04:00
a8fd79991c Renamed restricted access to opaque access 2024-03-14 01:54:22 -04:00
a9c85bf017 Changed restricted access specified from ~ to # 2024-03-14 01:42:19 -04:00
db98e590fc Change interface symbol from ~ to & 2024-03-13 23:05:58 -04:00
e0d4be8db8 Removed "in" from match statement 2024-03-13 22:44:11 -04:00
0ea05e5836 Fix calling methods on pointers to types in other units 2024-03-13 11:51:51 -04:00
d2c8fdd05c Add generator tests for referring to methods in other units 2024-03-13 11:15:15 -04:00
1565376418 Add TestMethodPtr to generator 2024-03-11 11:50:12 -04:00
566bf41843 Re-format roadmap 2024-03-07 23:20:06 +00:00
45f46b04b0 Merge pull request 'assign-return-break-to-anything' (#56) from assign-return-break-to-anything into main
Reviewed-on: #56
2024-03-06 22:42:18 +00:00
be08308cb2 Add a compiler test for this 2024-03-06 17:41:52 -05:00
4f31b712df Document new Bool width in spec 2024-03-06 16:51:11 -05:00
8607f08093 Bool is now an i1 2024-03-06 16:46:27 -05:00
ff99c37219 Add tests about this to the generator 2024-03-06 16:44:22 -05:00
e889a9c49b Generator understands assigning return/break to things 2024-03-06 16:43:58 -05:00
ebc4aacf5b Updated spec 2024-03-06 15:37:30 -05:00
6643c92948 Break and return can be assigned to anything 2024-03-06 15:34:00 -05:00
4df8a45a16 Add test cases for #55 2024-03-06 15:31:47 -05:00
3d6a258873 Rename analyzer's match test file to control flow test 2024-03-06 15:21:33 -05:00
6a9be94601 Merge pull request 'implement-union-types' (#54) from implement-union-types into main
Reviewed-on: #54
2024-03-06 20:16:54 +00:00
bf62730e79 One last test 2024-03-06 15:16:15 -05:00
040be67476 Add compiler tests for unions/matches 2024-03-06 15:06:21 -05:00
6cd51f3c5f Add match/union generator tests 2024-03-06 14:50:58 -05:00
ab24c1cfc1 Generator supports assigning unions to unions 2024-03-06 14:49:49 -05:00
e94d438332 Use TypesEqual() instead of comparing hashes 2024-03-06 14:16:36 -05:00
ef947b8dc6 Analyzer lets unions of the same type be assigned to eachother 2024-03-06 14:00:37 -05:00
41116e0b13 Add union assignment tests to analyzer 2024-03-06 13:50:55 -05:00