Commit Graph

586 Commits

Author SHA1 Message Date
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. v0.0.3 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