回复内容:
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]}](//zhihu.com/equation?tex=cfrac%7Bmathrm%7Bident%7D%20u%7D%7B%5Bmathrm%7Bsetv%7D%20u%20c_2,%20e,%20s,%20k,%20t%5D%20rightarrow%20%5Bc_2,%20e,%20s,%20(mathrm%7Bsetv%7D%20u%20square)gg=k,%20t%5D%7D)
- Setv-declared:
![cfrac{mathrm{ident} uqquadmathrm{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]}](//zhihu.com/equation?tex=cfrac%7Bmathrm%7Bident%7D%20uqquadmathrm%7Bdeclared*%7D%20e%20u%7D%7B%5Bmathrm%7Bjust%7D%20x,%20e,%20s,%20(mathrm%7Bsetv%7D%20u%20square)gg=%20k,%20t%5D%20rightarrow%20%5Bmathrm%7Bjust%7D%20x,%20e,%20s%5B(e%20u)=x%5D,%20k,%20t%5D%7D)
- Setv-undeclared-notstrict:
![cfrac{mathrm{ident} uqquadnegmathrm{declared*} e uqquadnegmathrm{strict} eqquad 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]}](//zhihu.com/equation?tex=cfrac%7Bmathrm%7Bident%7D%20uqquadnegmathrm%7Bdeclared*%7D%20e%20uqquadnegmathrm%7Bstrict%7D%20eqquad%20e'%20=%20mathrm%7Baddglobalslot%7D%20e%20u%7D%7B%5Bmathrm%7Bjust%7D%20x,%20e,%20s,%20(mathrm%7Bsetv%7D%20u%20square)gg=%20k,%20t%5D%20rightarrow%20%5Bmathrm%7Bjust%7D%20x,%20e',%20s%5B(e'%20%20u)=x%5D,%20k,%20t%5D%7D)
- Setv-undefined-strict:
产生了这样一种冲动:
使用 JavaScript
在页面内实现一个渲染引擎,完整具备HTML,CSS,JavaScript的语义。
使用 JavaScript
在页面内实现一个浏览器,可进行多页面浏览以及各种选项配置功能。
使用 JavaScript
在页面内实现一个操作系统,操作系统内部又可以安装浏览器。