Dave Halter
|
0dea94c801
|
Bump version for the next release
|
2017-11-05 15:11:51 +01:00 |
|
Dave Halter
|
6cf487aee2
|
Use 3.7-dev not 3.7 for travis
|
2017-11-05 14:39:13 +01:00 |
|
Dave Halter
|
2ca629a2f6
|
Don't use py37 in tox but on travis
|
2017-11-05 14:34:09 +01:00 |
|
Dave Halter
|
5c1e953c17
|
Add the v0.1.1 changes to the changelog
|
2017-11-05 12:43:55 +01:00 |
|
Dave Halter
|
a5f565ae10
|
Python 3.7 should be tested as well
|
2017-11-05 12:18:28 +01:00 |
|
Dave Halter
|
a29ec25598
|
Use os.path.join instead of a slash
Fixes #20
|
2017-11-04 14:58:57 +01:00 |
|
Dave Halter
|
dcae8cda92
|
Merge branch 'master' of github.com:davidhalter/parso
|
2017-10-12 22:59:24 +02:00 |
|
Dave Halter
|
1f6683b8ac
|
Don't use the root logger
The root logger should not be used in parso. Use custom loggers for each module. Fixes #9.
|
2017-10-12 22:59:17 +02:00 |
|
Dave Halter
|
8db1498185
|
Deployment script forgot to push the tags to github.
|
2017-09-21 00:06:48 +02:00 |
|
Dave Halter
|
26e882d19c
|
Magic names were not validated correctly
Fixes #6.
|
2017-09-14 09:04:08 +02:00 |
|
Dave Halter
|
3a506b44ac
|
Remove dead code in get_definition. Fixes #4.
|
2017-09-05 08:59:16 +02:00 |
|
Dave Halter
|
5a57e8df06
|
Remove the width from the logo, because it's not needed.
|
2017-09-04 23:19:04 +02:00 |
|
Dave Halter
|
aa82a1d39a
|
Add a parso image to the README.
|
2017-09-04 23:17:24 +02:00 |
|
Dave Halter
|
e0f74dd8ad
|
Bump the Python version.
|
2017-09-04 22:54:48 +02:00 |
|
Dave Halter
|
7df254440e
|
Mention that Salome Schneider did the parso logo.
|
2017-09-04 22:52:07 +02:00 |
|
Dave Halter
|
05a8236d3f
|
Small corrections.
|
2017-09-04 22:51:17 +02:00 |
|
Dave Halter
|
2067845cef
|
Try to recommend using parso without diff_cache.
|
2017-09-04 22:03:12 +02:00 |
|
Dave Halter
|
dcdd3bbc8e
|
More tree docstrings.
|
2017-09-04 21:58:48 +02:00 |
|
Dave Halter
|
82868580a2
|
Fix a docstring.
|
2017-09-04 21:38:57 +02:00 |
|
Dave Halter
|
a18baf0d2c
|
The readme should match the documentation.
|
2017-09-04 21:31:45 +02:00 |
|
Dave Halter
|
ed803f5749
|
A better README.
|
2017-09-04 21:22:51 +02:00 |
|
Dave Halter
|
032c7563c4
|
Document issues about our internal tree.
|
2017-09-04 20:54:48 +02:00 |
|
Dave Halter
|
b83c641057
|
Better documentation for leafs/nodes.
|
2017-09-04 20:19:00 +02:00 |
|
Dave Halter
|
97d9aeafb7
|
Bettter NoeOrLeaf docstrings.
|
2017-09-04 09:48:23 +02:00 |
|
Dave Halter
|
7a277c7302
|
Move to python 3.6 intersphinx.
|
2017-09-03 23:32:43 +02:00 |
|
Dave Halter
|
5993765e0a
|
Better documentation of issues.
|
2017-09-03 23:01:34 +02:00 |
|
Dave Halter
|
435d310c2b
|
More general overhaul of the documentation.
|
2017-09-03 22:20:03 +02:00 |
|
Dave Halter
|
8aa280342a
|
Rework the parse documentation.
|
2017-09-03 22:08:28 +02:00 |
|
Dave Halter
|
73c61bca4a
|
More docstrings.
|
2017-09-03 18:36:03 +02:00 |
|
Dave Halter
|
60ed141d80
|
A few documentation improvements.
|
2017-09-03 14:02:53 +02:00 |
|
Dave Halter
|
091e72562c
|
Bump version.
|
2017-09-03 01:14:35 +02:00 |
|
Dave Halter
|
fc6202ffb3
|
Rename _get_definition to get_definition.
|
2017-09-03 00:42:06 +02:00 |
|
Dave Halter
|
0e201810fa
|
Remove the old get_definition function.
|
2017-09-03 00:41:39 +02:00 |
|
Dave Halter
|
7a9739c5d6
|
Add an option to the new get_definition.
|
2017-09-02 23:45:50 +02:00 |
|
Dave Halter
|
1bf9ca94bb
|
A small docstring.
|
2017-09-02 22:41:15 +02:00 |
|
Dave Halter
|
a4d28d2eda
|
Rework is_definition.
|
2017-09-02 17:26:29 +02:00 |
|
Dave Halter
|
36ddbaddf4
|
Remove a note about not parsing f-strings.
|
2017-09-02 14:13:47 +02:00 |
|
Dave Halter
|
b944fb9145
|
Fix a test around rb/br string literals.
|
2017-09-02 14:09:15 +02:00 |
|
Dave Halter
|
7a85409da7
|
Get rid of one more isinstance.
|
2017-09-02 13:59:21 +02:00 |
|
Dave Halter
|
e79c0755eb
|
iter_return_stmts should also return return statements without a value.
|
2017-09-02 12:32:32 +02:00 |
|
Dave Halter
|
9ab5937a3c
|
Fix yield scanning.
|
2017-09-01 18:03:47 +02:00 |
|
Dave Halter
|
d3e58955a9
|
iter_yield_expr should not work correctly.
|
2017-09-01 09:34:01 +02:00 |
|
Dave Halter
|
a21ec2c0ad
|
Better yield/yield from support.
|
2017-09-01 01:06:07 +02:00 |
|
Dave Halter
|
910a660c6f
|
Fix some todos.
|
2017-09-01 00:35:22 +02:00 |
|
Dave Halter
|
68fa70b959
|
future_import_names is not public, at the moment.
|
2017-09-01 00:25:32 +02:00 |
|
Dave Halter
|
fa0bf4951c
|
Fix string prefixes for Python2.
|
2017-09-01 00:20:24 +02:00 |
|
Dave Halter
|
ba2c0ad41a
|
Bump version.
|
2017-08-31 22:44:15 +02:00 |
|
Dave Halter
|
4b32408001
|
Finally get a release out with this script.
|
2017-08-31 22:41:28 +02:00 |
|
Dave Halter
|
5c3304f7c2
|
Move start symbols a bit.
|
2017-08-31 19:39:27 +02:00 |
|
Dave Halter
|
92f2761398
|
Moved deploy.sh to deploy-master.sh
|
2017-08-31 19:32:05 +02:00 |
|
Dave Halter
|
6a6da7ca58
|
Modify the deployment script a bit more.
|
2017-08-31 19:27:23 +02:00 |
|
Dave Halter
|
676828fd4f
|
Change deploy script to better handle tags that already exist and move to a separate folder to avoid deploying files that make no sense.
|
2017-08-31 09:00:47 +02:00 |
|
Dave Halter
|
9ae1b000de
|
Small whitespace change.
|
2017-08-30 16:10:36 +02:00 |
|
Dave Halter
|
20f3fd101a
|
Fix py3.3 and remove a print.
|
2017-08-28 21:47:00 +02:00 |
|
Dave Halter
|
45c434799f
|
Rename indent -> column.
|
2017-08-28 21:34:17 +02:00 |
|
Dave Halter
|
826a6b4453
|
Add some notes to CONTRIBUTING.md.
|
2017-08-28 18:34:35 +02:00 |
|
Dave Halter
|
db1079a7fe
|
Actual support fo backticks.
|
2017-08-28 18:32:48 +02:00 |
|
Dave Halter
|
b921e280b0
|
Some last fstring fixes.
|
2017-08-28 18:10:30 +02:00 |
|
Dave Halter
|
cba82773d4
|
Small test refactoring, because not all fstrings errors from parso match the CPython equivalents.
|
2017-08-26 19:18:16 +02:00 |
|
Dave Halter
|
66606403c7
|
Most fstrings issues should be fixed now.
|
2017-08-26 19:15:09 +02:00 |
|
Dave Halter
|
5b7a01ba62
|
Finally add all fstring errors except the nested invalid syntax stuff that occurs in nested Python.
|
2017-08-26 12:16:06 +02:00 |
|
Dave Halter
|
68cc383d02
|
Do proper error recover for fstrings and fix another issue there.
|
2017-08-26 12:02:10 +02:00 |
|
Dave Halter
|
1893f77e15
|
Add issue "f-string: expecting }".
|
2017-08-26 11:53:59 +02:00 |
|
Dave Halter
|
296ecc6728
|
Add 'f-string: expressions nested too deeply' issue.
|
2017-08-26 11:10:04 +02:00 |
|
Dave Halter
|
7d4aa755a5
|
Add conversion issues.
|
2017-08-26 03:13:59 +02:00 |
|
Dave Halter
|
8a448303d1
|
Fix an issue that created an endless loop.
|
2017-08-26 03:08:10 +02:00 |
|
Dave Halter
|
ede8a2139f
|
Add some first f-string issues.
|
2017-08-25 22:09:58 +02:00 |
|
Dave Halter
|
609ab1ffa9
|
Hack around the fact that the tokenizers are not really integrated with parsers.
|
2017-08-25 21:21:57 +02:00 |
|
Dave Halter
|
09b05422a6
|
Fix an issue with continue error detection.
|
2017-08-25 21:02:56 +02:00 |
|
Dave Halter
|
f3db064d7d
|
Try to correctly calculate start positions.
|
2017-08-25 20:58:28 +02:00 |
|
Dave Halter
|
8bc54f5a29
|
Fix all the issues with f-string escapes.
|
2017-08-25 10:22:41 +02:00 |
|
Dave Halter
|
204e750dd5
|
Add more f-string tests.
|
2017-08-25 09:47:24 +02:00 |
|
Dave Halter
|
0c0a4b5a5d
|
Add some fstring tests.
|
2017-08-24 01:39:28 +02:00 |
|
Dave Halter
|
3c3e7f5317
|
Make some parsing work.
|
2017-08-24 01:39:17 +02:00 |
|
Dave Halter
|
033e880408
|
Add fstrings to the grammar.
|
2017-08-24 00:01:42 +02:00 |
|
Dave Halter
|
2ba107872d
|
A first iteration of an fstring tokenizer/grammar.
|
2017-08-23 23:49:11 +02:00 |
|
Dave Halter
|
929593701a
|
Remove opmap from pgen.
|
2017-08-22 08:45:10 +02:00 |
|
Dave Halter
|
d7f2051f8a
|
Remove some use cases from token.tok_name in pgen.
|
2017-08-21 20:33:29 +02:00 |
|
Dave Halter
|
6630542847
|
Make a method in the tokenizer private.
|
2017-08-21 18:31:10 +02:00 |
|
Dave Halter
|
c0d3734e81
|
Remove exact_type from PythonToken, because the support for this differentiation of exact_type and type was never really there.
|
2017-08-21 18:30:14 +02:00 |
|
Dave Halter
|
88c3c0567a
|
Rename TokenInfo to PythonToken.
|
2017-08-21 09:33:41 +02:00 |
|
Dave Halter
|
1912551296
|
Move some star_expr checking around.
|
2017-08-19 12:59:49 +02:00 |
|
Dave Halter
|
d5d7518ca4
|
Allow multiple values to be used when registering rules.
|
2017-08-19 12:51:10 +02:00 |
|
Dave Halter
|
820e94e03a
|
Move the error node checking to a rule.
|
2017-08-19 12:43:47 +02:00 |
|
Dave Halter
|
5ff33c3736
|
Refactor the error signatures.
|
2017-08-19 10:54:29 +02:00 |
|
Dave Halter
|
5916b676de
|
Move the TryStmtRule.
|
2017-08-18 18:53:11 +02:00 |
|
Dave Halter
|
30acb69caa
|
Move all of the check_assignment stuff into classes.
|
2017-08-18 18:47:49 +02:00 |
|
Dave Halter
|
84e5adb364
|
Move the parameter rules.
|
2017-08-18 18:37:19 +02:00 |
|
Dave Halter
|
ceb7121dc6
|
Move the big arglist rule.
|
2017-08-18 18:32:24 +02:00 |
|
Dave Halter
|
8ba7001b44
|
Protect some classes that don't need to be public.
|
2017-08-18 18:21:18 +02:00 |
|
Dave Halter
|
76578218d9
|
Move argument and nonlocal rule.
|
2017-08-18 18:20:37 +02:00 |
|
Dave Halter
|
904f293830
|
Move annassign and starexprs.
|
2017-08-18 18:15:24 +02:00 |
|
Dave Halter
|
a53477321b
|
Move some import rule stuff around.
|
2017-08-17 20:49:27 +02:00 |
|
Dave Halter
|
e8196c0c06
|
Move the first node (atom) to rules.
|
2017-08-17 20:42:32 +02:00 |
|
Dave Halter
|
33ad290512
|
More rules, yay.
|
2017-08-17 20:39:34 +02:00 |
|
Dave Halter
|
eb2c0ab93b
|
Move string checks to a rule.
|
2017-08-17 20:25:23 +02:00 |
|
Dave Halter
|
0fd2e169bd
|
More rule moves.
|
2017-08-17 20:22:32 +02:00 |
|
Dave Halter
|
657baabb0b
|
Move continue checks to a rule.
|
2017-08-17 20:12:23 +02:00 |
|
Dave Halter
|
f055ba198f
|
Move more stuff and fix tests.
|
2017-08-17 10:38:45 +02:00 |
|
Dave Halter
|
06d7da3f3e
|
Move the first issue to the new rule engine.
|
2017-08-17 10:25:11 +02:00 |
|