Commit graph

24 commits

Author SHA1 Message Date
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