sashakoshka
|
78ea6e45b2
|
Update roadmap
|
2024-03-26 01:01:02 -04:00 |
|
sashakoshka
|
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 |
|
sashakoshka
|
650289f03e
|
Generate switch statements
|
2024-03-26 00:42:27 -04:00 |
|
sashakoshka
|
5dda7b2186
|
Generate match statement default cases
|
2024-03-25 22:34:24 -04:00 |
|
sashakoshka
|
4931f97496
|
Switch statement analysis passes tests
|
2024-03-25 19:50:54 -04:00 |
|
sashakoshka
|
f3bdfef5c5
|
Add analyzer tests to switch statements
|
2024-03-25 19:49:48 -04:00 |
|
sashakoshka
|
a50a5febb9
|
Untested analysis of switch statements
|
2024-03-25 12:08:28 -04:00 |
|
sashakoshka
|
6916b3b7b1
|
Analyze match expression default cases
|
2024-03-25 11:29:24 -04:00 |
|
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
|
dcad5a2d18
|
Update roadmap
|
2024-03-25 00:36:04 +00: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 |
|
sashakoshka
|
a8fd79991c
|
Renamed restricted access to opaque access
|
2024-03-14 01:54:22 -04:00 |
|
sashakoshka
|
a9c85bf017
|
Changed restricted access specified from ~ to #
|
2024-03-14 01:42:19 -04:00 |
|
sashakoshka
|
db98e590fc
|
Change interface symbol from ~ to &
|
2024-03-13 23:05:58 -04:00 |
|
sashakoshka
|
e0d4be8db8
|
Removed "in" from match statement
|
2024-03-13 22:44:11 -04:00 |
|
sashakoshka
|
0ea05e5836
|
Fix calling methods on pointers to types in other units
|
2024-03-13 11:51:51 -04:00 |
|
sashakoshka
|
d2c8fdd05c
|
Add generator tests for referring to methods in other units
|
2024-03-13 11:15:15 -04:00 |
|
sashakoshka
|
1565376418
|
Add TestMethodPtr to generator
|
2024-03-11 11:50:12 -04:00 |
|
sashakoshka
|
566bf41843
|
Re-format roadmap
|
2024-03-07 23:20:06 +00:00 |
|
sashakoshka
|
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 |
|
sashakoshka
|
be08308cb2
|
Add a compiler test for this
|
2024-03-06 17:41:52 -05:00 |
|
sashakoshka
|
4f31b712df
|
Document new Bool width in spec
|
2024-03-06 16:51:11 -05:00 |
|
sashakoshka
|
8607f08093
|
Bool is now an i1
|
2024-03-06 16:46:27 -05:00 |
|
sashakoshka
|
ff99c37219
|
Add tests about this to the generator
|
2024-03-06 16:44:22 -05:00 |
|
sashakoshka
|
e889a9c49b
|
Generator understands assigning return/break to things
|
2024-03-06 16:43:58 -05:00 |
|
sashakoshka
|
ebc4aacf5b
|
Updated spec
|
2024-03-06 15:37:30 -05:00 |
|
sashakoshka
|
6643c92948
|
Break and return can be assigned to anything
|
2024-03-06 15:34:00 -05:00 |
|
sashakoshka
|
4df8a45a16
|
Add test cases for #55
|
2024-03-06 15:31:47 -05:00 |
|
sashakoshka
|
3d6a258873
|
Rename analyzer's match test file to control flow test
|
2024-03-06 15:21:33 -05:00 |
|
sashakoshka
|
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 |
|
sashakoshka
|
bf62730e79
|
One last test
|
2024-03-06 15:16:15 -05:00 |
|
sashakoshka
|
040be67476
|
Add compiler tests for unions/matches
|
2024-03-06 15:06:21 -05:00 |
|
sashakoshka
|
6cd51f3c5f
|
Add match/union generator tests
|
2024-03-06 14:50:58 -05:00 |
|
sashakoshka
|
ab24c1cfc1
|
Generator supports assigning unions to unions
|
2024-03-06 14:49:49 -05:00 |
|
sashakoshka
|
e94d438332
|
Use TypesEqual() instead of comparing hashes
|
2024-03-06 14:16:36 -05:00 |
|
sashakoshka
|
ef947b8dc6
|
Analyzer lets unions of the same type be assigned to eachother
|
2024-03-06 14:00:37 -05:00 |
|
sashakoshka
|
41116e0b13
|
Add union assignment tests to analyzer
|
2024-03-06 13:50:55 -05:00 |
|
sashakoshka
|
98d8edc319
|
Generate phi node for default case in match switch
|
2024-03-06 13:09:20 -05:00 |
|
sashakoshka
|
ff749a03dd
|
Generate assignment to unions
|
2024-03-06 13:09:03 -05:00 |
|
sashakoshka
|
daea6cb22a
|
Generate match statements
|
2024-03-06 00:42:40 -05:00 |
|
sashakoshka
|
54f69ca786
|
Add match stub
|
2024-03-05 03:32:31 -05:00 |
|
sashakoshka
|
779aaf3cea
|
Generate union types
|
2024-03-05 03:15:44 -05:00 |
|
sashakoshka
|
8ec7929c1e
|
New test TestMatchErrNotUnion
|
2024-03-04 14:22:39 -05:00 |
|
sashakoshka
|
fd8a15db66
|
Analyze match expressions
|
2024-03-04 14:19:33 -05:00 |
|
sashakoshka
|
b1cef5d95f
|
Add more semantic fields to Match and Case
|
2024-03-04 14:09:48 -05:00 |
|
sashakoshka
|
2a6778837f
|
Improved match tests
|
2024-03-04 14:09:19 -05:00 |
|
sashakoshka
|
8fa9a579fd
|
entity.Match.String() prints "in" instead of "on"
|
2024-03-04 13:36:07 -05:00 |
|
sashakoshka
|
ce79e16de7
|
Add some match statement tests
|
2024-03-04 13:34:22 -05:00 |
|
sashakoshka
|
cd91f9dc20
|
Add more tests for the union type
|
2024-03-02 12:36:22 -05:00 |
|
sashakoshka
|
24268e498e
|
Add some tests for the union type
|
2024-03-02 12:26:16 -05:00 |
|
sashakoshka
|
a6dabc27f9
|
The assemble map pattern doesnt work for unions
That entire file needs to be completely rewritten is stg
|
2024-03-02 12:21:28 -05:00 |
|
sashakoshka
|
459020126d
|
Add assignment rules for unions
|
2024-03-02 12:12:43 -05:00 |
|