Commit Graph

736 Commits (8f46eae9f51e0d07501cd5d23c20aeeaa9ff323c)
 

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli 8f46eae9f5
Merge pull request #25 from ltworf/mypy
Mypy
2020-08-12 19:20:00 +07:00
Salvo 'LtWorf' Tomaselli 2ceaa3e1db
The final rename 2020-08-12 17:35:55 +07:00
Salvo 'LtWorf' Tomaselli 731327c079
Var rename 2020-08-12 17:34:46 +07:00
Salvo 'LtWorf' Tomaselli fbef0f9deb
Make mypy happy 2020-08-12 17:32:41 +07:00
Salvo 'LtWorf' Tomaselli 6fcb5ecb85
Bring more happyness to mypy 2020-08-12 15:33:41 +07:00
Salvo 'LtWorf' Tomaselli f7f51b3413
Make mypy happy 2020-08-12 15:26:56 +07:00
Salvo 'LtWorf' Tomaselli be932abcaa
More isinstance 2020-08-12 15:26:41 +07:00
Salvo 'LtWorf' Tomaselli bd58442912
Make hash raise an error 2020-08-12 15:20:29 +07:00
Salvo 'LtWorf' Tomaselli 8d49b393c8
Give up on the literals
mypy is too stupid to infer them
2020-08-12 15:16:58 +07:00
Salvo 'LtWorf' Tomaselli cabae01f7c
Happify mypy 2020-08-12 15:10:42 +07:00
Salvo 'LtWorf' Tomaselli 786a9d61f5
Rework the tokenizing function 2020-08-12 11:05:47 +07:00
Salvo 'LtWorf' Tomaselli 40a15178fe
Make mypy happy 2020-08-12 10:52:11 +07:00
Salvo 'LtWorf' Tomaselli f21a7beb41
Assert to make mypy happy 2020-06-27 15:51:00 +07:00
Salvo 'LtWorf' Tomaselli e5dad02397
Remove duplicate code 2020-06-27 15:49:19 +07:00
Salvo 'LtWorf' Tomaselli 9f171fa393
Check instance once 2020-06-27 15:47:55 +07:00
Salvo 'LtWorf' Tomaselli 79610ab8f5
More of the same 2020-06-18 17:34:59 +07:00
Salvo 'LtWorf' Tomaselli 95a4287e68
More of the same 2020-06-18 17:34:59 +07:00
Salvo 'LtWorf' Tomaselli e35fc0f4bd
More type safety 2020-06-18 17:34:59 +07:00
Salvo 'LtWorf' Tomaselli 16459868cf
Import directly names from parser module 2020-06-18 17:34:59 +07:00
Salvo 'LtWorf' Tomaselli 9c3e012e71
More type safety 2020-06-18 17:34:59 +07:00
Salvo 'LtWorf' Tomaselli c5a71be509
Tell mypy about the values of name in nodes 2020-06-18 17:34:59 +07:00
Salvo 'LtWorf' Tomaselli 4ab01c9e47
Not a constant 2020-06-18 17:34:58 +07:00
Salvo 'LtWorf' Tomaselli aa6568bac2
Check class too when matching 2020-06-18 17:34:58 +07:00
Salvo 'LtWorf' Tomaselli 15f5de6958
Raise exception, will fix it later 2020-06-18 17:34:58 +07:00
Salvo 'LtWorf' Tomaselli 6a33e8ee08
Improve type annotations 2020-06-18 17:34:58 +07:00
Salvo 'LtWorf' Tomaselli 4ef4d679ac
Remove object inheritance 2020-06-18 17:34:58 +07:00
Salvo 'LtWorf' Tomaselli 3837a849a3
Run mypy on travis 2020-06-18 17:34:55 +07:00
Salvo 'LtWorf' Tomaselli d3d3c47281
Merge pull request #24 from ltworf/fix_print
Fix print
2020-06-18 17:34:36 +07:00
Salvo 'LtWorf' Tomaselli a74c17f323
More pythonic code 2020-06-18 17:24:45 +07:00
Salvo 'LtWorf' Tomaselli dcde484a63
Usual isinstance for mypy 2020-06-18 17:24:23 +07:00
Salvo 'LtWorf' Tomaselli 3b1e90b30e
Merge pull request #23 from ltworf/improve_parser
Improve parser
2020-06-18 17:16:53 +07:00
Salvo 'LtWorf' Tomaselli 31a59e1de0
Fix error reporting in the parser 2020-06-18 17:14:30 +07:00
Salvo 'LtWorf' Tomaselli 0df6a263e5
Check it after removing nesting 2020-06-18 17:14:12 +07:00
Salvo 'LtWorf' Tomaselli e5f7b1745c
Add new error about empty expressions. 2020-06-18 17:14:04 +07:00
Salvo 'LtWorf' Tomaselli 7cb6d4941f
More parse details 2020-06-18 17:13:45 +07:00
Salvo 'LtWorf' Tomaselli 3056dafbff
Reuse code for optimizations 2020-06-18 17:12:57 +07:00
Salvo 'LtWorf' Tomaselli 8fd2db12b5
Reuse code to generate the projection python code 2020-06-18 17:10:34 +07:00
Salvo 'LtWorf' Tomaselli 04f568ad50
Merge pull request #21 from ltworf/pythonic
More pythonic code
2020-06-09 23:52:35 +07:00
Salvo 'LtWorf' Tomaselli 5d3823d0ea
Merge pull request #20 from ltworf/refactor_parser
Refactor parser
2020-06-09 23:49:11 +07:00
Salvo 'LtWorf' Tomaselli 74e92d2211
More pythonic code 2020-06-09 23:48:43 +07:00
Salvo 'LtWorf' Tomaselli d7145171de
Finish fixing the optimization
I wrote it ages ago, I was not as skilled as I am now.
2020-06-09 23:47:04 +07:00
Salvo 'LtWorf' Tomaselli f4a4b847af
selection_and_product partial 2020-06-09 22:47:54 +07:00
Salvo 'LtWorf' Tomaselli f4a8344f3e
projection_and_union 2020-06-09 19:43:56 +07:00
Salvo 'LtWorf' Tomaselli b987180d1c
useless_projection 2020-06-09 19:37:57 +07:00
Salvo 'LtWorf' Tomaselli f139257d2c
Typing 2020-06-09 19:37:00 +07:00
Salvo 'LtWorf' Tomaselli 67d050e07d
Execute context optimizations 2020-06-09 19:34:26 +07:00
Salvo 'LtWorf' Tomaselli 4337e6073e
CHANGELOG 2020-06-09 19:31:56 +07:00
Salvo 'LtWorf' Tomaselli a2111a90c1
select_union_intersect_subtract 2020-06-09 19:27:47 +07:00
Salvo 'LtWorf' Tomaselli ff2f890b98
Remove legacy thing 2020-06-09 19:16:02 +07:00
Salvo 'LtWorf' Tomaselli 7806a0a27e
union_and_product_ 2020-06-09 19:15:34 +07:00