6787e607a6
wip
2025-05-01 06:38:17 +02:00
ef819b4711
morphisms: remove 'return 0;' at end since it is now added by default
2025-04-03 16:37:46 +02:00
3f1397735c
improve code generation
...
- improve usage of FUSE
- implement seq-map for different representations
- fix C-types in morph-function arguments
- collect active types and put typedef into header
- add generate_main() to create stdio-morphism
2025-04-02 23:32:06 +02:00
67cec64dfc
fix codegen for seq-map
2025-04-02 15:01:45 +02:00
98592aa596
fuse results of sub- morphisms in complex morphisms
2025-04-02 14:37:31 +02:00
35b747ea15
fix local src/dst types in complex morphisms
2025-04-02 14:31:47 +02:00
39cba1ee57
improve symbol names in generated c code
2025-04-02 14:11:17 +02:00
583892f10d
wip struct morphisms
2025-04-01 18:23:18 +02:00
d98afc294d
exemplaric platform definitions
2025-03-31 10:29:57 +02:00
bce52e9fcf
replace native.Float/native.Double with native.Float32/native.Float64
2025-03-25 19:38:56 +01:00
21bb33193a
wip struct morphisms
2025-03-24 10:14:25 +01:00
1869176bb7
make MsbCont morphism generic over item type
2025-03-20 19:49:03 +01:00
4b824cbb7c
unicode morphisms: remove LE- suffix from UTF32 since we are using native.UInt32
2025-03-20 17:26:18 +01:00
1d10b1bf61
improve length prefix array macros
2025-03-20 17:25:40 +01:00
f67f8c0118
replace x86.T with native.T
2025-03-20 16:28:16 +01:00
e29a5a3475
generate all length prefix array variants via macro
2025-03-20 16:16:49 +01:00
4c7302c4a3
digit morphisms: print message to stderr when digit is out of range
2025-03-19 17:28:54 +01:00
17a1e499d8
add lenpfx to valsep morphism
2025-03-19 17:28:26 +01:00
f8725c0624
unicode morphisms: switch to 0 terminator instead of '\0'
2025-03-19 17:28:04 +01:00
24b332c682
add morphism for unix-timestamp to iso8601
2025-03-19 17:27:04 +01:00
8b8acb81a6
generated main(): use sizeof for buffer sizes
2025-03-18 14:09:01 +01:00
5d1ea93e20
add float & double representations to C-generator
2025-03-18 14:07:14 +01:00
65cd0b6853
add morphisms for angle, temperature & real numbers
2025-03-18 14:06:05 +01:00
6f85e004b9
improve posint morphisms
2025-03-18 14:05:42 +01:00
6cfb25a1a7
fix warnings
2025-03-15 19:48:02 +01:00
45453a04f4
split main.rs into separate files
2025-03-15 19:37:03 +01:00
2d92bce91b
includes & errors in morphisms
2025-03-15 19:19:20 +01:00
90eb43475b
gitignore
2025-03-15 18:49:39 +01:00
2eb3728027
add test script
2025-03-15 18:49:29 +01:00
d0118b56b1
add morphisms
...
- unicode
- value delimited seq
- zigzag encoding (still lacking any way to get to signed integer yet'..)
2025-03-15 18:49:06 +01:00
630948139b
move header & library for morphism data structures to 'runtime' diretcory
...
- adapt Makefile for code size benchmark
- write build files to 'target' directory
2025-03-15 18:45:52 +01:00
5a64334b1d
add include header in morphism-base
2025-03-15 18:28:57 +01:00
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