【文件属性】:
文件名称:js-ext:只是另一个JavaScript预处理器
文件大小:144KB
文件格式:ZIP
更新时间:2021-05-21 16:30:19
JavaScript
Js-Ext (BSD许可证)是另一个预处理器,它在常规JavaScript中添加了语法糖。 它具有一些很酷的功能,例如宏或类,下面将对其中的一些功能进行介绍。
用Js-Ext编写并在运行的Js-Ext。
用法
即将推出。
特征
1.巨集
/*
Executing on preprocessing.
*/
@macro const 20;
console.log (@const);
@macro loadFromFile:raw (file, callback){
fs.readFile (file, function (error, data){
if (!error)
callback ('console.log (' + JSON.stringify (data) + ');');
else
callback ('');
});
}
@loadFromF
【文件预览】:
js-ext-master
----build.sh(1KB)
----src()
--------macro_call.jsxi(5KB)
--------macro_storage.jsxi(1KB)
--------lite_parser.jsxi(5KB)
--------defaults.jsxi(644B)
--------macro.jsxi(6KB)
--------warnings.jsxi(459B)
--------file_storage.jsxi(846B)
--------utils.jsxi(3KB)
--------app.jsxi(1KB)
--------context.jsxi(293B)
--------queue.jsxi(3KB)
--------parser()
--------generator.jsxi(13KB)
--------application_args.jsxi(865B)
--------file.jsxi(5KB)
--------worker.jsxi(3KB)
--------macro_process.jsxi(6KB)
--------js-ext.jsx(75B)
----TODO.todo(17KB)
----build()
--------library()
--------js-ext.js(387KB)
----README.md(3KB)
----tests()
--------cases()
--------ast-debug.json(0B)
--------tests.jsx(16KB)
--------tests-ko.jsx(5KB)
--------tests-new.jsx(2KB)
--------current.jsx(701B)
--------temp()
----.gitignore(745B)