Commit Graph

  • a3b577e239 Add one actual and three skipped thread tests to the test suite K. Lange 2021-02-11 15:31:37 +0900
  • 6037665eb9 Add a flag to the main binary to compile but not run code K. Lange 2021-02-11 15:30:51 +0900
  • 556b0ab465 Make sure upvalues reference their owning thread's stack so we can use them in threads K. Lange 2021-02-11 14:42:06 +0900
  • 10aa2de306 Add Lock objects for access to simple mutexes using 'with' K. Lange 2021-02-11 14:41:44 +0900
  • d2b2fe3fb9 Request POSIX-style argument parsing in getopt for interpreter K. Lange 2021-02-11 14:31:05 +0900
  • cf57724952 Escape and truncate strings when printing them in debug functions K. Lange 2021-02-11 13:50:44 +0900
  • f09723628e Slapping locks on tables isn't working as expected; drop it for now, revisit later K Lange 2021-02-11 05:27:43 +0900
  • 8b53ac09b7 Our tuple packing is pretty slow, but some shifts and ors are pretty good K Lange 2021-02-11 05:27:06 +0900
  • 4233234406 Quick little demo of threads fighting over a dict (and still working) K. Lange 2021-02-10 19:06:25 +0900
  • 09ce6c46a9 Wrap table accesses in locks, should be good for dicts, field assignments? K. Lange 2021-02-10 18:19:10 +0900
  • f9cfa4e622 Fix up binpath discovery which was totally broken K. Lange 2021-02-10 14:44:59 +0900
  • dce6c4b79e Reduce the size of KrkThreadState so we can squeeze into static TLS storage on dlopen K. Lange 2021-02-10 12:41:50 +0900
  • 43d1e86a2a Wrap some things in readers-writer locks and now more stuff doesn't break K. Lange 2021-02-10 10:20:56 +0900
  • 345b021936 Eliminate forced uses of GC pausing and fix up some more thread stuff; still need locks on collections K. Lange 2021-02-09 23:13:45 +0900
  • bd5619b32d Add support for size argument in File.read() K. Lange 2021-02-09 22:09:12 +0900
  • 854a12f68b Fix up some threading gc stuff before diving into real debugging K. Lange 2021-02-09 21:34:02 +0900
  • fe9af7c274 cmd.exe actually does work with the Windows build K. Lange 2021-02-09 19:11:35 +0900
  • 6f95124bcd Threading K. Lange 2021-02-09 18:51:09 +0900
  • f2747a07e4 Add more things to os module K. Lange 2021-02-09 11:14:11 +0900
  • a51619cb0d Cleanup os module K. Lange 2021-02-09 11:00:45 +0900
  • 57b810db69 Add some (dumb) character classification methods for strings K. Lange 2021-02-09 09:41:13 +0900
  • 20676f790e bump libc for deb to 2.29 K. Lange 2021-02-09 09:15:22 +0900
  • af9a4622f8 That seems correct? K. Lange 2021-02-08 18:28:51 +0900
  • ff38f7cc61 Uh, that's not quite what Python is doing, but... K. Lange 2021-02-08 18:17:14 +0900
  • d550c1be6b I need to get rid of this README-reading test... K. Lange 2021-02-08 17:38:11 +0900
  • 8d14b24218 Rephrase some things in README K. Lange 2021-02-08 17:36:18 +0900
  • b3b56c8e44 Clean up Makefile and add install target K. Lange 2021-02-08 17:36:03 +0900
  • 5b3a7e870b __delslice__, __setslice__ K. Lange 2021-02-08 09:36:46 +0900
  • f5d9a6b806 sets do not have stable ordering, so stop trying to print them in tests K. Lange 2021-02-08 09:36:30 +0900
  • e4df06c85f Report better size numbers for lists, dicts, C types K. Lange 2021-02-08 08:52:17 +0900
  • 9fe1e92c45 drop support for kuroko.set_tracing(str); only support kwargs version K. Lange 2021-02-08 08:48:37 +0900
  • 3b10257bf5 More dict methods K. Lange 2021-02-07 10:49:38 +0900
  • 2e9ba3efa1 Forgot the header updates... K. Lange 2021-02-06 21:41:28 +0900
  • 421d5ea000 Cleanup fileio module with new macros K. Lange 2021-02-06 21:39:23 +0900
  • 47329df343 Don't use garbage-collection-triggering array resizing K. Lange 2021-02-06 11:26:08 +0900
  • c5e5980265 More str methods K. Lange 2021-02-06 06:53:44 +0900
  • c79dfca79d Quick mingw build fixes K Lange 2021-02-05 22:10:10 +0900
  • c732089a43 Add a method to fileio to read directories K. Lange 2021-02-05 21:06:04 +0900
  • e7a8d0b8e5 Attach code object for class to the resulting class object K. Lange 2021-02-05 20:33:44 +0900
  • f4216ed3a1 Implement set literals, comprehensions K. Lange 2021-02-05 20:23:28 +0900
  • 19e5beba05 Implement class decorators and move class definitions into pseudo-functions K. Lange 2021-02-05 19:54:46 +0900
  • 930b599e82 Expose basic operators and add more builtins, list functions K. Lange 2021-02-05 19:05:08 +0900
  • 4d05ca218c Fix push ordering in attachNamed{Object,Value} K. Lange 2021-02-05 17:54:55 +0900
  • e9e86577bd Fix unbalanced stack in new Helper/LicenseReader K. Lange 2021-02-05 17:54:40 +0900
  • 4ea5086541 Start labeling this as 1.1.0 K. Lange 2021-02-05 17:29:00 +0900
  • b3a577294f Final cleanups K. Lange 2021-02-05 17:28:36 +0900
  • 90b219cdce Eliminate builtins.krk K. Lange 2021-02-05 17:21:57 +0900
  • 689cee075e C-ify set(), mostly the same as it was originally written K. Lange 2021-02-05 16:09:29 +0900
  • 523dbc1371 Port list and dict, and their iterators, to use new utility macros K. Lange 2021-02-05 14:58:08 +0900
  • 5c14efa085 Clean up some string functions K. Lange 2021-02-04 19:22:23 +0900
  • edc3017bcd Break out (most) object implementations into their own files K. Lange 2021-02-04 09:04:56 +0900
  • 7129a3ac7d Fix handling of error tokens from within f-strings K. Lange 2021-02-01 21:28:58 +0900
  • 0b6b6468a6 Prune actual file paths from test/testPackageImports.krk K. Lange 2021-01-31 11:13:21 +0900
  • 8388e53235 Improve build support and prep a 1.0.1 bugfix v1.0.1 K. Lange 2021-01-31 11:00:01 +0900
  • 67460145fa Add a test for everything we fix... K. Lange 2021-01-31 09:57:15 +0900
  • df25225c64 And we found our first post-release bug: Fix tupleiterator.__init__ K. Lange 2021-01-31 09:20:51 +0900
  • 4eceb98ffe v1.0.0 v1.0.0 K. Lange 2021-01-30 21:42:36 +0900
  • 0562b8b071 list.insert must use memmove, not memcpy K. Lange 2021-01-29 16:44:36 +0900
  • ed4a89ec42 Quick fix for REPLs so empty statements return None instead of '__file__' K. Lange 2021-01-29 10:37:57 +0900
  • 135bf80196 Call this 1.0.0-rc1 v1.0.0-rc1 K. Lange 2021-01-26 08:19:54 +0900
  • a254304f40 Move set_tracing to kuroko module K. Lange 2021-01-26 08:11:34 +0900
  • a39347d829 argc should not include the kwargs dict in native function calls K. Lange 2021-01-26 08:11:18 +0900
  • 662e033bd4 Keep first error on compiler failure K. Lange 2021-01-25 19:39:16 +0900
  • 6e307a38f7 I seriously don't know why I had to do this. K. Lange 2021-01-24 19:34:59 +0900
  • d6c891d245 Support -c argument to interpreter K. Lange 2021-01-24 16:27:49 +0900
  • 00a1189309 Support initializing a list from an iterator or sequence K. Lange 2021-01-24 16:10:12 +0900
  • f55d5c486e Fixup setenv/unsetenv? K. Lange 2021-01-24 15:16:05 +0900
  • 75ed11abea Highlight builtin exception type names K. Lange 2021-01-24 12:54:32 +0900
  • 50e4902170 Hacky implementation of @staticmethod, @property, mb even @classmethod K. Lange 2021-01-23 19:30:07 +0900
  • 824cbc59eb And update the test changed from that... K. Lange 2021-01-23 13:34:09 +0900
  • 3e90615021 Also more built-in functions K. Lange 2021-01-23 08:40:36 +0900
  • 9c15ac6638 Add missing keywords to highlighter K. Lange 2021-01-23 08:39:02 +0900
  • 0ae793d519 More base class type checks, are we getting slow because of this? K. Lange 2021-01-23 08:21:48 +0900
  • 3bb729705f Add more quick type checks to some base class methods K. Lange 2021-01-23 08:10:01 +0900
  • 6cd6ed950e Try to catch corrupt File objects K. Lange 2021-01-23 07:39:45 +0900
  • 1d0f589fc3 Start filling out more of the 'os' module K. Lange 2021-01-22 22:02:24 +0900
  • a6bc94a046 Add dict.__or__ for basic merge operation (some missing edge cases around subclasses) K. Lange 2021-01-22 21:31:33 +0900
  • a02a989ff2 Add os.system() K. Lange 2021-01-22 21:16:03 +0900
  • 4bf326ea1d Add os.environ.__set__ K Lange 2021-01-22 21:04:48 +0900
  • 036368557b Applications may set vm.binpath before call krk_initVM to supply an executable path. K Lange 2021-01-22 20:49:41 +0900
  • 935ad8096d Finish C-ifying dicts K. Lange 2021-01-22 19:38:18 +0900
  • ad29dadf68 C-ify any, all K. Lange 2021-01-22 19:11:52 +0900
  • c44d24fb66 Make krk_runtimeError return None so we can simplify a common usecase K. Lange 2021-01-22 16:10:58 +0900
  • 57cb1c61bc Start implementing some better argument/type checking K. Lange 2021-01-22 15:45:23 +0900
  • e510deaf7f Get rid of KrkInstance->_internal and just let C stuff extend KrkInstance K. Lange 2021-01-22 15:03:57 +0900
  • 26480a5e1c Only run one script, other args are arguments after all. K. Lange 2021-01-22 11:10:52 +0900
  • 460d1c39b9 Fix bad multiline handling in syntax.highlighter K. Lange 2021-01-22 11:10:03 +0900
  • 8ec3cfe07d Optimizations for f-strings K. Lange 2021-01-22 08:38:36 +0900
  • 195bd33a19 Fix issue with f-strings with multiple format blocks K. Lange 2021-01-22 08:25:20 +0900
  • d4b8ed6747 Try to fix some stuff on Windows K Lange 2021-01-21 23:16:14 +0900
  • 8ae251af52 Provide kuroko.executable_path and use it to set kuroko.module_path on Windows K Lange 2021-01-21 22:51:11 +0900
  • 0093b92fc9 list.insert() K Lange 2021-01-21 22:50:54 +0900
  • a69ee8efca oops, we accidentally commented out the rline-less fgets call K. Lange 2021-01-21 21:24:35 +0900
  • 070a11b461 Makefile changes from building for macos K. Lange 2021-01-21 21:07:38 +0900
  • 9737c713ca Add a more direct replacement for krk_typeOf to call natively K. Lange 2021-01-21 20:50:01 +0900
  • c0ef3a0917 Do that thing Python does when repr'ing strings where it picks between single and double quote K. Lange 2021-01-21 18:52:53 +0900
  • f1811fe23c Fixup Makefile after relocating files K. Lange 2021-01-21 18:45:16 +0900
  • f1387f9a74 Try to clean up internal doc-related things K. Lange 2021-01-21 18:40:54 +0900
  • deea801fe4 Minor stuff tripping up static analyzers K. Lange 2021-01-21 16:57:01 +0900
  • b872410b95 Add support for comma-separated imports K. Lange 2021-01-21 11:09:20 +0900