开发者

Can JSLint be built as a C++ library

I require JavaScript validation in a script editor I am writing in C++.

I am aware that JSLint provides sources, is it possible to build JSLint as a C++ library that I can then use with their API开发者_如何学运维 without requiring the use of their exe.

If not, is there any other similar open source C++ libraries to validate JavaScript and provide error details?

Thanks.

Ref: http://www.javascriptlint.com/docs/running_from_your_windows_program.htm


You can take the same approach I used for jslint4java: embed a JavaScript interpreter along with a copy of JSLint.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜