Commit Graph

45 Commits

Author SHA1 Message Date
Michael Hansen
cbbffd28e6 Modernize ASTNode.h 2019-10-08 13:34:15 -07:00
Michael Hansen
8713b3b05f Merge 'pass' node into existing ASTKeyword node type 2019-10-08 13:12:31 -07:00
Michael Hansen
9309effba9 Support Python 3.x kw-only arguments. 2019-10-08 11:36:12 -07:00
Michael Hansen
b5696c8398 Port Python 2.7 list comprehension fixes by @ReDucTor from #78 2019-10-04 16:35:58 -07:00
Michael Hansen
2e93d29233 Don't write parens around for loop value tuples 2019-10-04 14:08:47 -07:00
Michael Hansen
8d3752b4f0 Start requring C++11 with explicit virtual overrides. 2019-10-02 14:41:49 -07:00
Michael Hansen
b9dd99d518 Don't create special objects for NULL, just use NULL directly.
Also move null check into PycRef for nullable references.
2017-07-05 16:36:04 -07:00
Michael Hansen
888882c743 Help convince clang that 'this' can be NULL in some cases. Closes #65 2015-10-02 23:00:07 -07:00
Michael Hansen
badd17bd21 Support @ operator 2015-10-01 17:03:41 -07:00
mancoast
58edafd872 Add support for LOAD_BUILD_CLASS op-code
Issue #39
2015-04-20 17:38:36 -04:00
Kunal Parmar
cc9bdfa085 Support for with statement. 2012-06-06 22:02:33 -07:00
Michael Hansen
c474d368a1 Use less conflicting filenames 2011-10-23 17:48:10 -07:00
Darryl Pogue
cce5f3cf34 Fix for pickle.pyc from Python 2.2.
This feels like the hackiest fix EVER.
2011-10-10 21:22:02 -07:00
Darryl Pogue
e2cf440736 List comprehension support. 2011-10-10 15:57:20 -07:00
Darryl Pogue
7701f221e8 Function varargs and keywordargs. 2011-10-09 22:38:18 -07:00
Darryl Pogue
2df831176e Fixes for obscure loop conditions. 2011-10-09 15:43:24 -07:00
Darryl Pogue
ff8bb4844b Fix except/else and generic except statements. 2011-10-02 18:58:38 -07:00
Darryl Pogue
70160f8a28 Basic handling of try/except/finally blocks. 2011-10-01 19:40:34 -07:00
Darryl Pogue
ac4d254a73 Remove old attempts at try handling. 2011-10-01 19:09:59 -07:00
Darryl Pogue
1e249b42fd Fix importing modules with aliases.
aka - from blah import foo as bar
2011-09-20 22:36:15 -07:00
Darryl Pogue
51ca98d766 Support for the yield statement. 2011-09-18 22:31:09 -07:00
Darryl Pogue
84b8cba005 Correct output for in-place operators. 2011-09-18 12:06:29 -07:00
Darryl Pogue
521490c819 Support for printing to a stream (PRINT_*_TO). 2011-09-18 00:35:28 -07:00
Darryl Pogue
13a7c0d6c8 Added exec statement 2011-01-10 13:15:56 -08:00
Darryl Pogue
43640fcbd6 Added sequence unpacking 2011-01-08 16:19:38 -08:00
Darryl Pogue
3be27b5c96 Add slices and prepare for more try/except stuff. 2011-01-04 13:52:15 -08:00
Darryl Pogue
9924eb9d0d Work on try/except/finally statements.
The last time I tried this the monkey didn't survive. Let's hope it works better this time.
2011-01-02 05:13:46 -08:00
Darryl Pogue
eebd941e61 More clean ups for if statements. 2011-01-02 02:51:23 -08:00
Darryl Pogue
f1205548e5 Add raise, break, continue, and a hacky attempt at for loops.
for loops currently generate a core dump.
2011-01-01 02:31:31 -08:00
Darryl Pogue
b25baeaf4f Try to clean up the FastStack issues. 2010-12-30 16:48:59 -08:00
Darryl Pogue
bc0b93c632 Clean up the ASTree code a bit 2010-12-24 23:34:05 -08:00
Darryl Pogue
345544d7da if/elif/else statements using ASTBlocks 2010-12-24 20:25:55 -08:00
Darryl Pogue
427e05be12 Messy start to try/except/finally blocks 2010-12-21 23:41:56 -08:00
Darryl Pogue
6d0fbcf522 Add basic node type for blocks 2010-12-20 22:58:44 -08:00
Darryl Pogue
90bfaad7d0 Fixed imports, and restructured ifs to be "code blocks" 2010-09-07 21:32:34 -07:00
Darryl Pogue
814475960e Merge with Zrax's fancy magic mapping stuff :D 2010-09-04 23:53:38 -07:00
Darryl Pogue
6fb01bbbf6 Much better handling of if/else statements. 2010-09-04 23:51:22 -07:00
Michael Hansen
ea615df200 Remove subscript binary op fragments since this had a dedicated node type 2010-09-03 21:56:29 -07:00
Darryl Pogue
6f67603858 Oh, I fail so much >.< Make it compile. 2010-08-31 23:22:26 -07:00
Darryl Pogue
49c15b324c Updates to make progress. Progress is good. 2010-08-31 23:17:38 -07:00
Michael Hansen
7bb356d00a Improved output formatting, and added more instruction support 2009-08-03 23:13:50 +00:00
Michael Hansen
17f962e9f1 Various formatting fixes and more code support 2009-07-27 08:42:59 +00:00
Michael Hansen
835b391979 Decompyles classes and imports 2009-07-27 03:00:55 +00:00
Michael Hansen
03042b7e23 Decoding simple files with functions and assignments is now possible 2009-07-27 00:23:49 +00:00
Michael Hansen
b89ae8b2ac A little bit of code support now 2009-07-26 10:07:13 +00:00