1000 Commits

Author SHA1 Message Date
Markus Westerlind
6805efedec Update dependencies 2019-01-20 17:06:11 +01:00
Markus Westerlind
61f52ab179 chore: Snapshot the in-tree parser on every release 2019-01-20 17:06:11 +01:00
Markus Westerlind
baadb9a24c
Merge pull request #438 from Marwes/snapshot
chore: Don't try to infer whether we are building in the lalrpop work…
2019-01-19 22:07:24 +01:00
Markus Westerlind
7ef0d9e778 Use the PROFILE env rather than hardcoding debug 2019-01-19 16:33:51 +01:00
Markus Westerlind
5ee01e55a4 chore: Don't try to infer whether we are building in the lalrpop workspace
Instead we use --all-features to enable a special `test` feature to run tests with a freshly generated lrgrammar.rs. Since we also have a test to check that the saved lrgrammar.rs is identical to what lalrpop generates we should be ok with this approach.

Closes #436
2019-01-11 22:33:45 +01:00
Niko Matsakis
885f7859db
Merge pull request #437 from alercah/endings
Convert all CRLF line endings to LF.
2019-01-10 17:15:23 -05:00
Alexis Hunt
802ac11a20 Convert all CRLF line endings to LF. 2019-01-10 16:47:50 -05:00
Niko Matsakis
c37319e111
Merge pull request #432 from Marwes/allow_deprecated
Allow trim_left in the generated code
2019-01-10 16:42:27 -05:00
Markus Westerlind
bdd65184e5 fix: Allow the deprecated use of trim_left
Fixes #428
2019-01-10 22:19:23 +01:00
Markus Westerlind
0c67bbed06
fix: Don't make generated files read-only
Don't make generated files read-only
2019-01-05 19:35:07 +01:00
David Flemström
0793ba27a6 Don't make generated files read-only 2019-01-03 14:30:09 +01:00
Markus Westerlind
64bed5ca63
Merge pull request #422 from Marwes/ndm-extract-state-machine-rebase
extract state machine
2018-12-10 21:51:36 +01:00
Stéphane Campinas
39774c0666 typo 2018-12-03 13:57:18 +05:30
Niko Matsakis
548df5c9f8 bump petgraph to 0.4.14 (nightly complains?) 2018-11-29 19:57:56 +01:00
Niko Matsakis
e9daba641f tweak comment 2018-11-29 19:55:25 +01:00
Niko Matsakis
c4262b2fa2 remove feature gates 2018-11-29 19:55:24 +01:00
Niko Matsakis
8a79a3683f start using the state machine (tests pass, horray!) 2018-11-29 19:55:24 +01:00
Niko Matsakis
5968cf013c connect state machine reduce to __reduce helper 2018-11-29 19:55:24 +01:00
Niko Matsakis
032034a3d9 convert reduce actions to positive numbers from 0 2018-11-29 19:55:24 +01:00
Niko Matsakis
67a0dc1b32 add a drive function 2018-11-29 19:55:24 +01:00
Niko Matsakis
47a8ea7d43 give names to anonymous lifetimes and introduce where-clauses 2018-11-29 19:55:24 +01:00
Niko Matsakis
080611a725 generate state machine definition (but do not use to drive parsing)
This version however requires all lifetimes to be explicit. Suboptimal.
2018-11-29 19:55:24 +01:00
Niko Matsakis
d0d6cc6bbb refactor the write_fn_header to use a builder
Too many parameters!
2018-11-29 19:55:24 +01:00
Niko Matsakis
00158bd763 promote free_variables to a directory 2018-11-29 19:55:24 +01:00
Niko Matsakis
5bfa1af9fa improve logic around free-variables to account for false answers 2018-11-29 19:55:24 +01:00
Niko Matsakis
9d37210c45 extract a helper for filtering type-params/where-clauses 2018-11-29 19:55:24 +01:00
Niko Matsakis
6b96c4d9bb lower (and flatten) into repr::WhereClause 2018-11-29 19:55:24 +01:00
Niko Matsakis
0f0533d539 add a newtype of Atom for Lifetime 2018-11-29 19:55:24 +01:00
Niko Matsakis
e82990331d stop abusing map to find free variables of WC 2018-11-29 19:55:24 +01:00
Niko Matsakis
4117907695 rewrite referenced to a trait FreeVariables 2018-11-29 19:55:24 +01:00
Niko Matsakis
a9d8937fa9 refactor how forall is represented in the AST 2018-11-29 19:55:24 +01:00
Niko Matsakis
60751e68c3 remove the no_clone_tok test case 2018-11-29 19:55:24 +01:00
Niko Matsakis
bf1ebfda95 customize whether fns include grammar parameters 2018-11-29 19:55:24 +01:00
Niko Matsakis
baf98e4ac5 create a state machine and start moving code over 2018-11-29 19:55:23 +01:00
Markus Westerlind
842fe732ba
Merge pull request #421 from Marwes/release
Version 0.16.2
2018-11-28 20:45:46 +01:00
Markus Westerlind
1797a173c9 Version 0.16.2 2018-11-28 20:21:55 +01:00
Markus Westerlind
273e54452f
Merge pull request #418 from tjade273/repeatop_fix
Fix type annotation for inline actions
2018-11-28 19:46:36 +01:00
Tjaden Hess
c263536348 Reset action code to previous commit 2018-11-28 13:24:43 -05:00
Tjaden Hess
29342b1425 Style tweaks 2018-11-28 10:58:30 -05:00
Tjaden Hess
c1ed927dac Only insert annotations when type parameters exist 2018-11-11 16:53:46 -05:00
Tjaden Hess
8d27a4ab1c Propogate type parameters in inline actions 2018-11-11 13:53:41 -05:00
Tjaden Hess
5631a32210 Reduce test case 2018-11-11 12:18:13 -05:00
Tjaden Hess
7aec3b0f2f test: failing test for #417 2018-11-11 12:11:53 -05:00
Markus Westerlind
28533afc7f
Merge pull request #416 from Marwes/release
Release 0.16.1
2018-10-27 14:47:54 +02:00
Markus Westerlind
8e86f888df Version 0.16.1 0.16.1 2018-10-27 14:18:59 +02:00
Markus Westerlind
6f3da4ed85 Update RELEASES.md with clog 2018-10-27 13:44:27 +02:00
Markus Westerlind
7f071a375b Push tag to upstream as well 2018-10-27 13:44:27 +02:00
Markus Westerlind
0a02931960 Update all dependencies
Only term is now on an old version (which depends on ascii-canvas which uses 0.4)
2018-10-27 13:30:45 +02:00
Markus Westerlind
eba453d876
Merge pull request #414 from Marwes/shrink_lrgrammar2
feat: Shrink LALRPOPs own parser to 1Mb
2018-10-27 13:24:36 +02:00
Markus Westerlind
490dd9d565
Merge pull request #412 from Marwes/no_lalrpop_snap
Don't depend on lalrpop-snap to compile lalrpop
2018-10-27 13:23:45 +02:00