15 Commits

Author SHA1 Message Date
Kolten Pearson
f4d2c401f7 adjusted to change in vm constructor 2023-05-05 18:46:20 -06:00
Kolten Pearson
3d8627410f added a function to check for errors without clearing them 2023-05-02 23:11:41 -06:00
Kolten Pearson
2c96dbe7ea added hook into garbage collector 2023-05-02 22:18:03 -06:00
Kolten Pearson
5852ba7435 switch to using subclass for c virtual machine, strings methods return
strong references, except one new one which returns a weak refrence
2023-05-02 22:08:18 -06:00
Kolten Pearson
d1f9aab008 added operations for working with void* as well as a way to check
if a global exists
2023-05-02 00:35:22 -06:00
Kolten Pearson
54134bfecb adjusted api so that api user is no longer responsible for freeing
returned strings
2023-05-01 23:26:55 -06:00
Kolten Pearson
87a76936d6 fixed test cases failing 2023-05-01 21:17:09 -06:00
Kolten Pearson
669bf8b9b1 adjusted things so that we minimize the number of changes necessary to
the main pocketpy library
2023-05-01 20:35:38 -06:00
Kolten Pearson
527a783d13 cleanup and light refactor (with some renames) 2023-05-01 00:00:02 -06:00
Kolten Pearson
d4b9d354ed finalized initial c api and built tests for it 2023-04-30 23:45:47 -06:00
Kolten Pearson
8244a8a1a4 basic functionality is working much more smoothly thanks to LuaStyleFuncC
also added the code for handling python exceptions
2023-04-30 12:06:27 -06:00
Kolten Pearson
aea01c5aca function calls are working 2023-04-30 11:30:45 -06:00
Kolten Pearson
f701cc1e67 basic proof of concept working 2023-04-29 17:49:26 -06:00
Kolten Pearson
6bdc8fd494 basic stack based api for creating a binding from c to python is functional 2023-04-29 13:33:51 -06:00
Kolten Pearson
9b9a78524e made initial structure for new way of handling c bindings 2023-04-28 23:53:23 -06:00