Replies: 1 comment 2 replies
-
You're right. All this code that is not auto-generated should live either on |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I've never used ddlog before but it looks pretty neat based on the readme. I wanted to browse the rust code that is generated based on a .dl schema, but it seems that's not kept checked-in to this repo so I had to download and generate it myself. I guess I understand why...
➜ ddlog -i tutorial.dl # note: the --no-staticlib option seemed to make no difference
It seems all the relevant code is in
./src/lib.rs
and./types/tutorial.rs
which are a few thousand loc each, totally expected for code generated from such a comprehensive tutorial (over 750 lines by itself!).What confuses me is that none of these other libraries seem to be directly related to the
tutorial.dl
file, but instead look like recursively vendored dependencies for the generated code. Why are dependencies vendored as part of the output?Beta Was this translation helpful? Give feedback.
All reactions