EmojiScript

EmojiScript is an extension of JavaScript that features emotion as a value. Use emotion literals with the most expressive language ever. It is implemented with sweet.js macros (using a fork of it since it doesn't natively support emoji…).

$ npm install emojiscript
$ emo file.js

The file example.js has example code.

EmojiScript is just a set of sweet.js macros, so you can use them individually if you want:

cat runtime/runtime.js && 
./sweet.js/bin/sjs
-m ./macros/poop.js
-m ./macros/algebra.js
-m ./macros/error.js
-m ./macros/terminating-cat.js
example.js

Since it compiles to JavaScript, you get all the features to JavaScript in addition to:

Emotional Algebra



EmojiScript

EmojiScript是JavaScript的扩展,它以情感为特征。使用情感文字 最有表现力的语言。它实现了 sweet.js 宏(使用它的叉子) 不支持emoji …)。

$ npm install emojiscript
$ emo file.js

文件 example.js 有示例代码。

EmojiScript只是一组 sweet.js 宏, 如果需要,您可以单独使用它们:

cat runtime/runtime.js && 
./sweet.js/bin/sjs
-m ./macros/poop.js
-m ./macros/algebra.js
-m ./macros/error.js
-m ./macros/terminating-cat.js
example.js

由于它编译为JavaScript,您可以获得所有功能 JavaScript除了:

情绪代数




相关问题推荐