1202 Commits

Author SHA1 Message Date
blueloveTH
202a698a33 Update mat3x3.h 2023-05-11 18:40:30 +08:00
blueloveTH
b4f5889d9c Merge branch 'main' of https://github.com/blueloveTH/pocketpy 2023-05-11 18:37:43 +08:00
blueloveTH
d872ae7596 ... 2023-05-11 18:37:39 +08:00
BLUELOVETH
9203ce21cb
Merge pull request #75 from koltenpearson/c_binding_api
added check on to_type methods so that they will not cause a crash when type is wrong
2023-05-11 13:54:08 +08:00
blueloveTH
df2f7bb58e ... 2023-05-10 20:29:49 +08:00
blueloveTH
3a07b05279 Update website.yml 2023-05-10 14:26:33 +08:00
blueloveTH
c8b2387002 add some gc guard 2023-05-10 14:24:54 +08:00
blueloveTH
345215e17a ... 2023-05-10 13:40:25 +08:00
blueloveTH
6d3136ed89 ... 2023-05-10 13:27:28 +08:00
Kolten Pearson
101752c853 added check on to_type methods so that they will not cause
a crash when the type is wrong
2023-05-09 20:52:02 -06:00
BLUELOVETH
5237bc1f25
Merge pull request #74 from koltenpearson/c_binding_api
some more functionality for the c binding api
2023-05-10 10:07:37 +08:00
Kolten Pearson
d6bd147f6f restored c binding test cleanup 2023-05-09 18:22:20 -06:00
Kolten Pearson
ceab1e0609 added a pkpy_error method 2023-05-09 18:05:43 -06:00
blueloveTH
4bb29e8233 Update 40_class.py 2023-05-09 14:42:58 +08:00
blueloveTH
b5e0ac7121 ... 2023-05-09 14:36:49 +08:00
blueloveTH
93ef42e1d0 fix #73 2023-05-09 14:30:08 +08:00
blueloveTH
515321a0af ... 2023-05-09 14:23:28 +08:00
blueloveTH
f397917ff5 ... 2023-05-09 14:05:05 +08:00
blueloveTH
13debcd722 ... 2023-05-09 14:03:01 +08:00
Kolten Pearson
ae34a6304a gcc didn't like us catching the runtime_error 2023-05-08 20:45:59 -06:00
Kolten Pearson
e2bf81d7f2 added a pkpy_vm_push method 2023-05-08 20:41:44 -06:00
BLUELOVETH
dd2637fabc
Update pocketpy.h 2023-05-08 17:29:22 +08:00
BLUELOVETH
f134322987
Update pocketpy.h 2023-05-08 17:28:47 +08:00
BLUELOVETH
387425230f
Merge pull request #72 from koltenpearson/c_binding_api
adjusted exceptions to be back to using Exception in c bindings
2023-05-08 14:48:34 +08:00
Kolten Pearson
8abaebbf9f adjusted exceptions to be back to how they were before, implementation
is brittle but functional for current use cases
2023-05-07 11:58:35 -06:00
blueloveTH
d5e2dbd1fd ... 2023-05-07 20:59:57 +08:00
blueloveTH
9fb35f69ba ... 2023-05-07 20:50:51 +08:00
BLUELOVETH
bed6325890
Merge pull request #70 from koltenpearson/c_binding_api
revamped c bindings
2023-05-07 20:02:23 +08:00
blueloveTH
805a7ca01f a tiny change 2023-05-07 19:57:27 +08:00
Kolten Pearson
7de39b0cda switched to NameError for the type of error to use when a global can't
be found
2023-05-06 19:31:48 -06:00
Kolten Pearson
dd2212fbad switched to using vm->AttributeError for missing global 2023-05-06 19:23:41 -06:00
Kolten Pearson
f4d2c401f7 adjusted to change in vm constructor 2023-05-05 18:46:20 -06:00
Kolten Pearson
0b4d7a05e3 Merge remote-tracking branch 'origin/main' into c_binding_api 2023-05-05 18:39:52 -06:00
blueloveTH
8489bbb2c5 ... 2023-05-04 21:50:01 +08:00
blueloveTH
3429068d63 ... 2023-05-04 16:51:44 +08:00
blueloveTH
db2492829b ... 2023-05-04 16:44:45 +08:00
blueloveTH
6b25aae3f7 ... 2023-05-04 16:38:33 +08:00
blueloveTH
5616c87a23 ... 2023-05-04 16:22:55 +08:00
blueloveTH
564e377349 ... 2023-05-03 21:46:59 +08:00
blueloveTH
06068ab3e0 ... 2023-05-03 21:43:37 +08:00
blueloveTH
cdbd884398 ... 2023-05-03 20:52:18 +08:00
blueloveTH
744e5c20b0 ... 2023-05-03 20:22:36 +08:00
blueloveTH
66052fadd5 ... 2023-05-03 16:49:26 +08:00
blueloveTH
2f5e2a20f5 ... 2023-05-03 16:41:35 +08:00
blueloveTH
f60cd8a21e fix a bug 2023-05-03 16:09:37 +08:00
blueloveTH
849c6aabb5 ... 2023-05-03 14:20:18 +08:00
Kolten Pearson
3d8627410f added a function to check for errors without clearing them 2023-05-02 23:11:41 -06:00
Kolten Pearson
cbe99e6089 set the void* in LuaStyleFuncC back to a VM* 2023-05-02 22:29:06 -06:00
Kolten Pearson
ec7fefe302 cleanup line endings 2023-05-02 22:23:25 -06:00
Kolten Pearson
2c96dbe7ea added hook into garbage collector 2023-05-02 22:18:03 -06:00