Skip to content
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

Composer generator #160

Merged
merged 12 commits into from
Feb 22, 2024
Merged

Composer generator #160

merged 12 commits into from
Feb 22, 2024

Conversation

li-feng-sc
Copy link
Contributor

@li-feng-sc li-feng-sc commented Jan 16, 2024

Code generator for bridging C++ and Composer/TypsScript.

The TypeScript type definitions reuses the TS generator for WebAssembly because they are 99% the same.

The C++ marshalling code targets the new Composer support library.

@li-feng-sc li-feng-sc changed the base branch from main to experimental-record January 16, 2024 02:21
@li-feng-sc li-feng-sc changed the title [WIP] Composer generator Composer generator Feb 18, 2024

#pragma once

#include "djinni_composer.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is order important here? if not sort them.

#pragma once

#include "djinni_composer.hpp"
#include "../cpp/expected.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we avoid the relative paths?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed relative paths. they are not needed. "cpp" is already in include search path.

@li-feng-sc li-feng-sc merged commit 6079d92 into experimental-record Feb 22, 2024
1 check passed
@li-feng-sc li-feng-sc deleted the lf/composer branch February 22, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants