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

Handle dependency cycles in jsoo-webidl #1

Open
ghuysmans opened this issue Dec 29, 2021 · 2 comments
Open

Handle dependency cycles in jsoo-webidl #1

ghuysmans opened this issue Dec 29, 2021 · 2 comments

Comments

@ghuysmans
Copy link

Hi,

I'm trying to use your compiler to generate jsoo bindings for the Web Audio API. I've modified the parser to accept {} as a default value (ghuysmans/webidl@206c445) but it still hangs. I've reduced the input WebIDL to this:

interface EventTarget {
};

[Exposed=Window]
interface AudioNode : EventTarget {
        readonly attribute BaseAudioContext context;
};

[Exposed=Window]
interface AnalyserNode : AudioNode {
};

[Exposed=Window]
interface BaseAudioContext : EventTarget {
        AnalyserNode createAnalyser ();
};

dictionary AnalyserOptions {
};

I don't know if you're interested, but thanks anyway for writing this tool!

@tari3x
Copy link
Owner

tari3x commented Jan 7, 2023

Whaat, github does not notify me of open issues by default? Horrible. Only just noticed this.

I'm happy to take a look, let me know if you still care! I'd actually be interested in a WebAudio binding!

@tari3x
Copy link
Owner

tari3x commented Jan 7, 2023

Looks like I toggled notifications off for just this one repo somehow.... Fixed now.

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

No branches or pull requests

2 participants