Commit graph

9048 commits

Author SHA1 Message Date
Richard Feldman
67c31fa50d Only do nightly build if tests pass 2019-11-20 07:12:15 -05:00
Richard Feldman
ba018d9283 Use --release on CI tests 2019-11-20 07:10:31 -05:00
Richard Feldman
793e951f3b Create either! macro 2019-11-20 07:10:31 -05:00
Richard Feldman
b074035df2 Use attempt! macro 2019-11-20 07:10:31 -05:00
Richard Feldman
1dafc614e7 Use macros for zero_or_more and one_or_more 2019-11-20 07:10:31 -05:00
Richard Feldman
cbbe80eeca Centralize the macro fallbacks 2019-11-20 07:10:31 -05:00
Richard Feldman
e850703ca9 Use and! over and() 2019-11-20 07:10:31 -05:00
Richard Feldman
76b815ab77 Use $crate in loc macro instead of outside imports 2019-11-20 07:10:31 -05:00
Richard Feldman
cc74c37045 Use loc! macro instead of loc() 2019-11-20 07:10:31 -05:00
Richard Feldman
155ae60348 Use BoxedParser for release builds so they finish.
Before this change, I tried leaving a release build running overnight
and killed it the next day after it had been running for 14 hours.
2019-11-20 07:10:31 -05:00
Richard Feldman
1b04830147 Make BoxedParser available to releases 2019-11-20 07:10:31 -05:00
Richard Feldman
7050547f9c Don't use BoxedParser for char or string 2019-11-20 07:10:31 -05:00
Richard Feldman
ecb495a4e2 Raise type_limit_length and explain 2019-11-20 07:10:31 -05:00
Richard Feldman
68c63a070a Add a nightly release build GH Action 2019-11-20 07:10:31 -05:00
Richard Feldman
722b60c679
Merge pull request #15 from rtfeldman/fix-inkwell-rev
Change inkwell rev to latest llvm-8.0
2019-11-20 07:08:00 -05:00
Richard Feldman
9e50b5cbc4 Change inkwell rev to latest llvm-8.0 2019-11-20 05:40:03 -05:00
Richard Feldman
7683d39113
Merge pull request #14 from rtfeldman/fix-case-gen
Fix case gen
2019-11-19 20:58:00 -05:00
Richard Feldman
1b03ec44bc Move some stuff into Env 2019-11-19 20:41:32 -05:00
Richard Feldman
a5054d15a0 Restore case code gen 2019-11-19 20:34:52 -05:00
Richard Feldman
9a29309ed0
Merge pull request #13 from rtfeldman/upgrade-inkwell
Upgrade inkwell
2019-11-19 18:37:20 -05:00
Richard Feldman
f3424c9017 Fix Inkwell compile errors 2019-11-19 18:34:18 -05:00
Richard Feldman
3217c7d013 Use a specific rev of Inkwell, not a branch
Turns out breaking API changes get pushed directly to that branch!
2019-11-19 07:47:53 -05:00
Folkert de Vries
d4f092d610
Merge pull request #10 from rtfeldman/desugar-if
Desugar if
2019-11-18 15:02:22 +01:00
Folkert de Vries
578a87fa70 update Cargo.lock 2019-11-18 14:56:58 +01:00
Folkert de Vries
fc446d307d changes after code review 2019-11-18 14:55:03 +01:00
Folkert de Vries
1fba0ba879
add note about cargo update 2019-11-18 14:44:10 +01:00
Richard Feldman
7f66c4a10b
Merge pull request #8 from rtfeldman/parse-block-string
Parse BlockString
2019-11-17 17:39:13 -05:00
Richard Feldman
50a6817bea
Merge pull request #11 from rtfeldman/fix-underscore-arg
Fix underscore argument parsing
2019-11-17 06:09:49 -05:00
Richard Feldman
b46bd68c24 Add a clarifying comment. 2019-11-16 22:39:37 -05:00
Richard Feldman
942cf8b781 Require space between function argument patterns. 2019-11-16 22:39:31 -05:00
Richard Feldman
60ee53080a Reproduce malformed argument bug 2019-11-16 22:39:25 -05:00
Richard Feldman
1e8423a368
Merge pull request #2 from rtfeldman/fix-identity
Generate type var names when pretty printing
2019-11-16 22:38:27 -05:00
Richard Feldman
11acfd8d2a Fix invalid function arg name in test 2019-11-16 22:30:38 -05:00
Richard Feldman
0b61fcdc25 Clarify some comments. 2019-11-16 22:30:38 -05:00
Richard Feldman
349f060495 Don't generate names that collide with rigids 2019-11-16 22:30:38 -05:00
Richard Feldman
a2cc417a34 Disable unrelated failing tests for now 2019-11-16 22:30:38 -05:00
Richard Feldman
036a72e6e5 Fix generated type var order 2019-11-16 22:30:38 -05:00
Richard Feldman
47fdedc63e Avoid unnecessary work. 2019-11-16 22:30:38 -05:00
Richard Feldman
c5882fe667 Fix some bugs in type var name gen 2019-11-16 22:30:38 -05:00
Richard Feldman
394f33de8a Add more function inference tests 2019-11-16 22:30:38 -05:00
Richard Feldman
b26c4393cb Add more identity inference tests 2019-11-16 22:30:38 -05:00
Richard Feldman
7382dc93ba Use unwrap_or_else over unwrap 2019-11-16 22:30:38 -05:00
Richard Feldman
377ba81795 Improve Debug display of union find structure 2019-11-16 22:30:38 -05:00
Richard Feldman
75166878e8 Give a more descriptive panic when lookup fails 2019-11-16 22:30:38 -05:00
Richard Feldman
90bc97b6d9 Format parens better in function types 2019-11-16 22:30:38 -05:00
Richard Feldman
c2e966ca3d Make name_root support multiple letters 2019-11-16 22:30:38 -05:00
Richard Feldman
dd014b7794 Drop obsolete comment 2019-11-16 22:30:38 -05:00
Richard Feldman
90b8db4fbe Restore always_function test 2019-11-16 22:30:38 -05:00
Richard Feldman
cb47a2f16f Add anonymous identity function test 2019-11-16 22:30:38 -05:00
Richard Feldman
9ee5fad6ab Remove unnecessary ref 2019-11-16 22:29:36 -05:00