New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the way to Import/reuse .dl file #1340
Comments
Update: It seems that the following directive works
I would change the issue to a documentation one. Feel free to close it as well. |
you might want to use #pragma once if you have a large projects to avoid
multiple includes -- same rules apply as in C++ as a C-preprocessor is
used.
…On Sat, Mar 7, 2020 at 7:46 PM Zhen Zhang ***@***.***> wrote:
Update:
It seems that the following directive works
#include "path/to/x.dl"
I would change the issue to a documentation one. Feel free to close it as
well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1340?email_source=notifications&email_token=AAC3OOMKO6C4O4BSXGWXZFLRGKI7PA5CNFSM4LDR6SA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOECSXQ#issuecomment-596126046>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC3OOPG3UROJE5MP5E5IADRGKI7PANCNFSM4LDR6SAQ>
.
|
We need to document how mcpp works in conjunction with soufflé. Basically, mcpp is a c-preprocessor that is used to expand the source code internally. You can use macros and includes in your Soufflé programs. |
Our current documentation exists, but is extremely limited: |
I am using Souffle and I wonder if it supports "importing" one .dl file inside another one so I can share code between different ".dl" files?
I've read the help message on "-L" and "-I", but they seem not related to the problem I had.
Thanks in advance!
The text was updated successfully, but these errors were encountered: