Commit graph

  • 321ab83825 Use Located::new over struct initializer Micha Reiser 2023-04-25 17:49:37 -06:00
  • 3873414b30 Use Located::new over struct initializer Micha Reiser 2023-04-25 17:49:37 -06:00
  • 457cf8ba44 module objects' type as PyModule Jeong YunWon 2023-04-20 17:33:17 +09:00
  • a9f4b59f40 module objects' type as PyModule Jeong YunWon 2023-04-20 17:33:17 +09:00
  • ce3cc2831e Update lalrpop Jeong YunWon 2023-03-25 22:18:02 +09:00
  • 6d6155413b Update lalrpop Jeong YunWon 2023-03-25 22:18:02 +09:00
  • 9155ed3826 Remove useless and_then Jeong YunWon 2023-03-18 21:50:08 +09:00
  • f9b5469642 Update cspell for compiler Jeong YunWon 2023-03-16 21:27:02 +09:00
  • 70f8e04af3 Update cspell for compiler Jeong YunWon 2023-03-16 21:27:02 +09:00
  • ef38eb6b1a Include Derive feature with optional Serde dependency Charlie Marsh 2023-03-12 14:46:10 -04:00
  • 5d2228999b Include Derive feature with optional Serde dependency Charlie Marsh 2023-03-12 14:46:10 -04:00
  • 0ea53825db Merge pull request #4608 from coolreader18/bag-deser Jeong YunWon 2023-03-10 05:19:23 +09:00
  • 23afdf4d80 Merge pull request #4608 from coolreader18/bag-deser Jeong YunWon 2023-03-10 05:19:23 +09:00
  • 9d6ae774f8 Rework frozen modules and directly deserialize to CodeObject<Literal> Noa 2023-01-13 22:25:43 -06:00
  • 18de25c8a6 Rework frozen modules and directly deserialize to CodeObject<Literal> Noa 2023-01-13 22:25:43 -06:00
  • 55fc0e83f3 Treat match and case as soft keywords in lambda assignments (#4623) Charlie Marsh 2023-03-04 12:42:05 -05:00
  • d9f22c1b51 Treat match and case as soft keywords in lambda assignments (#4623) Charlie Marsh 2023-03-04 12:42:05 -05:00
  • 713dd2b91e Add optional serde dependency Charlie Marsh 2023-03-02 15:38:36 -05:00
  • 86ce9e8ff3 Add optional serde dependency Charlie Marsh 2023-03-02 15:38:36 -05:00
  • 7b84229db5 Add #![deny(clippy::cast_possible_truncation)] Jeong YunWon 2023-03-02 13:34:21 +09:00
  • 0cd04ca2de usize::to_u32 for compiler internal conversion Jeong YunWon 2023-03-02 13:13:03 +09:00
  • 969ea23d67 Address review comments Noa 2023-03-01 21:05:59 -06:00
  • 461ef3d71d Address review comments Noa 2023-03-01 21:05:59 -06:00
  • b80bbec8e6 Custom marshal enc/decoding impl Noa 2022-12-15 13:25:02 -06:00
  • 41b465dee1 Custom marshal enc/decoding impl Noa 2022-12-15 13:25:02 -06:00
  • 50b5388711 Disallow __debug__ as args, kwargs name. DimitrisJim 2023-03-01 11:48:45 +02:00
  • 8f425e9ce2 Use insta to verify values. DimitrisJim 2023-02-25 13:35:22 +02:00
  • 8cb2cca9fb Use insta to verify values. DimitrisJim 2023-02-25 13:35:22 +02:00
  • d7e2e7361e Use git version of unicode_names2 to avoid alias search failure Jeong YunWon 2023-02-26 19:09:13 +09:00
  • 268f3ad004 Use git version of unicode_names2 to avoid alias search failure Jeong YunWon 2023-02-26 19:09:13 +09:00
  • 301c5ccf29 Merge pull request #4584 from charliermarsh/charlie/adds Jeong YunWon 2023-02-27 13:59:49 +09:00
  • c37e0c7f03 Use proper locations for sub-expressions in constant matches Charlie Marsh 2023-02-26 23:06:06 -05:00
  • fdea016ea7 Use proper locations for sub-expressions in constant matches Charlie Marsh 2023-02-26 23:06:06 -05:00
  • ce5cdd1bcb Always load __debug__ as a const. DimitrisJim 2023-02-26 09:23:07 +02:00
  • 0d7b94817d Allow type variable tuple for *args Charlie Marsh 2023-02-23 08:37:44 -05:00
  • 8b9f57906a Allow type variable tuple for *args Charlie Marsh 2023-02-23 08:37:44 -05:00
  • f43e5b72e2 Merge pull request #4552 from charliermarsh/charlie/loc Jeong YunWon 2023-02-23 02:11:42 +09:00
  • 1404660364 Merge pull request #4552 from charliermarsh/charlie/loc Jeong YunWon 2023-02-23 02:11:42 +09:00
  • a19f294b0c Merge pull request #4543 from youknowone/flatten-parser Jeong YunWon 2023-02-23 02:09:46 +09:00
  • 822f0936ca Merge pull request #4543 from youknowone/flatten-parser Jeong YunWon 2023-02-23 02:09:46 +09:00
  • 7ebef61c47 Limit match range to end of last statement Charlie Marsh 2023-02-22 11:25:50 -05:00
  • e17437d935 Limit match range to end of last statement Charlie Marsh 2023-02-22 11:25:50 -05:00
  • b61f4d7b69 Allow trailing commas in MappingPattern Charlie Marsh 2023-02-22 10:01:30 -05:00
  • ba9e7c9607 Allow trailing commas in MappingPattern Charlie Marsh 2023-02-22 10:01:30 -05:00
  • e26369a34e use super::* from tests submodules Jeong YunWon 2023-02-22 21:01:39 +09:00
  • 30f85787a7 use super::* from tests submodules Jeong YunWon 2023-02-22 21:01:39 +09:00
  • 97a08ee77b remove #[macro_use] Jeong YunWon 2023-02-22 20:38:56 +09:00
  • 90da5ba54a remove #[macro_use] Jeong YunWon 2023-02-22 20:38:56 +09:00
  • cb8c6fb78d Flatten rustpython_parser interface Jeong YunWon 2023-02-22 17:14:20 +09:00
  • bf3f3eca62 Flatten rustpython_parser interface Jeong YunWon 2023-02-22 17:14:20 +09:00
  • 8580e4ebb5 make_tokenizer -> lex to integrate terms Jeong YunWon 2023-02-22 15:58:51 +09:00
  • a8d4de27ed make_tokenizer -> lex to integrate terms Jeong YunWon 2023-02-22 15:58:51 +09:00
  • 39fc23cf92 relocate feature-independent use Jeong YunWon 2023-02-22 17:28:49 +09:00
  • b5829b547a relocate feature-independent use Jeong YunWon 2023-02-22 17:28:49 +09:00
  • 66e3080173 Fix ModeParseError message Jeong YunWon 2023-02-22 16:52:40 +09:00
  • 019faeac24 Fix ModeParseError message Jeong YunWon 2023-02-22 16:52:40 +09:00
  • 1511b6631b Break down rustpython_parser::error module Jeong YunWon 2023-02-22 16:16:12 +09:00
  • aed03c5209 Break down rustpython_parser::error module Jeong YunWon 2023-02-22 16:16:12 +09:00
  • 2a8aa6f308 Always wrap in SoftKeywordTransformer Charlie Marsh 2023-02-21 19:18:42 -05:00
  • 62d88e0b86 Always wrap in SoftKeywordTransformer Charlie Marsh 2023-02-21 19:18:42 -05:00
  • dc628cab8f Expose SoftKeywordTransformer on public API Charlie Marsh 2023-02-21 19:00:32 -05:00
  • 82b91fe9aa Expose SoftKeywordTransformer on public API Charlie Marsh 2023-02-21 19:00:32 -05:00
  • c137bc9d77 Merge pull request #4519 from charliermarsh/charlie/match Jim Fasarakis-Hilliard 2023-02-21 19:43:28 +02:00
  • 6e9c759cf7 Merge pull request #4519 from charliermarsh/charlie/match Jim Fasarakis-Hilliard 2023-02-21 19:43:28 +02:00
  • 60180fd54c Merge pull request #4531 from charliermarsh/charlie/exception-groups Jeong YunWon 2023-02-21 13:20:18 +09:00
  • 304f6bc38e Merge pull request #4531 from charliermarsh/charlie/exception-groups Jeong YunWon 2023-02-21 13:20:18 +09:00
  • c7ed645cc6 Implement except* syntax Charlie Marsh 2023-02-20 13:40:19 -05:00
  • 2a86dbd644 Implement except* syntax Charlie Marsh 2023-02-20 13:40:19 -05:00
  • 8caa28f0f8 Update Python.asdl from CPython 3.11.1 Charlie Marsh 2023-02-21 12:00:33 +09:00
  • fab9adcd48 Update Python.asdl from CPython 3.11.1 Charlie Marsh 2023-02-21 12:00:33 +09:00
  • 8aa3bc93f3 Allow starred expressions in subscripts Charlie Marsh 2023-02-20 17:59:35 -05:00
  • 4c559a9a51 Allow starred expressions in subscripts Charlie Marsh 2023-02-20 17:59:35 -05:00
  • f39ffef370 Update compiler/parser/src/soft_keywords.rs Charlie Marsh 2023-02-20 13:20:26 -05:00
  • 77e827acd5 Update compiler/parser/src/soft_keywords.rs Charlie Marsh 2023-02-20 13:20:26 -05:00
  • e093d2bee6 clean up soft-keyword transform Jeong YunWon 2023-02-20 14:14:08 +09:00
  • 591036785c clean up soft-keyword transform Jeong YunWon 2023-02-20 14:14:08 +09:00
  • ca5b474d45 Use muiltipeek Charlie Marsh 2023-02-19 22:37:00 -05:00
  • f1f31324d0 Use muiltipeek Charlie Marsh 2023-02-19 22:37:00 -05:00
  • 2b43d45bd5 Add support for match statements to parser Charlie Marsh 2023-02-17 22:09:18 -05:00
  • 8649bf6f8f Add support for match statements to parser Charlie Marsh 2023-02-17 22:09:18 -05:00
  • 4bdc2d47c1 Make common::repr throw error instead of panic (#4520) John Pham 2023-02-19 20:09:54 +07:00
  • 72ddb53d0f Make common::repr throw error instead of panic (#4520) John Pham 2023-02-19 20:09:54 +07:00
  • 09b82e41d5 Merge pull request #4490 from DimitrisJim/function_parser Jeong YunWon 2023-02-13 20:00:35 +09:00
  • 24f4a0ed8f Merge pull request #4490 from DimitrisJim/function_parser Jeong YunWon 2023-02-13 20:00:35 +09:00
  • cc6d8a1c58 Merge pull request #4492 from DimitrisJim/doc_parser_uno Jeong YunWon 2023-02-13 17:25:14 +09:00
  • fb4bc89812 Merge pull request #4492 from DimitrisJim/doc_parser_uno Jeong YunWon 2023-02-13 17:25:14 +09:00
  • 07918f0a9a Document parser crate. Dimitris Fasarakis Hilliard 2023-02-07 21:42:15 +02:00
  • 66cbe3fe62 Document parser crate. Dimitris Fasarakis Hilliard 2023-02-07 21:42:15 +02:00
  • a0786ea872 Add tests, some comments, to function.rs. Dimitris Fasarakis Hilliard 2023-02-11 23:03:29 +02:00
  • 7714c5f517 Add tests, some comments, to function.rs. Dimitris Fasarakis Hilliard 2023-02-11 23:03:29 +02:00
  • 4713b2b3ab Refactor: Join string and string_parser. Dimitris Fasarakis Hilliard 2023-02-11 17:56:54 +02:00
  • e6f361d2a5 Refactor: Join string and string_parser. Dimitris Fasarakis Hilliard 2023-02-11 17:56:54 +02:00
  • e7f14ab9b8 Add test_generator_expression_argument Jeong YunWon 2023-02-11 05:20:06 +09:00
  • 4ee4fcf407 Add test_generator_expression_argument Jeong YunWon 2023-02-11 05:20:06 +09:00
  • 56c73cc63d Use entire range for generators-as-arguments Charlie Marsh 2023-02-10 10:39:40 -05:00
  • dc78f6033b Use entire range for generators-as-arguments Charlie Marsh 2023-02-10 10:39:40 -05:00
  • 659f4dd8bf Document lexer. Dimitris Fasarakis Hilliard 2023-02-07 20:59:35 +02:00
  • 31e0962c66 Document lexer. Dimitris Fasarakis Hilliard 2023-02-07 20:59:35 +02:00
  • bd158089e0 Move NewLineHandler inline, don't check each character twice. Dimitris Fasarakis Hilliard 2023-02-06 06:32:02 +02:00
  • 639e8fc52f Move NewLineHandler inline, don't check each character twice. Dimitris Fasarakis Hilliard 2023-02-06 06:32:02 +02:00