Commit graph

  • b81d010a63
    Codegen with lalrpop Lee Dogeon 2025-03-09 21:27:33 +09:00
  • 7101e9276f
    Update python.lalrpop Lee Dogeon 2025-03-09 21:25:50 +09:00
  • d48caa909a
    Update malachite to 0.5 Noa 2025-02-24 20:58:40 -06:00
  • 385c522471
    Update auto-generated ast code Lee Dogeon 2025-02-11 14:48:06 +09:00
  • 33092d8002
    Update 'Python.asdl' to 3.13.2 Lee Dogeon 2025-02-11 14:45:29 +09:00
  • d2f137b372 Update malachite-bigint main Jeong YunWon 2025-02-10 13:55:36 +09:00
  • 96d94fca26 Update malachite-bigint Jeong YunWon 2025-02-10 13:55:36 +09:00
  • 4588ea5c3e
    malachite-bigint v0.2.2 (#132) Jeong, YunWon 2025-02-03 10:35:12 +09:00
  • 272b73f61d malachite v0.2.2 Jeong YunWon 2025-02-03 10:32:33 +09:00
  • 328e085805 malachite-bigint 0.2.1 Jeong YunWon 2025-02-03 09:43:48 +09:00
  • 4795ba3105 malachite-bigint 0.2.1 Jeong YunWon 2025-02-03 09:43:48 +09:00
  • f07b97cef3 Fix match parsing Jeong YunWon 2025-01-22 01:24:02 +09:00
  • a49b8ec80b Fix match parsing Jeong YunWon 2025-01-22 01:24:02 +09:00
  • e00297d1c7 apply clippy suggestions Jeong YunWon 2025-01-22 01:28:12 +09:00
  • be64d55443 apply clippy suggestions Jeong YunWon 2025-01-22 01:28:12 +09:00
  • 5e9d9853e7
    Fix inconsistencies with cpython while parsing format strings (#124) Kaan Büyükerdem 2024-10-31 11:19:49 +03:00
  • 64723e1675
    Use selected for better readibility Kaan Büyükerdem 2024-10-31 10:33:14 +03:00
  • 11d7413482 Fix inconsistencies with cpython while parsing format strings which contain colons inside square brackets kaanyalova 2024-10-30 19:58:33 +03:00
  • a5b08096a0
    fix clippy warnings (#123) Jeong, YunWon 2024-08-07 08:29:20 +09:00
  • 9a177dc6a0 update CI ruff command Jeong YunWon 2024-08-07 08:27:30 +09:00
  • 4da27a70e6 fix clippy warnings Jeong YunWon 2024-08-07 08:22:21 +09:00
  • 8dd2aea267 mark 0.4.0 0.4.0 Jeong YunWon 2024-08-07 07:52:29 +09:00
  • 00d2f1d1a7 fix formatting issues Dan Nasman 2024-07-20 19:33:23 +03:00
  • 50638bd06e change function name Dan Nasman 2024-07-20 19:27:08 +03:00
  • cfb9c937be add underline handling to float parsing Dan Nasman 2024-07-20 19:16:29 +03:00
  • 36f34ce5d2 disallow consecutive separators when parsing floats Dan Nasman 2024-07-19 16:53:52 +03:00
  • 746b24f04c fix formatting issues Dan Nasman 2024-07-20 19:33:23 +03:00
  • a6f3aac369 change function name Dan Nasman 2024-07-20 19:27:08 +03:00
  • 8d28ecdc3e add underline handling to float parsing Dan Nasman 2024-07-20 19:16:29 +03:00
  • f601ba3269 disallow consecutive separators when parsing floats Dan Nasman 2024-07-19 16:53:52 +03:00
  • 51b5f80ae3 fix for Lib/test/test_future_stmt/test_future.py: test_annotations hydrogen602 2024-05-11 23:29:20 -05:00
  • 649fdd4be9 Fix type param order during source location Daniel Chiquito 2024-05-09 23:05:28 -04:00
  • a7647c2a3b
    fix for Lib/test/test_future_stmt/test_future.py: test_annotations hydrogen602 2024-05-11 23:29:20 -05:00
  • 6a2aa264b1
    Merge pull request #107 from m-spitfire/fix-unparse Jeong, YunWon 2024-05-10 14:10:32 +09:00
  • 453adeffc4 Fix type param order during source location Daniel Chiquito 2024-05-09 23:05:28 -04:00
  • a95045bc62
    Merge pull request #117 from youknowone/0.3.1 0.3.1 Jeong, YunWon 2024-04-07 02:57:01 +09:00
  • 5c73f635a4 0.3.1 Jeong YunWon 2024-04-07 02:38:42 +09:00
  • 37a1190dfb Remove ast-pyo3 from repository Jeong YunWon 2024-04-07 02:34:35 +09:00
  • 9ce55aefde
    Incorrect f-string parsing (#112) yt2b 2024-01-23 17:20:32 +09:00
  • c78f92f713 Remove unused import yt2b 2024-01-20 15:54:47 +09:00
  • e247b89c1a Push char yt2b 2024-01-20 15:46:15 +09:00
  • 29c98d4a2f Add test yt2b 2024-01-20 15:30:38 +09:00
  • bc16c9fd8d Fix parse_fstring yt2b 2024-01-20 15:27:41 +09:00
  • 8731e9fc50
    Added num/malachite features for format crate (#109) Harsha Teja Kanna 2023-12-27 21:52:22 -06:00
  • 99284e3db5 Remove unnecessary feature flags for optional deps Harsha Teja Kanna 2023-12-27 12:09:00 -06:00
  • 635eb4516d bigint module for rustpython-format Jeong YunWon 2023-12-28 01:09:35 +09:00
  • d71e528deb Added num/malachite features for format crate Harsha Teja Kanna 2023-12-15 14:03:44 -06:00
  • 29c4728dbe
    remove size assertions to avoid nightly error (#111) Jeong, YunWon 2023-12-28 01:36:46 +09:00
  • 5bdbbbec08 remove size assertions to avoid nightly error Jeong YunWon 2023-12-28 01:29:29 +09:00
  • c0923cbc1c malachite-bigint 0.2.0 Jeong YunWon 2023-12-28 01:06:17 +09:00
  • a367239af1
    Fix the invalid license name for cargo-deny (#110) Harsha Teja Kanna 2023-12-27 09:59:03 -06:00
  • 6ce7a25685 Fix the invalid license name for cargo-deny Harsha Teja Kanna 2023-12-16 16:54:58 -06:00
  • 52edf4525e
    Merge pull request #103 from qingshi163/malachite041 Steve Shi 2023-11-07 19:34:31 +02:00
  • 82e1d95cfb Bump malachite to 0.4.4 Kangzhi Shi 2023-11-05 06:47:14 +02:00
  • 28eff35cee Bump malachite to 0.4.1 Kangzhi Shi 2023-09-30 04:35:04 +02:00
  • 6ff2284953 fix(ast): make unparse module public Murad Bashirov 2023-10-22 15:11:52 +09:00
  • 13cae0af64
    Clean up Cargo.toml and bump dependency versions (#104) Jeong, YunWon 2023-10-03 20:50:52 +09:00
  • 645913c0e6 clean up Cargo.toml and bump dependency versions Jeong YunWon 2023-10-03 20:36:05 +09:00
  • c0a927e1be replace unicode_names2 to official release Jeong YunWon 2023-10-03 20:19:57 +09:00
  • cdbcdf260a Update PyO3 Jeong YunWon 2023-08-29 16:41:16 +09:00
  • a1e4336f70
    0.3.0 (#92) 0.3.0 Jeong, YunWon 2023-08-30 00:04:44 +09:00
  • fe24ff7697 0.3.0 Jeong YunWon 2023-07-02 12:30:02 +09:00
  • d09bce80e6
    vendor text_size and source_location (#102) Jeong, YunWon 2023-08-29 19:52:25 +09:00
  • de0966b155 vendor text_size and source_location Jeong YunWon 2023-08-29 16:40:48 +09:00
  • b07966695a
    Fix TypeAliasName to store name instead of load (#99) Zanie Blue 2023-07-29 00:23:49 -05:00
  • 30bbed5b2c Update snapshot tests Zanie 2023-07-26 16:28:58 -05:00
  • 17fa74b006 Fix TypeAliasName to store name instead of load Zanie 2023-07-26 16:14:22 -05:00
  • 704eb40108
    Add parsing of type alias statements i.e. the type keyword (#97) Zanie Blue 2023-07-17 10:00:08 -05:00
  • af508c2c26 Update type alias soft keyword heuristic to be more strict about Equals placement Zanie 2023-07-17 09:49:17 -05:00
  • b2d67c70f3 Drop support for parsing type aliases with parens and braces Zanie 2023-07-17 09:42:13 -05:00
  • fcdd605f74 Add multiline generic test cases Zanie 2023-07-17 09:36:43 -05:00
  • 6050b5e4b7 Refactor to avoid traversing the line unecessarily Zanie 2023-07-14 13:25:10 -05:00
  • 8c81332205 Fix newline indentation Zanie 2023-07-14 13:15:06 -05:00
  • 4170b22b7d Require the name token to immediately follow the type token Zanie 2023-07-14 13:12:41 -05:00
  • 4776f689ae Add test for type identifier assignment Zanie 2023-07-14 12:58:09 -05:00
  • 8e5d0cc385 Add parenthized multiline type alias test case Zanie 2023-07-14 12:09:44 -05:00
  • e2e1c2b705 Add test for parenthized multiline type as identifier Zanie 2023-07-14 12:03:34 -05:00
  • 1622c8f2da Add multiline type alias tests with line continuations Zanie 2023-07-14 11:59:43 -05:00
  • 7bbd80eb6c Add some multiline identifier tests Zanie 2023-07-14 11:57:42 -05:00
  • d1c319ba15 Use match statement in soft keyword token handler Zanie 2023-07-14 12:11:59 -05:00
  • bbedb61607 Restore comment specific to match/case Zanie Blue 2023-07-14 10:25:26 -05:00
  • 2e95af73c4 Move soft keyword cases to proper test Zanie 2023-07-13 14:55:15 -05:00
  • 4b99996f96 Add handling for soft keywords as type alias names Zanie 2023-07-13 14:53:27 -05:00
  • 50f1b6a3ec Add more cases to type identifier test Zanie 2023-07-13 14:30:19 -05:00
  • b5e0f57076 Add tests from the CPython corpus Zanie 2023-07-13 14:27:02 -05:00
  • b9d283fd2d Format Zanie 2023-07-13 14:56:26 -05:00
  • f96642aac4 Add parsing of type alias statements Zanie 2023-07-17 09:12:24 -05:00
  • 6980037ad9
    Parse type parameters in function definitions (#96) Zanie Blue 2023-07-14 16:51:32 -05:00
  • 323e1dd5f8 Format Zanie 2023-07-13 14:22:24 -05:00
  • 027db8f242 Commit snapshot Zanie 2023-07-13 14:19:25 -05:00
  • 9eb0752cb4 Add test for combined items Zanie 2023-07-12 11:54:37 -05:00
  • fff291a4de Parse type parameters in function definitions Zanie 2023-07-12 11:49:56 -05:00
  • c33fbeef54
    Parse type parameters in class definitions Micha Reiser 2023-07-14 17:15:30 +02:00
  • 3ec64e124a Consolidate tests and add coverage for trailing comma Zanie 2023-07-13 08:51:23 -05:00
  • e0a8f5b7b3 Add bound to test case test_parse_class_with_all_possible_generic_types Zanie 2023-07-12 11:25:07 -05:00
  • b06b2662c9 Add test for tuple bounds Zanie 2023-07-12 11:24:05 -05:00
  • 76a3245479 Remove test for empty generic class Foo[]: ... Zanie 2023-07-12 11:17:24 -05:00
  • d923aa92bb Parse type parameters in class definitions Zanie 2023-07-12 10:24:43 -05:00
  • c8092b20a2
    Update to the latest ASDL Micha Reiser 2023-07-13 10:41:50 +02:00
  • 7516c4248c Move type_param stubs into LALRPOP definition Zanie 2023-07-11 09:42:45 -05:00