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 |
|
K. Lange
|
1229020078
|
Revert "Dedupe constants on compile"
This reverts commit b3c0d45bf4 .
|
2021-03-13 20:18:13 +09:00 |
|
K. Lange
|
b09f7b1131
|
Multiple arbitrary assignment
|
2021-03-13 20:17:45 +09:00 |
|
K. Lange
|
372b6c15b0
|
Use KRK_ macros in os.c
|
2021-03-13 16:06:34 +09:00 |
|
K. Lange
|
e09023ad5c
|
Make sure VM's main decoder loop takes KrkOpCode so we get warnings about missing ops
|
2021-03-13 16:04:13 +09:00 |
|
K Lange
|
b3c0d45bf4
|
Dedupe constants on compile
|
2021-03-13 14:53:47 +09:00 |
|
K Lange
|
3bd27cd847
|
Arrow operator for return types was missing from PARSE_RULES
|
2021-03-13 14:25:44 +09:00 |
|
K Lange
|
9ea28e77f1
|
Add class and module member annotations
|
2021-03-13 14:22:32 +09:00 |
|
K. Lange
|
b243aabc82
|
Add more docstrings to builtins
|
2021-03-12 20:17:53 +09:00 |
|
K. Lange
|
d147de2d7f
|
Let the scanner attempt to continue when unget() was called twice
|
2021-03-12 19:42:18 +09:00 |
|
K. Lange
|
d3a614869a
|
Fix leak in compiler when a truncated escape sequence is encountered
|
2021-03-12 19:42:02 +09:00 |
|
K. Lange
|
307f5e7200
|
Free source chars when string allocation failed due to invalid UTF-8 sequence
|
2021-03-12 19:41:32 +09:00 |
|
K. Lange
|
55e6752b8c
|
Free instances first on shutdown so we can be sure their classes are still around for gcsweep binds
|
2021-03-12 19:41:04 +09:00 |
|
K. Lange
|
a19c39e011
|
Be more thorough in freeVM
|
2021-03-12 19:40:29 +09:00 |
|
K. Lange
|
57b7f76244
|
Don't let garbage collection close stdin/out/err
|
2021-03-12 19:40:05 +09:00 |
|
K Lange
|
d23aed51b2
|
Eliminate global calls to listOf, dictOf with cleaner comprehensions
|
2021-03-12 15:40:07 +09:00 |
|