Richard Feldman
4926bfbc3a
Reorganize fmt and module
2019-11-25 20:42:44 -05:00
Richard Feldman
ed23e23a54
Rename unqualified_ident to lowercase
2019-11-25 16:25:49 -05:00
Richard Feldman
4959652c94
Add a test for calling function args
2019-11-24 21:25:05 -05:00
Richard Feldman
b27893b5d9
Replace CallByName and CallPointer with Call
2019-11-24 21:24:32 -05:00
Richard Feldman
c72270ddf2
Merge pull request #25 from rtfeldman/parens
...
Introduce ParensAround
2019-11-24 15:47:27 -05:00
Richard Feldman
d5d81ce1eb
Merge pull request #26 from rtfeldman/closure-in-let
...
Removing let binding of extracted closure
2019-11-24 15:47:16 -05:00
Richard Feldman
2a7e2c9bca
Remove the Def after moving it to a Procedure
2019-11-24 15:32:09 -05:00
Folkert
31f9a0d18c
Add test for removing let binding of closure
...
when an identifier is assigned to a closure, and the closure is
extracted, the assignement should be removed.
This removes an indirection (call -> local var lookup -> procedure lookup),
but also guarantees that a Symbol is unique, and doesn't stand for
a local variable and a (global) procedure.
2019-11-24 17:55:46 +01:00
Richard Feldman
740168e425
Fix desugaring bug
2019-11-22 00:21:37 -05:00
Richard Feldman
8e0fb89f66
Introduce Expr::ParensAround
2019-11-22 00:21:32 -05:00
Folkert
e363bfa6a5
do what clippy says, again
2019-11-21 16:27:04 +01:00
Folkert
c49928fe43
do what clippy says
2019-11-21 15:53:58 +01:00
Richard Feldman
be1d049910
Merge pull request #23 from rtfeldman/clippy
...
Enable Clippy
2019-11-21 08:03:02 -05:00
Richard Feldman
2851ee3a8c
Update Inkwell explanation
2019-11-21 07:25:39 -05:00
Richard Feldman
29701858e1
Rename clippy step
2019-11-21 07:24:57 -05:00
Richard Feldman
fa757b75c8
Switch Inkwell back to using branch over rev
2019-11-21 07:19:43 -05:00
Richard Feldman
ad9ae5aaf6
Only run CI on PR, not on push
...
It's annoying to see the double output, and doesn't seem to help.
2019-11-21 07:10:43 -05:00
Folkert de Vries
4ed1c98881
Merge pull request #9 from rtfeldman/record-patterns
...
Add record patterns
2019-11-21 13:10:13 +01:00
Richard Feldman
5549614cb3
Enable clippy on CI
2019-11-21 07:08:25 -05:00
Richard Feldman
4e26084051
Fix remaining clippy issues
2019-11-21 07:07:01 -05:00
Richard Feldman
84691067e1
Merge pull request #22 from rtfeldman/restore-a-test
...
Partially restore a canonicalization test
2019-11-21 07:06:54 -05:00
Folkert
56e0947646
remove inaccurate comment
...
patterns in a record destructure can now be any arbitrary pattern,
rather than just identifiers.
2019-11-21 13:04:23 +01:00
Folkert
3c4d5b508d
fix bug in case sharing analysis
2019-11-21 12:59:33 +01:00
Richard Feldman
372892600f
Update Cargo.toml comments
2019-11-21 06:44:42 -05:00
Richard Feldman
a0a50a26cb
Restore Inkwell rev
2019-11-21 06:42:36 -05:00
Richard Feldman
308f5e1194
Try removing rev for inkwell
2019-11-21 06:30:42 -05:00
Richard Feldman
445c8528f1
Try cargo update again
2019-11-21 06:29:33 -05:00
Richard Feldman
24c9cc0d4d
Try doing cargo clean in CI
2019-11-21 06:27:57 -05:00
Richard Feldman
2502702fd0
Partially restore a canonicalization test
2019-11-21 06:23:08 -05:00
Richard Feldman
4913ccd782
Merge pull request #20 from rtfeldman/fix-ci
...
Remove cargo update from CI
2019-11-21 06:02:17 -05:00
Folkert
38c7d96749
also analyze extracted procedures
2019-11-21 11:24:58 +01:00
Folkert
ead3351e34
implement reference count analysis for case
2019-11-21 10:26:36 +01:00
Folkert
e17cd7a1fb
initial work on reference count analysis
2019-11-21 10:26:36 +01:00
Richard Feldman
f844e16361
Merge pull request #21 from rtfeldman/fix-canonicalization
...
Fix canonicalization bug
2019-11-20 19:58:31 -05:00
Richard Feldman
23de717257
Give an expression a name.
2019-11-20 19:57:35 -05:00
Richard Feldman
063ec1976b
Fix canonicalization bug.
2019-11-20 19:57:12 -05:00
Richard Feldman
3d0d452b07
fixup! Reproduce canonicalization bug
2019-11-20 19:56:41 -05:00
Richard Feldman
121b255ae5
Fix canonicalization more
2019-11-20 19:42:33 -05:00
Richard Feldman
9c190e4a63
s/assignment/def
2019-11-20 19:39:45 -05:00
Richard Feldman
8fc91ad743
Partially fix canonicalization bug
2019-11-20 19:35:17 -05:00
Richard Feldman
f72021ee96
Reproduce canonicalization bug
2019-11-20 19:35:00 -05:00
Richard Feldman
b08c5bf464
Add more helpful panics
2019-11-20 19:34:36 -05:00
Richard Feldman
d70b07dbb9
Name the toolchain installation step
2019-11-20 18:24:40 -05:00
Richard Feldman
88052bc653
Give CI jobs more obvious names
2019-11-20 18:23:47 -05:00
Folkert de Vries
c848f8ba62
Merge pull request #17 from rtfeldman/format-case
...
Format case
2019-11-21 00:20:36 +01:00
Richard Feldman
e7a4ecad37
Try removing cargo update from CI
2019-11-20 18:19:38 -05:00
Richard Feldman
86d18c4470
Fix arithmetic regression
2019-11-20 18:16:52 -05:00
Richard Feldman
5504b52039
Use assert_formats_same
2019-11-20 18:14:33 -05:00
Richard Feldman
4fe9fed223
Use add_spaces and INDENT const
2019-11-20 18:08:20 -05:00
Richard Feldman
3bc974ab06
Merge branch 'trunk' into format-case
2019-11-20 18:00:07 -05:00