Commit Graph

  • 202a698a33 Update mat3x3.h blueloveTH 2023-05-11 18:40:30 +08:00
  • b4f5889d9c Merge branch 'main' of https://github.com/blueloveTH/pocketpy blueloveTH 2023-05-11 18:37:43 +08:00
  • d872ae7596 ... blueloveTH 2023-05-11 18:37:39 +08:00
  • 9203ce21cb
    Merge pull request #75 from koltenpearson/c_binding_api BLUELOVETH 2023-05-11 13:54:08 +08:00
  • df2f7bb58e ... blueloveTH 2023-05-10 20:29:49 +08:00
  • 3a07b05279 Update website.yml blueloveTH 2023-05-10 14:26:33 +08:00
  • c8b2387002 add some gc guard blueloveTH 2023-05-10 14:24:54 +08:00
  • 345215e17a ... blueloveTH 2023-05-10 13:40:25 +08:00
  • 6d3136ed89 ... blueloveTH 2023-05-10 13:27:28 +08:00
  • 101752c853 added check on to_type methods so that they will not cause a crash when the type is wrong Kolten Pearson 2023-05-09 20:52:02 -06:00
  • 5237bc1f25
    Merge pull request #74 from koltenpearson/c_binding_api BLUELOVETH 2023-05-10 10:07:37 +08:00
  • d6bd147f6f restored c binding test cleanup Kolten Pearson 2023-05-09 18:22:20 -06:00
  • ceab1e0609 added a pkpy_error method Kolten Pearson 2023-05-09 18:05:43 -06:00
  • 4bb29e8233 Update 40_class.py blueloveTH 2023-05-09 14:42:58 +08:00
  • b5e0ac7121 ... blueloveTH 2023-05-09 14:36:49 +08:00
  • 93ef42e1d0 fix #73 blueloveTH 2023-05-09 14:30:08 +08:00
  • 515321a0af ... blueloveTH 2023-05-09 14:23:28 +08:00
  • f397917ff5 ... blueloveTH 2023-05-09 14:05:05 +08:00
  • 13debcd722 ... blueloveTH 2023-05-09 14:03:01 +08:00
  • ae34a6304a gcc didn't like us catching the runtime_error Kolten Pearson 2023-05-08 20:45:59 -06:00
  • e2bf81d7f2 added a pkpy_vm_push method Kolten Pearson 2023-05-08 20:41:44 -06:00
  • dd2637fabc
    Update pocketpy.h BLUELOVETH 2023-05-08 17:29:22 +08:00
  • f134322987
    Update pocketpy.h BLUELOVETH 2023-05-08 17:28:47 +08:00
  • 387425230f
    Merge pull request #72 from koltenpearson/c_binding_api BLUELOVETH 2023-05-08 14:48:34 +08:00
  • 8abaebbf9f adjusted exceptions to be back to how they were before, implementation is brittle but functional for current use cases Kolten Pearson 2023-05-07 11:58:35 -06:00
  • d5e2dbd1fd ... blueloveTH 2023-05-07 20:59:57 +08:00
  • 9fb35f69ba ... blueloveTH 2023-05-07 20:50:51 +08:00
  • bed6325890
    Merge pull request #70 from koltenpearson/c_binding_api BLUELOVETH 2023-05-07 20:02:23 +08:00
  • 805a7ca01f a tiny change blueloveTH 2023-05-07 19:57:27 +08:00
  • 7de39b0cda switched to NameError for the type of error to use when a global can't be found Kolten Pearson 2023-05-06 19:31:48 -06:00
  • dd2212fbad switched to using vm->AttributeError for missing global Kolten Pearson 2023-05-06 19:23:41 -06:00
  • f4d2c401f7 adjusted to change in vm constructor Kolten Pearson 2023-05-05 18:46:20 -06:00
  • 0b4d7a05e3 Merge remote-tracking branch 'origin/main' into c_binding_api Kolten Pearson 2023-05-05 18:39:52 -06:00
  • 8489bbb2c5 ... blueloveTH 2023-05-04 21:50:01 +08:00
  • 3429068d63 ... blueloveTH 2023-05-04 16:51:44 +08:00
  • db2492829b ... blueloveTH 2023-05-04 16:44:45 +08:00
  • 6b25aae3f7 ... blueloveTH 2023-05-04 16:38:33 +08:00
  • 5616c87a23 ... blueloveTH 2023-05-04 16:22:55 +08:00
  • 564e377349 ... blueloveTH 2023-05-03 21:46:59 +08:00
  • 06068ab3e0 ... blueloveTH 2023-05-03 21:43:37 +08:00
  • cdbd884398 ... blueloveTH 2023-05-03 20:52:18 +08:00
  • 744e5c20b0 ... blueloveTH 2023-05-03 20:22:36 +08:00
  • 66052fadd5 ... blueloveTH 2023-05-03 16:49:26 +08:00
  • 2f5e2a20f5 ... blueloveTH 2023-05-03 16:41:35 +08:00
  • f60cd8a21e fix a bug blueloveTH 2023-05-03 16:09:37 +08:00
  • 849c6aabb5 ... blueloveTH 2023-05-03 14:20:18 +08:00
  • 3d8627410f added a function to check for errors without clearing them Kolten Pearson 2023-05-02 23:11:41 -06:00
  • cbe99e6089 set the void* in LuaStyleFuncC back to a VM* Kolten Pearson 2023-05-02 22:29:06 -06:00
  • ec7fefe302 cleanup line endings Kolten Pearson 2023-05-02 22:23:25 -06:00
  • 2c96dbe7ea added hook into garbage collector Kolten Pearson 2023-05-02 22:18:03 -06:00
  • ed6d2fcad7 Merge branch 'main' into c_binding_api Kolten Pearson 2023-05-02 22:09:34 -06:00
  • 5852ba7435 switch to using subclass for c virtual machine, strings methods return strong references, except one new one which returns a weak refrence Kolten Pearson 2023-05-02 22:08:18 -06:00
  • 468f7a3c22 fix a bug blueloveTH 2023-05-02 10:56:00 -07:00
  • 450b7e1e3c ... blueloveTH 2023-05-02 21:31:45 +08:00
  • 0912e88ac7 ... blueloveTH 2023-05-02 21:20:01 +08:00
  • d1f9aab008 added operations for working with void* as well as a way to check if a global exists Kolten Pearson 2023-05-02 00:35:22 -06:00
  • 54134bfecb adjusted api so that api user is no longer responsible for freeing returned strings Kolten Pearson 2023-05-01 23:26:55 -06:00
  • 87a76936d6 fixed test cases failing Kolten Pearson 2023-05-01 21:17:09 -06:00
  • 669bf8b9b1 adjusted things so that we minimize the number of changes necessary to the main pocketpy library Kolten Pearson 2023-05-01 20:35:38 -06:00
  • 75de7b0b63 Merge branch 'main' of https://github.com/blueloveTH/pocketpy into c_binding_api Kolten Pearson 2023-05-01 18:28:17 -06:00
  • a7ee33c2e3 make ValueStack a template class blueloveTH 2023-05-01 19:59:28 +08:00
  • d93af53776 ... blueloveTH 2023-05-01 19:36:37 +08:00
  • 1444c4b380 ... blueloveTH 2023-05-01 19:33:49 +08:00
  • a0770d4191 ... blueloveTH 2023-05-01 19:23:25 +08:00
  • c235b6750b Merge branch 'main' into c_binding_api Kolten Pearson 2023-05-01 00:13:36 -06:00
  • d57b977074 cleanup whitespace shuffling in several files Kolten Pearson 2023-05-01 00:12:17 -06:00
  • 796930654f try to clean up error.h again Kolten Pearson 2023-05-01 00:10:36 -06:00
  • e0dc3fd9e2 cleanup error.h Kolten Pearson 2023-05-01 00:08:56 -06:00
  • fbfb860a84 more cleanup Kolten Pearson 2023-05-01 00:04:44 -06:00
  • 527a783d13 cleanup and light refactor (with some renames) Kolten Pearson 2023-05-01 00:00:02 -06:00
  • d4b9d354ed finalized initial c api and built tests for it Kolten Pearson 2023-04-30 23:45:47 -06:00
  • 8244a8a1a4 basic functionality is working much more smoothly thanks to LuaStyleFuncC also added the code for handling python exceptions Kolten Pearson 2023-04-30 12:06:27 -06:00
  • aea01c5aca function calls are working Kolten Pearson 2023-04-30 11:30:45 -06:00
  • 3a10784fbd ... BLUELOVETH 2023-04-30 16:54:29 +00:00
  • 7882d18df6 added separate stack for c interop Kolten Pearson 2023-04-30 09:03:32 -06:00
  • 1fc08dae62 got rid of stack function Kolten Pearson 2023-04-30 08:51:21 -06:00
  • 6bc1749b5c Merge branch 'main' into c_binding_api Kolten Pearson 2023-04-30 08:50:28 -06:00
  • fcc13cb422 ... blueloveTH 2023-04-30 22:29:04 +08:00
  • f9ed405bf5 ... blueloveTH 2023-04-30 22:08:42 +08:00
  • 70e8a60f8b ... blueloveTH 2023-04-30 22:01:28 +08:00
  • a04cdb4cad add requests module blueloveTH 2023-04-30 21:53:50 +08:00
  • e5d5f09d83 ... blueloveTH 2023-04-30 14:42:17 +08:00
  • f701cc1e67 basic proof of concept working Kolten Pearson 2023-04-29 17:49:26 -06:00
  • b4769d77ea Merge branch 'main' into c_binding_api Kolten Pearson 2023-04-29 13:38:15 -06:00
  • 6bdc8fd494 basic stack based api for creating a binding from c to python is functional Kolten Pearson 2023-04-29 13:33:51 -06:00
  • e33d9fe595
    Update lexer.h BLUELOVETH 2023-04-30 00:24:20 +08:00
  • 084725e2b3 ... blueloveTH 2023-04-29 14:36:09 +08:00
  • e384407494 ... blueloveTH 2023-04-29 14:14:28 +08:00
  • 9b9a78524e made initial structure for new way of handling c bindings Kolten Pearson 2023-04-28 23:53:23 -06:00
  • cda087f3dc fix https://github.com/blueloveTH/pocketpy/issues/69 blueloveTH 2023-04-29 13:26:55 +08:00
  • 46b1b1b900 ... blueloveTH 2023-04-28 13:54:27 +08:00
  • 6031bf4799 ... blueloveTH 2023-04-27 21:04:20 +08:00
  • 0c8a6cb91a ... blueloveTH 2023-04-27 21:02:22 +08:00
  • 82385460a0 ... blueloveTH 2023-04-27 20:58:14 +08:00
  • bcf607c6a0 add mappingproxy blueloveTH 2023-04-27 20:35:07 +08:00
  • b73029247b ... blueloveTH 2023-04-27 20:08:28 +08:00
  • 2689e16bb6 ... blueloveTH 2023-04-27 19:33:35 +08:00
  • cc84a01d4d ... blueloveTH 2023-04-27 19:31:53 +08:00
  • 1e1063edfe ... blueloveTH 2023-04-27 19:23:57 +08:00
  • f240d0e9f4 ... blueloveTH 2023-04-27 19:11:46 +08:00