Commit graph

517 commits

Author SHA1 Message Date
Joshua Suskalo
8088633b5b Remove map which is no longer used in implementation 2021-09-23 14:31:09 -05:00
Joshua Suskalo
af3c1357d6 Add docstrings to private functions and data 2021-09-23 14:29:13 -05:00
Joshua Suskalo
704c8710c5 Fix docstring of freset! and fswap! 2021-09-23 14:25:24 -05:00
Joshua Suskalo
7b21325365 Add upcall test 2021-09-23 13:29:12 -05:00
Joshua Suskalo
3ce919e5a1 Fix broken bytecode in upcalls 2021-09-23 13:29:00 -05:00
Joshua Suskalo
6be2515540 Ensure the clojure code is on the classpath correctly 2021-09-23 13:22:13 -05:00
Joshua Suskalo
f76b2edae4 Add todo for nullptrs 2021-09-23 13:12:47 -05:00
Joshua Suskalo
c61e60681b Add tests for some types 2021-09-23 12:29:48 -05:00
Joshua Suskalo
ebe36e199c Update struct definition macro for conformed args 2021-09-23 12:28:29 -05:00
Joshua Suskalo
8ea6c27b38 Ensure ::type spec has its own sequence 2021-09-23 12:27:22 -05:00
Joshua Suskalo
3f6203b5d3 Fix incorrect serdes around upcalls 2021-09-23 12:26:57 -05:00
Joshua Suskalo
284b76255a Fix indentation of upcall-class 2021-09-23 12:26:40 -05:00
Joshua Suskalo
f7f8e44a80 Change long type hints to casts 2021-09-23 12:25:59 -05:00
Joshua Suskalo
fc3b0a96a5 Add support for returning non-primitive types via segment allocators 2021-09-23 12:24:38 -05:00
Joshua Suskalo
d67d539285 Add a function for constructing a fully wrapped c function 2021-09-23 09:36:43 -05:00
Joshua Suskalo
eeee025303 Add a very basic struct definition macro 2021-09-23 09:33:07 -05:00
Joshua Suskalo
7bd9e9b653 Remove extraneous bits 2021-09-23 08:51:59 -05:00
Joshua Suskalo
e00e62f996 Ensure that primitive values are cast to the correct types in serialization 2021-09-23 08:30:11 -05:00
Joshua Suskalo
0f227ac6f8 Add a function to add primitives in the test library 2021-09-23 08:29:52 -05:00
Joshua Suskalo
1fe9d2cb02 Move library loading interop to a java class 2021-09-23 08:15:16 -05:00
Joshua Suskalo
ad2c3d3606 Create first basic test 2021-09-22 18:23:10 -05:00
Joshua Suskalo
08515095c5 Ensure that the library name is loaded correctly 2021-09-22 18:22:39 -05:00
Joshua Suskalo
7d40e23cc6 Ensure that in tests the module is loaded 2021-09-22 18:22:26 -05:00
Joshua Suskalo
3bd67bbdce Add basic c library for testing 2021-09-22 13:39:02 -05:00
Joshua Suskalo
dcae970332 Move clojure tests to a language subdir 2021-09-22 12:55:27 -05:00
Joshua Suskalo
a1dffc24b0 Remove references to resources in the build file 2021-09-22 12:49:34 -05:00
Joshua Suskalo
86ff96c797 Start function serdes 2021-09-22 11:06:13 -05:00
Joshua Suskalo
9e7aab273e Move java layout to a simple function 2021-09-20 20:12:32 -05:00
Joshua Suskalo
30891c35ab Fix reflection warnings 2021-09-20 20:12:24 -05:00
Joshua Suskalo
4c108b7010 Fix bug where symbol lookup used the wrong kind of method 2021-09-20 20:11:49 -05:00
Joshua Suskalo
331e72079f Move section for static memory access 2021-09-20 20:01:37 -05:00
Joshua Suskalo
a61feaa739 Remove inconsistent spec 2021-09-20 19:53:13 -05:00
Joshua Suskalo
23602dfa18 Add array serdes 2021-09-20 19:41:44 -05:00
Joshua Suskalo
b9afb254fb Add padding serdes to support struct layouts 2021-09-20 19:41:32 -05:00
Joshua Suskalo
b2918936e7 Add struct serdes 2021-09-20 19:41:10 -05:00
Joshua Suskalo
aba236f01c Add functions for sequence views of segments 2021-09-20 19:16:46 -05:00
Joshua Suskalo
33320a6dc2 Add a method to clone a segment 2021-09-20 15:29:35 -05:00
Joshua Suskalo
25a11d4ba0 Deserialize unions by giving a slice of their segment 2021-09-20 15:23:05 -05:00
Joshua Suskalo
317a08abc6 Add support for serde wrappers to data model 2021-09-20 14:32:00 -05:00
Joshua Suskalo
d886213ded Add support for a serde-varargs-factory wrapper 2021-09-20 14:30:04 -05:00
Joshua Suskalo
87f48ec681 Add support for union types 2021-09-20 14:19:14 -05:00
Joshua Suskalo
382f342aa5 Add a function to make a serde wrapper fn 2021-09-20 14:19:14 -05:00
Joshua Suskalo
6014ace2a4 Ensure that the segment is returned in serialize 2021-09-20 12:47:02 -05:00
Joshua Suskalo
f4a4f8ec33 Support looking up symbols in non-system libraries 2021-09-18 17:30:26 -05:00
Joshua Suskalo
0c6b2616e8 Finish docstring for reify-libspec 2021-09-18 17:24:40 -05:00
Joshua Suskalo
1e7ec8ad80 Allow any kind of argument as a type argument 2021-09-18 17:24:40 -05:00
Joshua Suskalo
b584de3e8b
Add TODO for symbol lookup for non-libc symbols 2021-09-17 15:17:18 -05:00
Joshua Suskalo
6cc17f463e Update qsort example 2021-09-17 14:02:06 -05:00
Joshua Suskalo
8159fdebad Allow complex types in native arglists 2021-09-17 14:01:49 -05:00
Joshua Suskalo
b5dd785fe0 Add function to create a library from a spec 2021-09-17 14:01:13 -05:00