Commit Graph

243 Commits

Author SHA1 Message Date
Jeong YunWon 904fc477f1 integrate ast::Location into compilre-core::Location 2022-08-22 08:42:20 +09:00
Jeong YunWon bfac0355dc Share location between compiler crates 2022-08-22 08:42:20 +09:00
Jeong YunWon c16e650071 rustpython-bytecode -> rustpython-compiler-core 2022-08-22 08:42:20 +09:00
Jeong YunWon acde8bb625 sort Cargo.toml dependencies 2022-08-22 08:42:20 +09:00
Jeong YunWon 7f99404618 clean up cargo.toml sort 2022-08-22 08:42:20 +09:00
Jeong YunWon 3742f9117b Add source_path to ParseError 2022-08-22 08:42:20 +09:00
Jeong YunWon a66902406f Refactor Mode and partial parser/codegen for eval/exec 2022-08-22 08:42:20 +09:00
Charles Marsh 51b6571ee1 Fix f-string regression 2022-08-21 19:20:23 -04:00
Charles Marsh 2345bc895d Avoid creating unused JoinedStr in FStringParser 2022-08-21 16:59:36 -04:00
Jeong YunWon 53c48bf6b9 reorganize compiler crates 2022-08-22 04:42:42 +09:00
Jeong YunWon ffacac05bb Clean up imports 2022-08-22 03:42:29 +09:00
Jeong YunWon 3bae0823f7 replace try_parse!() macro to closure 2022-08-12 08:35:34 +09:00
Jeong Yunwon 29644a30d7 Add compile::Mode::BlockExpr 2022-05-27 10:14:13 +09:00
Jeong Yunwon 07712eda58 Upgrade libraries 2022-04-18 00:09:22 +09:00
Noa 76728bb69d Run cargo upgrade 2021-10-30 19:42:35 -05:00
Noa 721c2709c8 Migrate to 2021 edition 2021-10-21 11:46:24 -05:00
Noa 7865cace06 Add unparse feature to ast 2021-10-17 21:55:27 -05:00
Noah a9330765fa Add an ast optimizer 2021-04-05 09:46:30 -05:00
Noah 9941eef853 Upgrade dependencies 2021-03-25 08:06:56 -05:00
Noah e494175cd2 Update the compiler to use the new asdl ast types 2021-01-14 12:37:37 -06:00
Noah dd7560c494 Implement asdl in the ast and parser 2021-01-14 12:37:37 -06:00
Noah 6603b4a124 Use ahash/phf in parser 2021-01-08 17:09:09 -06:00
Noah dab7e20a33 Use ahash in the compiler 2021-01-08 17:00:23 -06:00
Noah 13f3ec5b2b Update other stuff to use the root of rustpython_bytecode 2020-12-19 14:59:07 -06:00
Noah 452cd308d5 Optimize the size of Instruction 2020-12-14 14:25:19 -06:00
Noah 3c469eaa26 compiler/porcelain wrapper 2020-11-07 15:43:23 -06:00
Noah 0c5bf8e470 Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Noah 3f52fdd50a Use disassembly for snapshot testing 2020-10-19 23:55:56 -05:00
Noah f0c0897f23 Update compiler to output codeobj.constants, use insta for snapshot testing 2020-10-19 23:55:55 -05:00
Jeong YunWon a35d4dc22a clean up PyComplex 2020-08-09 21:46:16 +09:00
Noah 5fe1bd3900 Update itertools 2020-07-26 15:21:39 -05:00
Noah 3737af157f Release 0.1.2
rustpython@0.1.2
rustpython-bytecode@0.1.2
rustpython-compiler@0.1.2
rustpython-derive@0.1.2
rustpython-parser@0.1.2
rustpython-vm@0.1.2
rustpython_freeze@0.1.2
rustpython_wasm@0.1.2

Generated by cargo-workspaces
2020-06-23 18:47:08 -05:00
Chris West (Faux) ed01cd63ee upgrade low-risk deps 2019-10-10 21:07:26 +01:00
Seo Sanghyeon 1dd57971a9 Optimize BuildMap bytecode emission 2019-10-03 00:03:08 +09:00
Noah d1ae5a7448 Bump crate versions 2019-09-25 11:57:38 -05:00
coolreader18 e89d6febea Make peephole optimizer a stream processor 2019-08-03 22:02:29 -05:00
Windel Bouwman 4dcad05aa0 Extend symtable module. 2019-07-19 22:05:35 +02:00
Windel Bouwman b0d270b881 Set all versions to 0.1.0 2019-07-07 13:04:12 +02:00
Windel Bouwman e3ccef2504 Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman dcdd964e0c Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman 107442cc06 Make bytecode crate independent of parser crate. 2019-06-30 11:42:36 +02:00
Windel Bouwman 10957879db Move bytecode into own crate. 2019-06-30 11:01:40 +02:00
coolreader18 f0148f46d0 Split off bytecode compilation into a separate crate 2019-06-12 21:43:43 -05:00