-
Notifications
You must be signed in to change notification settings - Fork 0
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
Homebrew formulae for JavaScript engines #17
Comments
Is Nashorn necessary in this case? Installing JDK already gives jrunscript, a JS shell utilizing Nashorn. Example: http://esprima.readthedocs.io/en/3.1/getting-started.html#using-esprima-with-rhino-or-nashorn. |
@mathiasbynens thanks for this! Question: currently it installs version 5.1.281.47. Is there any way to install the latest V8? |
@oaleynik Someone needs to update the formula for V8. The process is fairly straight-forward — are you up for it? https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md#submit-a-version-upgrade-for-the-foo-formula |
@mathiasbynens I see someone have submitted PR for 5.4: Homebrew/homebrew-core#7168 Also there is a formula for 5.7: |
@mathiasbynens working on PR now. Will update to 5.8.57 |
@oaleynik Please post a link to the PR here once it’s ready! |
@mathiasbynens will do! I don't have the fast network link here so fetching v8 takes a lot of time :) |
I'm not sure is it ok to export |
ChakraCore can now be installed with Homebrew! OP updated. |
I’ve started to file requests to host each engine’s pre-built binaries for each OS/arch somewhere official.
This would simplify the Homebrew formulae and would drastically improve |
Thank you very much! It would be great if they help us, packaging should cost nothing to them after binaries are actually built. |
Since binary formulae aren’t welcome in homebrew-core, I’ve created a tap where such formulae can be hosted: https://github.com/mathiasbynens/homebrew-ecmascript |
…and jsvu now solves this problem in a much better way. 🎉 |
Being able to install stable versions of major ECMAScript engines through Homebrew would make it much easier to set up eshost on macOS, and to just test them out in general. The easier it is to install these engines, the more likely developers are to play around with them and file bugs.
Let’s create Homebrew formulae for each of them!
v8@5.8
formula by @pinepainbrew install v8 --with-icu4c --with-readline
PR: chakra 1.4.0 (new formula) Homebrew/homebrew-core#9323brew install chakra --with-icu4c
-v
/--version
to binaryjsshell
)https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-macosx64/1486087028/jsshell-mac.zip
where 1486087028 is the build number — PR: spidermonkey @ 1486087028 Homebrew/homebrew-core#9607brew install spidermonkey
jsc
)-v
/--version
tojsc
binary/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc
Please leave a comment if you want to work on any of these.
The text was updated successfully, but these errors were encountered: