Commit Graph

697 Commits

Author SHA1 Message Date
K. Lange
a63aef6b92 Try to make builds smaller
... by:
    - Normalizing some exception strings.
    - Putting the 'dis' module behind -DDEBUG.
2021-03-22 18:09:25 +09:00
K. Lange
6746ccf001 Add docstrings to socket module 2021-03-22 12:49:31 +09:00
K. Lange
c905809197 macos doesn't even have objcopy? meh 2021-03-22 12:38:28 +09:00
K Lange
a13fb0a837 Remove srv/vendor/*.o on clean 2021-03-22 10:17:09 +09:00
K. Lange
bdf1e9b492 Fix docs build for headers 2021-03-22 10:02:48 +09:00
K. Lange
a0ad38e225 Header reorg I've been meaning to do for a while 2021-03-22 09:22:39 +09:00
K. Lange
f8de1b47af Cleanup 2021-03-22 09:06:25 +09:00
K Lange
8c1ebe531a socket.connect(), general win32 support 2021-03-21 22:27:32 +09:00
K. Lange
492d85a2d6 WIP socket module 2021-03-21 21:45:51 +09:00
K. Lange
d750b9600c More convenience macros 2021-03-21 21:45:39 +09:00
K. Lange
d477b0dacb Add parenthesis matching to rline 2021-03-21 18:01:07 +09:00
K. Lange
4c7d5ba2a3 Fix a bad stack offset in generator calls on exception 2021-03-21 17:18:45 +09:00
K Lange
c68eb093e8 Fix broken stack handling in and make map,enumerate,filter object inits 2021-03-21 16:47:13 +09:00
K. Lange
3b8c521776 Correct some uses of OP_EQUAL where OP_IS would be better 2021-03-21 13:28:54 +09:00
K. Lange
13a7199840 Fully replace non-pop conditional jumps with popping versions 2021-03-21 13:02:50 +09:00
K. Lange
a25315de92 Implement chained comparison operators 2021-03-21 12:41:54 +09:00
K. Lange
d0ea1278a6 ... and update test 2021-03-21 11:31:07 +09:00
K. Lange
b1b4ad3718 Fix heading link for Python Compatibility 2021-03-21 11:30:09 +09:00
K Lange
63f4ae8d9b Retool the sandbox to disable modules and re-enable print 2021-03-20 22:51:22 +09:00
K. Lange
658eeb6afd Separate debug symbols from libkuroko.so by default 2021-03-20 21:23:05 +09:00
K Lange
01a124054d Update bytecode marshaller 2021-03-20 20:04:10 +09:00
K. Lange
1a569e36f6 README changed, update the test 2021-03-20 16:09:48 +09:00
K Lange
982554d1d7
New README 2021-03-20 16:07:36 +09:00
K. Lange
cb809dd0fe 'yield' as an expression with a value; 'yield from' 2021-03-20 12:07:46 +09:00
K. Lange
083a1a2e79 Add octal escapes to bytestrings 2021-03-20 10:12:18 +09:00
K. Lange
5b30c76e92 Add octal string escapes 2021-03-20 10:09:20 +09:00
K. Lange
23839cde76 Add a Make flag for KRK_NO_DOCUMENTATION 2021-03-20 09:29:32 +09:00
K. Lange
4b5b81aab4 l.extend(l) needs to make copy 2021-03-19 13:25:53 +09:00
K. Lange
2d3e7ca3d3 Fix bad pop on bare except-finally 2021-03-19 11:39:49 +09:00
K. Lange
dec38c410c Workaround TLS issues in ToaruOS 2021-03-19 11:24:19 +09:00
K. Lange
2486bd1725 enumerate() was leaving stack in bad state 2021-03-19 09:25:17 +09:00
K. Lange
46dada92fc Support multiple context managers in a 'with' statement 2021-03-18 21:25:19 +09:00
K. Lange
ee731257dd Support calling exit handlers for with: statements on exception 2021-03-18 20:41:11 +09:00
K. Lange
8aed1368ea Implement 'finally' 2021-03-18 19:52:30 +09:00
K. Lange
baad0997fb Cleanups for docs, stripped builds 2021-03-18 14:59:26 +09:00
K. Lange
30ef65355c Doxygen cleanups 2021-03-18 14:29:27 +09:00
K. Lange
2de2d6ba6e Fix ordering of assignments for codeobjects to resolve gc issue 2021-03-17 15:26:34 +09:00
K. Lange
d36dc3cae3 Simplify Pair iterator in gendoc 2021-03-17 08:07:16 +09:00
K. Lange
14af8bb8f3 call() on generator must return 2 to yield to callSimple 2021-03-17 08:06:50 +09:00
K Lange
3123a3eb40 Change a couple of recurse parses to accept assignments or tuples 2021-03-16 21:12:08 +09:00
K. Lange
6c29be4dcf Fix up multiple assignment targets so we have some hope of nesting 2021-03-16 19:28:00 +09:00
K. Lange
d0a29f49e9 Do safe tuple printing in a more normal-looking format 2021-03-16 19:11:45 +09:00
K. Lange
5c63d667f4 Catch continue/break outside of loops 2021-03-16 18:40:33 +09:00
K. Lange
ec12bca5ed Prefix value and object tag enums 2021-03-16 07:04:27 +09:00
K. Lange
68fdcc0b69 Function -> CodeObject 2021-03-16 06:57:41 +09:00
K Lange
09a1573907 Give function objects attribute tables 2021-03-15 23:34:17 +09:00
K Lange
011b5a9925 Fix handling of trailing comma in target list 2021-03-15 23:34:17 +09:00
K Lange
5fa367dfbd Fix up some error handling with complex assignment targets 2021-03-15 23:03:13 +09:00
K Lange
708ba0a481 Fix up some weird stuff with parens 2021-03-13 23:37:09 +09:00
K. Lange
1ceaaec053 I guess expressions should start at CAN_ASSIGN 2021-03-13 20:31:13 +09:00