Designed to simplify the development and design of the C programming language Trad

Trad is designed to simplify the development and design of the C programming language:

  • Based C: After the compiler can get a clean standard C-readable codes, like its relationship with C TypeScript Like JavaScript
  • Designed for optimized UI: syntax features designed specifically for the use of building a UI designed to make it easier to build UI
  • Ease of use: for C developers habits and design, without having to spend a lot of time to review complex documents can quickly get started
  • Can not be used in the production: the current version is only for technical exchanges, the internal architecture is not yet stable, not suitable for use in a formal product
  • Driven by the community: small size, easy to read and modify, anyone can participate in the development of language specification, development status of the project by the impact of community activity
  • Cross-platform: support for Linux and Windows desktop, but does not support the Mac OS, the mobile terminal

Trad's syntax is based on JavaScript, with its existing JavaScript Development Tools / Editor Extensions have good compatibility, and there will be no major changes in a very long time, so, you can temporarily JavaScript to write it as .

Example

installation

npm install -g tradlang

use

Compiled as a C source code file:

tradc example.jsx

Compile the C source file is an executable file:

gcc -c example.jsx.c
gcc -o example example.jsx.o -lLCUI

Note: UI layer Trad application by  LCUI  support, please install it before compiling.

The current version implements only the minimum required for the example applications, and can not be applied in practical projects, please wait for subsequent updates.

Guess you like

Origin www.cnblogs.com/1994-jinnan411-top/p/11839434.html