除了 JavaScript 和 VBScript 之外,还有哪些客户端 Web 脚本语言? [英] What client-side web scripting languages are there other than JavaScript and VBScript?
问题描述
除了 JavaScript 和 VBScript 之外,您还看到了多少客户端脚本语言实现?如:
type="text/C++Script"
、text/CSharpScript
、text/oberonScript
等
How many client-side scripting language implementations did you see except JavaScript and VBScript? Like:
type="text/C++Script"
,text/CSharpScript
,text/oberonScript
, etc.
我如何知道我的浏览器是否支持这些语言?
How can I learn if my browser supports those languages?
推荐答案
我所见过的 Web 浏览器在 元素中支持的唯一语言是:
The only languages I have ever seen supported by web browsers in <script>
elements are:
- JavaScript/JScript(无处不在)
- VBScript(IE 10 及更低)
- PerlScript(仅带有 ActiveState 插件的 IE)
- Dart(在 Chromium 的非标准构建中),不适合生产使用.
- JavaScript / JScript (which is ubiquitous)
- VBScript (IE 10 and lower only)
- PerlScript (IE with a plugin from ActiveState only)
- Dart (in a nonstandard build of Chromium) which is not intended for production use.
HTML 4 规范 给出了示例Tcl,但我从未听说过实现此功能的浏览器.
The HTML 4 specification gives examples of Tcl, but I've never heard of a browser that implemented this.
在任何实际意义上(对于 WWW 开发),JavaScript 是唯一的(不是真正的)选择.
In any practical sense (for WWW development), JavaScript is the only (not really a) choice.
还有各种语言(例如 Dart、TypeScript、ES6/7)具有将程序转换为(ES5 风格的)JavaScript 然后可以在浏览器中运行的翻译器.
There are also various languages (e.g. Dart, TypeScript, ES6/7) which have translators to convert programs to (ES5 flavoured) JavaScript which can then run in browsers.
这篇关于除了 JavaScript 和 VBScript 之外,还有哪些客户端 Web 脚本语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!