Home  >  Article  >  Web Front-end  >  js学到最后是一种什么感觉或者状态?

js学到最后是一种什么感觉或者状态?

WBOY
WBOYOriginal
2016-06-07 08:44:411499browse

回复内容:

nodejs开发的操作系统Node OS
js开发桌面级应用程序,听朋友说win10支持js开发桌面级应用?nwjs/nw.js · GitHub
感觉js学一段时间自然会对node感兴趣,然后就是无尽的大坑... 难道不是在页面里自己写个chrome然后轻松解决一切兼容问题么? 大概是给 ES5/6 写 Small Step Semantics 吧。下面是变量赋值的,使用 CEK 范式

  • Setv-right: \cfrac{\mathrm{ident}\ u}{[\mathrm{setv}\ u\ c_2, e, s, k, t] \rightarrow [c_2, e, s, (\mathrm{setv}\ u\ \square)\gg=k, t]}
  • Setv-declared: \cfrac{\mathrm{ident}\ u\qquad\mathrm{declared*}\ e\ u}{[\mathrm{just}\ x, e, s, (\mathrm{setv}\ u\ \square)\gg= k, t] \rightarrow [\mathrm{just}\ x, e, s[(e\ u)=x], k, t]}
  • Setv-undeclared-notstrict: \cfrac{\mathrm{ident}\ u\qquad\neg\mathrm{declared*}\ e\ u\qquad\neg\mathrm{strict}\ e\qquad e' = \mathrm{addglobalslot}\ e\ u}{[\mathrm{just}\ x, e, s, (\mathrm{setv}\ u\ \square)\gg= k, t] \rightarrow [\mathrm{just}\ x, e', s[(e'\  u)=x], k, t]}
  • Setv-undefined-strict: \cfrac{\mathrm{ident}\ u\qquad\neg\mathrm{declared*}\ e\ u\qquad\mathrm{strict}\ e}{[\mathrm{just}\ x, e, s, (\mathrm{setv}\ u\ \square)\gg= k, t] \rightarrow [\text{throw ``Undeclared Variable''}, e, s, k, t]}
产生了这样一种冲动:
使用 JavaScript 在页面内实现一个渲染引擎,完整具备HTML,CSS,JavaScript的语义。
使用 JavaScript 在页面内实现一个浏览器,可进行多页面浏览以及各种选项配置功能。
使用 JavaScript 在页面内实现一个操作系统,操作系统内部又可以安装浏览器。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn