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

Maybe we can cooperate to make CocoR-Typescript/Javascript #1

Open
mingodad opened this issue Jul 17, 2022 · 2 comments
Open

Maybe we can cooperate to make CocoR-Typescript/Javascript #1

mingodad opened this issue Jul 17, 2022 · 2 comments

Comments

@mingodad
Copy link

Hello !
I just found your project and coincidentally I'm also creating a port of CocoR to Typescript/Javascript here https://github.com/mingodad/CocoR-Typescript and also have an initial online playground here https://mingodad.github.io/CocoR-Typescript/playground .

Probably we could cooperate !
Looking through your code you've been following the CSharp code more strictly than me, I also started form the CSharp code but first created a simple transpiler to help convert the CSharp code to Typescript code and also ported it to Typescript here https://github.com/mingodad/CocoR-Typescript/blob/main/examples/ParserCSharp2.ts .

Cheers !

@CrazyChaoz
Copy link
Owner

Hi, this would be very interesting, but my implementation is basically my bachelor project, so I don't think a collaboration on this exact project is really possible. I was tasked to stay as close as possible to the current implementations in Java or CSharp, and so my code is absolutely not optimized for JS. You can, of course, use this project in any way the license permits, eg. by forking and integrating your implementation, but (at least for now) my code has to stay my code.

I would also recommend looking into what I would have planned as "future work": getting this implementation runnable client side in an arbitrary web browser with the help of HTML5 , FileReader and then finally "downloading" a .zip containing the Scanner and Parser file.

@mingodad
Copy link
Author

Thank you for reply !
Anyway I already got from your project the break loop; to break from the Scanner main loop mingodad/CocoR-Typescript@7f52957 .

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