Kolja Lampe
a9a8efad44
Prepare 5.6.0
2022-06-07 23:23:33 +07:00
dependabot[bot]
ca0a13f1ac
Bump regex from 1.5.4 to 1.5.6 ( #81 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 23:15:37 +07:00
Antonio Ochoa Solano
67bdb848ab
Simplify embedded_braced_expression ( #29 )
...
* Simplify embedded_braced_expression
* Separate heredoc variables in almost test
* Add external node _embedded_opening_brace
* Update build files
Co-authored-by: David Frankel <42774874+frankeld@users.noreply.github.com>
2022-06-06 11:50:53 +07:00
nsfisis
866e4a1557
Adds support for constructor property promotion with readonly modifiers
2022-06-06 09:18:54 +07:00
Yoann Padioleau
140c96cf39
Merge pull request #50 from stumash/val-decl-start-lambda
...
allow val def at start of lambda
2022-06-06 08:54:55 +07:00
Michael Hoffmann
a4164c4086
playground: fix typo
2022-06-05 12:46:00 +07:00
Michael Hoffmann
236e5b286f
playground: initial version
2022-06-05 12:41:49 +07:00
Michael Hoffmann
73932c360b
examples: add a corpus of real world examples crawled from github
2022-06-05 10:40:39 +07:00
Christian Frøystad
b9b719ded9
Fixes #133 - Incorrect precedence for error supression operator
2022-06-03 11:07:03 +07:00
Michael Hoffmann
4ff21306a7
changelog: mark as released
2022-06-02 20:13:06 +07:00
Michael Hoffmann
a87b709739
fix: allow empty string literals
2022-06-02 20:12:15 +07:00
resolritter
1b3ba31c75
Fix extends ( #204 )
...
* support extends (abstract)
* regenerate parser
Co-authored-by: resolritter <resolritter@users.noreply.github.com>
2022-06-02 09:10:56 +07:00
Christian Frøystad
fdbef3621b
Adds support for the never return type from the no_return RFC
2022-06-01 15:02:43 +07:00
Max Brunsfeld
dafcef7943
Use node 16 on CI
2022-05-31 14:13:03 +07:00
Sergio A. Vargas
fc60b7cce8
Update operators and identifiers ( #34 )
...
- Add more operator types:
- Bitshift
- Rational
- "Dotty"
- Fix unary operators:
- Add broadcasting dots
- Allow unary operators as variables
- Parse <unary-op><array> as a unary_expression (not an index
expression)
- Fix pipe typos (femtolisp uses pipes as raw symbol delimiters).
- Simplify `binary_expression` rule.
- Make assignment, binary and unary operators visible. Operators that
have their own rules (pair, range) are not made visible.
- Use unicode categories instead of character ranges for valid
identifiers. It allows more characters, and removes some invalid ones.
- Update tests.
2022-05-31 14:11:51 +07:00
Max Brunsfeld
03b5a92cb0
Use node 16 on CI
2022-05-31 14:07:03 +07:00
Max Brunsfeld
d078a2ef7b
Add GH actions status badge to README
2022-05-31 14:02:19 +07:00
Max Brunsfeld
e8a1974645
Add GH actions config
2022-05-31 13:58:42 +07:00
Christian Frøystad
20b20d8d77
Adds support for first class callable syntax
2022-05-31 22:42:04 +07:00
Christian Frøystad
5bb176f547
Fixes bug #131 - Parse error when using self as constant
2022-05-31 18:35:47 +07:00
Ben Martineau
725f60e8fb
fix: not operator precedence ( #166 )
...
* test: demonstrate incorrect precedence
* test: not precedence in other scenarios
* fix: match not operator precedence in python
2022-05-31 08:50:50 +07:00
Sjoerd Langkemper
b2e0b03b32
Parse readonly properties
...
E.g.
```
class A {
public readonly string $prop;
}
```
2022-05-31 14:33:46 +07:00
Damien Guard
9c494a503c
Various fixes ( #226 )
...
* Remove label_name not in official grammar"
* Add some missing fields
* Fix lambda modifiers
2022-05-30 17:23:01 +07:00
Lukas Pistrol
49716ffc11
add spm support ( #227 )
2022-05-30 16:39:02 +07:00
Kolja Lampe
eb40b20371
Add dependabot.yml
2022-05-30 17:35:02 +07:00
Yoann Padioleau
6c1edb96fd
Merge pull request #132 from lukepistrol/feature/spm
...
Swift Package Manager
2022-05-30 15:48:58 +07:00
Yoann Padioleau
ac14b4b188
Merge pull request #113 from lukepistrol/feature/spm
...
Swift Package Manager
2022-05-30 15:48:08 +07:00
Lukas Pistrol
e068da1870
add spm support
2022-05-30 12:44:22 +07:00
Lukas Pistrol
13e1bf963e
added excludes
2022-05-30 01:35:55 +07:00
Lukas Pistrol
4abc8854c7
added spm support
2022-05-30 01:21:11 +07:00
Lukas Pistrol
4140d566eb
added spm support
2022-05-30 01:14:17 +07:00
Wilfred Hughes
426ce9751f
Defer edge calculations
...
This saves 1.3% instructions and 7% peak memory usage (because the
predecessors hash map has smaller size values).
2022-05-29 11:32:44 +07:00
Wilfred Hughes
1f481496ff
Factor out debug logging from shortest_path
...
This makes the core logic clearer
2022-05-29 10:01:42 +07:00
Wilfred Hughes
39be777a13
Prefer a complete sentence
2022-05-29 09:57:54 +07:00
Wilfred Hughes
96c550d0ab
No longer using Rc for HashMap
2022-05-28 19:18:33 +07:00
Wilfred Hughes
4f8a8a8197
This function does not need to be pub
2022-05-28 10:09:54 +07:00
Yoann Padioleau
c8955e9a98
Merge pull request #130 from cfroystad/attribute_group
...
Adds attribute_group node to complete attributes support
2022-05-27 11:36:43 +07:00
Christian Frøystad
f53b758daa
Adds attribute_group node to complete attributes support and fixes bug with missing support for trailing comma
2022-05-27 07:43:09 +07:00
Wilfred Hughes
f028b46003
cargo fmt
2022-05-25 09:35:28 +07:00
Wilfred Hughes
081b6fbe64
Move more into display/
2022-05-25 09:33:53 +07:00
Wilfred Hughes
d4285bed7c
Move more files into diff/
2022-05-25 09:31:12 +07:00
Wilfred Hughes
c5fe152f25
Define a parse submodule
2022-05-25 09:28:12 +07:00
Jonathan Arnett
d7861b2a4b
Change constructor tracking to not use type ( #29 )
2022-05-24 15:45:09 +07:00
Jonathan Arnett
aed23b28dd
Differentiate data constructor names from type names ( #28 )
2022-05-24 14:37:32 +07:00
Wilfred Hughes
373d7d9d81
Define a diff submodule
2022-05-24 09:33:47 +07:00
Wilfred Hughes
8fe0fc13b5
Define a display submodule
2022-05-24 09:25:06 +07:00
Yoann Padioleau
30962d1b47
Merge pull request #112 from raghav-deepsource/sealed-classes
...
Sealed classes
2022-05-24 14:11:20 +07:00
Raghav Shankar
2d800aad2d
Add generated files
2022-05-24 14:08:14 +07:00
Raghav Shankar
4548c60eac
Support sealed types
2022-05-24 14:03:30 +07:00
Wilfred Hughes
43a03d2939
Tweak slogan to clarify that difftastic understands structure
...
"Understands syntax" is sometimes confused with syntax highlighting.
2022-05-23 23:39:15 +07:00