Commit graph

33 commits

Author SHA1 Message Date
5993923338
apply substitution before creating symbol name when generating instantiations 2025-03-15 18:27:21 +01:00
ffd190890d
improve encode_type_to_symbol to handle complex types 2025-03-15 18:22:46 +01:00
186c12fc5d
improve output 2025-02-20 05:35:40 +01:00
44ff30e599
encode all literal-character types as ascii code for compatiblity with c symbol names 2025-02-20 05:26:37 +01:00
dfc9ced33c
msb continuation ((ammend)) 2025-02-20 05:24:50 +01:00
9e871a97a4
remove deprecated .gitignore 2025-02-20 05:23:32 +01:00
4a5977ec8e
add morphisms to Msb-ContinuationBit Sequences 2025-02-20 05:22:28 +01:00
b88251b9c4
add length_prefix_array_map_8_to_8 2025-02-20 05:16:31 +01:00
d6107601a6
morphisms: add posint to u64 and vice-versa 2025-02-20 02:23:58 +01:00
24e28e7bb5
move code size benchmark to separate directory 2025-02-16 17:25:23 +01:00
cea1f36e63
read morphism body definitions from morphism-base file and generate instantiations based on type-variable substitutions 2025-02-16 17:08:55 +01:00
3f4a99ad79
generate instanitated symbol name 2025-02-16 00:55:14 +01:00
afa326ed23
more work on code generation 2025-02-14 14:07:18 +01:00
c270efbb87
add radix morphism for little and big endian 2025-02-14 13:54:59 +01:00
638bb690aa
nullterm/lenprefix : UInt8 as base type,strip char~ascii 2025-02-14 13:54:10 +01:00
eb29fad4b2
code size benchmark: separate morph function to avoid overhead from scanf/printf 2025-02-14 13:51:59 +01:00
959d2f9185
wip generating map morphism 2025-02-05 11:26:55 +01:00
e07b3585f9
add C functions for map lengthPrefix 2025-02-05 11:25:53 +01:00
10dab73876
digit morphisms: switch char to uint8_t 2025-02-05 11:10:11 +01:00
59c0ea8e57
add morphisms to MorphismBase, first generation of C code for pipe-utility from ladder types 2025-02-03 19:21:53 +01:00
1068b8ed45
load multiple morphism base files 2025-02-03 18:41:14 +01:00
88978d9008
function to determine C-type to represent a ladder type, for morphism generate expected C-signatures & calls 2025-02-03 17:55:18 +01:00
e544b82a4c
morphism base: remove syntax sugar for Seq for now 2025-02-03 17:52:36 +01:00
8e0ac3cbbc
gitignore 2025-02-03 17:07:23 +01:00
23b2dcaf82
posint morph code size benchmark 2025-02-03 17:05:19 +01:00
e500a24d2a
read morphism base from file 2025-02-01 12:40:45 +01:00
f0f8adbbbc
parse type terms 2025-01-31 17:56:08 +01:00
d66dc0e78b
initial parser for morphism-base using chumsky 2025-01-29 19:37:33 +01:00
f65dfee2b3
test.c: fmt& fix radix in call to morph_endianness 2025-01-29 19:37:33 +01:00
7eace1d85c
renamings 2025-01-29 19:36:49 +01:00
d0230cd3c4
move morphism-base files to directory 2025-01-29 19:36:41 +01:00
475d6d43ba
improve makefile, add morphisms for 8bit sized length-prefix array & add test for posint radix conversion 2025-01-28 23:57:39 +01:00
06227a2731
posint morphisms in C 2025-01-28 22:33:08 +01:00