CScript 是小型C语言
编译器,它的语法和C语言语法很接近,因此 CScript 的
源代码也可以用其他 C/C++编译器进行编译,例如Visual C++.CScript 可以生成
中间代码和
机器码.机器码可以在 CScript IDE 中直接运行,也可以用来生成 EXE
可执行文件.CScript 支持调用DLL和COM(Component Object Model),它可以用来编写OpenGL 和 DirectX 程序·另外您可以使用CScript
编程接口在您自己的
程序中增加对C语言
脚本的支持。
简介
Introduction:
CScript is a small C script language compiler.
It's syntax is very similar to C. The source code of CScript can also be compiled by other C/C++ compiler,just like Visual C++.
CScript can generate intermediate code and machine code. You can directly run the machine code in CScript IDE or build stand-alone executable file.
CScript support DLL and COM(Component Object Model),so it can be used to develop OpenGl and DirectX Program.
特征
Features:
C like syntax - Support Struct,Pointer,Array,if-else Statement,switch Statement, for Statement,while Statement,do-while Statement,goto Statement,Functions... Access to DLL's and the Windows API Support COM Debug - StepInto,StepOver,RunToCursor,SetBreakPoint... CScriptEngine - You can run CScript Sourcecode in your own program. Create stand-alone EXE file Execute machine code directly - You can run machine code in CScript IDE