monoclex / jssat

Compile JS into LLVM IR - JavaScript Static Analysis Tool
https://sirjosh3917.com/posts/jssat-compiling-javascript-to-llvm-ir
Apache License 2.0
37 stars 1 forks source link

Congratulations on the initiative! #1

Open paulocoghi opened 2 years ago

paulocoghi commented 2 years ago

Hello, Sir Josh!

I would like to congratulate you on the JSSat idea and I'm looking forward for the next chapters!

This can be huge :)

monoclex commented 2 years ago

Thanks for the kind words!

If you're curious about the status of the project, so far I've been incrementally working on it and gotten more and more complete prototypes of it working (hence the "we can compile print("hello, world")" claim on the README being old). Currently, I'm working on getting the frontend (JS -> JSSAT IR) as ECMAScript-like as possible, so that adding new features is straight-forward and closely resembles the specification. Then, I plan getting the backend working more properly (by cleaning it up and thoroughly documenting it) so that way solutions to edge cases (as outlined in the blog post introducing JSSAT) can be implemented successfully. Finally, I'll need to work on the LLVM IR backend so that it can handle any changes made to JSSAT IR. After all of that happens, I'll then need to make sure I get a few simple examples working (like recursive fibonacci or factorial), then I'll try to get this project a bit more publicity.

As of right now though, I'm quite a ways away from all of that. Moreover, I'm still in school so I cannot devote my full time to this. I do appreciate the support, but do keep in mind that it is still quite a ways away from being in any state to get hyped about.

paulocoghi commented 2 years ago

If there is something that I can do to help, like testing different code samples and providing the results, it will be a pleasure for me anytime and when you have time.

paulocoghi commented 2 years ago

Your knowledge is way above what I can understand right now, but when the project gets its pace, if I understand it better, maybe I will be able to help on it as well.

gkorland commented 1 year ago

@SirJosh3917 do you plan to continue this project?

monoclex commented 1 year ago

@SirJosh3917 do you plan to continue this project?

@gkorland ideally in the future (i.e. possibly a year or two) yes, but presently I've been occupied elsewhere. It's always on the back of my mind to come back to it, but I haven't yet. In retrospect, I made the project public far too early.