(中文/English)
A lightweight and C based language for building user interfaces.
Trad is:
Trad's syntax is based on JavaScript, it has good compatibility with existing JavaScript development tools/editor extensions, and it won't change much for a long time, so you can temporarily write it as JavaScript.
npm install -g tradlang
Compile to C source file:
tradc example.jsx
Compile to binary file:
gcc -c example.jsx.c
gcc -o example example.jsx.o -lLCUI
Note: The UI layer of the Trad application is powered by LCUI and you should install it before compiling.
The current version only implements the features required for the smallest sample application and cannot be applied to actual projects. Please wait for future updates.
There are many ways to contribute to Trad.
Trad has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates our values well. For more, see the Code of Conduct.
The main tasks are listed below, for detailed work plans and progress please see the project boards.
@UIThread
decoratorTrad is MIT licensed.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。