Open mingodad opened 2 years ago
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.
Thank you for reply !
Anyway I already got from your project the break loop;
to break from the Scanner main loop https://github.com/mingodad/CocoR-Typescript/commit/7f52957a25c0ec0f5515c27ab1a15d7ede1fd6e5 .
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 !