cff14cf096
add MorphismInstance::Id
2025-05-29 13:01:23 +02:00
edd3441511
todo.md
2025-05-29 13:01:11 +02:00
dfa364bc0f
length prefix morphism: generic calls to functions with C macro
2025-05-16 13:55:36 +02:00
62f0ff9eac
add array morphisms : StaticLength <--> LengthPrefix
2025-05-16 13:53:19 +02:00
76c005ac8b
morph lenpfx to valterm: make item type generic
2025-05-16 13:51:45 +02:00
0eb8074644
digit morphism: also print Radix in warning
2025-05-16 02:34:18 +02:00
0c9a4ccc8b
example: use -o option in makefile
2025-05-16 02:33:17 +02:00
24f9a0f5b5
C code gen: rename include block to header block
2025-05-14 10:28:31 +02:00
7dd6352760
code generation: only use scanf/printf on newline('\n') terminated strings
2025-05-14 10:20:55 +02:00
692a34c257
main: when loading morphism base, remove . from path suffix variable
2025-05-14 10:19:48 +02:00
ea2504ff07
morphisms: fix bitshift in lenpfx to msb-cont
2025-05-14 10:18:42 +02:00
6f0a0f5927
when generating #defines for values of type variables, distinguish between variables of type 'Type' and others
2025-05-10 16:28:58 +02:00
4a705241fe
manage include blocks & only output required blocks once
2025-05-10 16:27:56 +02:00
efa584dfb5
update test.sh to new cli features
2025-05-10 16:25:36 +02:00
783c70b2e2
add output option in cli arguments
2025-05-10 15:40:49 +02:00
a58ac1a69c
in generation of main function, fix case that input/output buffer is a nullterm string
2025-05-10 15:16:51 +02:00
1116457bcc
add example C program which generates (de)marshaling with ldmc
2025-05-10 15:00:54 +02:00
27ea365755
improve integration
...
* add command line parsing
* read morphism base directory from environment
* generate C library of multiple morphisms
2025-05-09 03:33:51 +02:00
923fe987dc
fix typedefs
2025-05-07 16:29:45 +02:00
3ed7a19270
adapt changes in lib-laddertypes
2025-05-06 00:39:32 +02:00
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