TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Javascript parser in Java/Scala?

2 点作者 codedivine超过 14 年前
Does anyone know if there is a good Javascript parser in Java or Scala?

1 comment

codefisher超过 14 年前
You might be able to copy the parser out of the Google Closure Compiler. <a href="http://code.google.com/closure/compiler/" rel="nofollow">http://code.google.com/closure/compiler/</a> you can be sure it works, and is stable. I think though it uses Rhino under the hood, so you could look at that too. <a href="http://www.mozilla.org/rhino/" rel="nofollow">http://www.mozilla.org/rhino/</a>
评论 #1888983 未加载