Commit Graph
18 Commits
Author SHA1 Message Date
Windel Bouwman 2517207175 Make subscript its own bytecode. Remove pass bytecode. Move complex bytecodes into seperate functions to reduce complexity of dispatch function. 2019-08-28 12:06:46 +02:00
Noah c52328608e Make bytecode::Label its own struct 2019-08-27 21:19:18 +00:00
Windel Bouwman 2ca6e5d399 Implement execution of finally block. Fixes #1306. 2019-08-27 21:16:59 +02:00
Windel Bouwman 86fc18ec6c Refactor block stack unwinding to enable finally execution. 2019-08-27 19:40:00 +02:00
Windel Bouwman eb3771ebff Add Free enum variant to the symbol scope to be able to distuingish between true local and free variables. 2019-08-18 12:12:27 +02:00
coolreader18 fe84f25fad Fix weirdness with import submodules 2019-08-15 15:30:14 -05:00
coolreader18 e67fc38c7e Add CodeObject::display_expand_codeobjects 2019-08-13 12:35:08 -05:00
Windel Bouwman 36d8147e8e Improve the situation regarding boolean operations. 2019-08-11 20:20:15 +02:00
coolreader18 772460ea7f Add tuple unpacking optimization 2019-08-04 01:22:51 -05:00
coolreader18 a72ef1e365 Add frozen package support 2019-07-27 14:27:29 -05:00
Windel Bouwman ce1523c142 Fix panic on import statement with levels but no module name. 2019-07-19 17:31:57 +02:00
Windel Bouwman 0741c36bb8 Simplify import AST in line with CPython. 2019-07-15 21:00:28 +02:00
coolreader18 0893076643 Add #![doc(html_logo_url = ...)] to crates 2019-07-08 23:57:18 -05:00
Windel Bouwman f816a50110 Change get_row() into row() 2019-06-30 20:23:01 +02:00
Windel Bouwman e40c844be7 Make bytecode crate independent of parser crate. 2019-06-30 11:42:36 +02:00
Windel Bouwman 183415e64b Move bytecode into own crate. 2019-06-30 11:01:40 +02:00
Windel Bouwman 8470254f07 Move last compiler / vm pieces out of parser crate 2018-07-07 17:44:30 +02:00
Windel Bouwman 377795dbec Shuffle files in proper places 2018-07-07 17:14:45 +02:00