Commit graph

  • 3617a6c52b Bump size assertion for Stmt from 136 to 160 bytes Zanie 2023-07-10 16:48:05 -05:00
  • 30f461b7e9 Revert formatting changes to python.rs Zanie 2023-07-10 14:26:45 -05:00
  • 7b0aeeec4b Add stub type_params handling for class and function definitions Zanie 2023-07-10 14:00:34 -05:00
  • df2b5dfed0 Regenerate code with latest ASDL Zanie 2023-07-10 13:45:36 -05:00
  • 25b23998ad Update Python ASDL for Python 3.12 Zanie 2023-07-10 13:14:46 -05:00
  • a515465384 replacer Jeong YunWon 2023-05-29 01:42:50 +09:00
  • 69d27d924c
    Rename unconventional nodes (#74) Jeong, YunWon 2023-06-17 01:54:00 +09:00
  • 25801c84eb Refer cpython documentation Jeong YunWon 2023-06-01 13:52:37 +09:00
  • 6b038b867a Rename unconventional nodes Jeong YunWon 2023-05-29 02:00:37 +09:00
  • 5270020423
    rustpython_ast python package (#79) Jeong, YunWon 2023-06-17 01:32:27 +09:00
  • 5f582f09bc python package Jeong YunWon 2023-06-01 18:16:16 +09:00
  • edcfcb4a74
    Fix bool format (#91) yt2b 2023-06-15 14:56:03 +09:00
  • 76f2ed0cee Add test_format_bool yt2b 2023-06-15 01:18:11 +09:00
  • cf2f6e9f72 Fix format_bool yt2b 2023-06-15 01:14:42 +09:00
  • 40a603208f
    Add Pylyzer Jeong, YunWon 2023-06-11 21:56:59 +09:00
  • 00193e0798 Fix LinearLocator \r handling (#80) locator Jeong, YunWon 2023-06-02 22:35:53 +09:00
  • b2f95e2848
    Fix LinearLocator \r handling (#80) Jeong, YunWon 2023-06-02 22:35:53 +09:00
  • 338306c2a3 Fix LinearLocator \r handling Jeong YunWon 2023-06-02 22:23:39 +09:00
  • a2e3209c42
    Replace num-bigint with malachite-bigint (#18) Steve Shi 2023-06-02 10:06:18 +02:00
  • c0b7af1a4a dual bigint support Jeong YunWon 2023-06-01 21:21:52 +09:00
  • a70d14c9ba Fix bump malachite-bigint to 0.1.8 fix bug Kangzhi Shi 2023-05-20 16:28:00 +02:00
  • 2e3d16614d Fix malachite-bigint rev for test Jeong YunWon 2023-05-20 16:15:43 +09:00
  • bfc997cf1f Add pyo3 support: Jeong YunWon 2023-05-20 15:45:54 +09:00
  • e6e77cf6d5 num_bigint to malachite_bigint Kangzhi Shi 2023-05-10 21:50:49 +02:00
  • 5e9e8a7589
    Linear Locator (#46) Jeong, YunWon 2023-06-01 13:53:31 +09:00
  • 544bca5f1e Linear Locator Jeong YunWon 2023-05-17 01:35:05 +09:00
  • fdec727f80
    New Arguments and Arg/ArgWithDefault AST representation (#59) Jeong, YunWon 2023-06-01 01:15:23 +09:00
  • 23020027d1 keep original Arguments as PythonArguments Jeong YunWon 2023-05-24 22:30:10 +09:00
  • b4d0eafd3e FunctionArguments and ArgWithDefault as raw AST representation Jeong YunWon 2023-05-19 00:12:31 +09:00
  • 3fbf4f6804
    Parse for expr and stmt variants + identifier, constant (#78) Jeong, YunWon 2023-05-31 20:03:46 +09:00
  • 0b40db0735 Parse for expr and stmt variants + identifier, constant Jeong YunWon 2023-05-31 19:43:42 +09:00
  • 7a3eedbf6f
    Merge branch 'RustPython:main' into main Micha Reiser 2023-05-25 12:28:15 +02:00
  • fe25708d89
    Merge pull request #76 from astral-sh/match-case-end-location Micha Reiser 2023-05-31 09:48:42 +02:00
  • 342cd19f50
    Add safety comment Micha Reiser 2023-05-31 09:37:48 +02:00
  • 4a2c4aad0b
    Align MatchCase end location Micha Reiser 2023-05-30 17:27:15 +02:00
  • ae3a477c97
    Add parser deps to rustpython_ast_pyo3 (#75) Jeong, YunWon 2023-05-29 16:48:05 +09:00
  • 620af083ae Add parser deps to rustpython_ast_pyo3 Jeong YunWon 2023-05-29 16:07:36 +09:00
  • 531aeb3511
    Cmpop::as_str (#72) Jeong, YunWon 2023-05-29 01:53:54 +09:00
  • 209dba1eb6 Cmpop::as_str Jeong YunWon 2023-05-29 01:20:13 +09:00
  • 6bf6b29b4d clean up pyo3 generation Jeong YunWon 2023-05-29 01:42:33 +09:00
  • 4de0cb1827
    Parse Trait (#71) Jeong, YunWon 2023-05-28 21:03:27 +09:00
  • 9a4d586d1e Parse Trait Jeong YunWon 2023-05-28 20:45:21 +09:00
  • 5493c9f4e3
    Avoid removing elements from the beginning of a vec (#69) Micha Reiser 2023-05-25 12:44:49 +02:00
  • 93ed36787d
    Avoid removing elements from the beginning of a vec Micha Reiser 2023-05-25 12:23:06 +02:00
  • d23611db65
    Merge pull request #65 from youknowone/refactor-pyo3 Jeong, YunWon 2023-05-23 03:03:01 +09:00
  • 7d384d88d0 Separate rustpython_ast_pyo3 Jeong YunWon 2023-05-23 02:24:03 +09:00
  • b81273e9bc to_pyo3_ast to return &'py Jeong YunWon 2023-05-22 23:55:39 +09:00
  • 335780aeea
    Merge pull request #2 from astral-sh/include-decorators-in-class-and-func-range Micha Reiser 2023-05-22 13:46:38 +02:00
  • e1f02fced7
    Fix Vec::to_pyo3_ast (#63) Jeong, YunWon 2023-05-22 15:15:05 +09:00
  • 96199ccb76 Fix Vec::to_pyo3_ast Jeong YunWon 2023-05-22 15:05:14 +09:00
  • d4084fb17a
    impl From<T> for ast::Ast (#62) Jeong, YunWon 2023-05-21 22:44:07 +09:00
  • 58db5ed2a0 impl From<T> for ast::Ast Jeong YunWon 2023-05-21 22:34:01 +09:00
  • a9206830a9 Fix bump malachite-bigint to 0.1.8 fix bug malachite-bigint Kangzhi Shi 2023-05-20 16:28:00 +02:00
  • 039eb5acc5 Fix malachite-bigint rev for test Jeong YunWon 2023-05-20 16:15:43 +09:00
  • 4119a9084b Add pyo3 support: Jeong YunWon 2023-05-20 15:45:54 +09:00
  • 6b90a006a1 num_bigint to malachite_bigint Kangzhi Shi 2023-05-10 21:50:49 +02:00
  • 41a0ef8740
    Add test Micha Reiser 2023-05-19 10:06:31 +02:00
  • 25cc1da319
    Include decorators in Class and FunctionDef range Micha Reiser 2023-05-17 10:16:58 +02:00
  • 33a3c407a9
    Merge pull request #60 from astral-sh/reduce-copy Micha Reiser 2023-05-19 08:16:28 +02:00
  • fac0c25343
    Update python.rs Micha Reiser 2023-05-19 08:08:35 +02:00
  • 4ff779c298
    Update parser/src/python.lalrpop Micha Reiser 2023-05-18 22:32:05 +02:00
  • 726884b287
    Avoid allocating vecs for each statement Micha Reiser 2023-05-18 21:37:36 +02:00
  • 851f23668f
    Use named parameters to reducue copying Micha Reiser 2023-05-17 14:23:41 +02:00
  • 3654cf0bdf
    Add Ast as top level enum (#58) Jeong, YunWon 2023-05-19 01:53:39 +09:00
  • 099543a20d Add Ast as top level enum Jeong YunWon 2023-05-18 23:03:22 +09:00
  • 6c5c311bab
    Fix range field order (#56) Jeong, YunWon 2023-05-18 21:44:01 +09:00
  • 54607fdc1f Fix unused variable Jeong YunWon 2023-05-18 20:47:02 +09:00
  • 957eaa5a19 Fix range field order Jeong YunWon 2023-05-18 20:19:54 +09:00
  • 6a85b99240 Skip validate_arguments when empty Jeong YunWon 2023-05-18 20:09:57 +09:00
  • 531e41ae2c
    Upgrade bitflags to remove clippy wanrings (#54) Jeong, YunWon 2023-05-18 01:50:00 +09:00
  • 7457f871b2 Fix python lint warnings Jeong YunWon 2023-05-18 00:27:18 +09:00
  • 6e26d995f3 Upgrade bitflags to remove clippy wanrings Jeong YunWon 2023-05-18 00:17:24 +09:00
  • b48834fe2d
    More flexible map_user and fold for new constructor nodes (#53) Jeong, YunWon 2023-05-18 00:16:04 +09:00
  • 417298a712 Fold for new constructor nodes Jeong YunWon 2023-05-17 23:42:57 +09:00
  • 349e81d3d0 Split user_map steps Jeong YunWon 2023-05-17 01:34:07 +09:00
  • 9f834b4be1 make fold.rs file Jeong YunWon 2023-05-17 00:04:27 +09:00
  • 205ee80033
    README (#47) Jeong, YunWon 2023-05-17 18:01:00 +09:00
  • 0751ed786e
    Include decorators in Class and FunctionDef range Micha Reiser 2023-05-17 10:16:58 +02:00
  • afefa78cef README Jeong YunWon 2023-05-17 05:50:19 +09:00
  • fc301ab1b0
    Fix build (#45) Jeong, YunWon 2023-05-16 23:54:49 +09:00
  • 5735b7026b Revert parser-pyo3 crate Jeong YunWon 2023-05-16 23:46:46 +09:00
  • 5995255fc9 remove dedent Jeong YunWon 2023-05-16 23:45:00 +09:00
  • e820928f11
    Add experimental pyo3-wrapper feature (#41) Jeong, YunWon 2023-05-16 23:45:31 +09:00
  • 2408498773 location support Jeong YunWon 2023-05-16 22:33:45 +09:00
  • d9b257f63c Add experimental pyo3-wrapper feature Jeong YunWon 2023-05-16 17:57:51 +09:00
  • 2e6e6c01e7 Fix pyo3 unit type value error Jeong YunWon 2023-05-16 18:57:23 +09:00
  • ff17f6e178
    Add utilities to enum (#44) Jeong, YunWon 2023-05-16 23:29:49 +09:00
  • da4046d3b1 Fix unexpected pyo3 dependency propagation Jeong YunWon 2023-05-16 23:15:26 +09:00
  • 2c9d66f9f7 Add utilities to enum Jeong YunWon 2023-05-16 23:06:17 +09:00
  • 3bdf8a940a Hash for ConversionFlag Jeong YunWon 2023-05-16 22:55:53 +09:00
  • 9d47d3d212
    specialize ConversionFlag (#42) Jeong, YunWon 2023-05-16 22:52:50 +09:00
  • 792a5ae339 is_* methods to ConversionFlag Jeong YunWon 2023-05-16 22:40:30 +09:00
  • 3a8ca5ee3e Change value of ConversionFlag to i8 and None to -1 Jeong YunWon 2023-05-16 21:58:13 +09:00
  • e8391ee175 specialize ConversionFlag Jeong YunWon 2023-05-16 21:56:10 +09:00
  • 611dcc2e9b
    rustpython_ast + pyo3 (#25) Jeong, YunWon 2023-05-16 18:06:54 +09:00
  • d4a9db1c3c rustpython_ast + pyo3 Jeong YunWon 2023-05-16 16:09:03 +09:00
  • 53de75efc3
    Add all node classes to ast module (#40) Jeong, YunWon 2023-05-16 16:55:26 +09:00
  • b0c7777672 Add all node classes to ast module Jeong YunWon 2023-05-16 15:51:17 +09:00
  • 0c7d16b61a
    Add is_* methods to Tok (#39) Jeong, YunWon 2023-05-16 16:08:25 +09:00
  • cdfd5e0e02 Add is_* methods to Tok Jeong YunWon 2023-05-16 15:44:34 +09:00