C语言做解释型脚本使用

maojunhua 2004-07-07 01:11:52
C语言前身就是做为脚本语言开发的,后来改为编译型,成为开发的主力语言.
http://www.softintegration.com/
可以下载Ch,一种解释型C语言环境,完全与C99兼容,支持部分C++特性,对unix,linux,windows平台都支持,支持GTK,ODBC等,程序不用修改就可以编译.初学者采用脚本型环境学习应该比较容易,不过现在的集成开发环境那么好,意义不是很大.比起那个C Shell来,这可真正算得上是C Shell了,作者想必是C偏执狂.
...全文
183 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
maojunhua 2004-07-07
  • 打赏
  • 举报
回复
Ch supports ISO C standard (C90), major new features in C99, classes in C++, POSIX, X/Motif, Windows, OpenGL, ODBC, GTK+, C LAPACK, CGI, 2D/3D graphical plotting, advanced numerical computing, and shell programming. Moreover, Ch has many salient features from other languages and software packages.

C is for low-level system programming and embedded systems; C++ for large-scale projects; Ch for platform-independent script computing. If your applications need high performance, you can deploy and compile your code as native code with a C/C++ compiler. For rapid application development, fast time-to-market, and running across platform without tedious compile/link cycles, Ch will be the best choice. Ch is optimal for numerical computing and visualization, embedded scripting, Web programming and plotting, safe network computing, shell programming, integration with legacy systems, integration and control of mechatronic systems, and teaching and learning.

Ch allows you to write C/C++ code once in one platform, run it in all other platforms including Windows, Linux, MacOS X, Solaris, and HP-UX.

Ch makes hard things easy and easy things easier. It overcomes the shortcomings of C/C++ compilers for:


Scripting to automate repetitive tasks and rapid prototyping
Embedded scripting
Scientific numerical computing
Unix/Windows shell programming
2D/3D graphical plotting
Web programming
Safe network computing
Interactive computing
maojunhua 2004-07-07
  • 打赏
  • 举报
回复
Many scripting languages have claimed that their syntax resembles C or C++, but they are not C or C++. Their coding style and syntax are different from C/C++. Ch is an embeddable interpreter that provides a superset of C with salient extensions. It parses and executes C code directly without intermediate code or byte code. It does not distinguish interpreted code from compiled C/C++ code. Ch is the most complete C interpreter and C virtual machine in existence. Ch is embeddable in other application programs and hardware.
很多脚本语言宣称它们的语法类似于C或C++,但是它们都不是C/C++.它们的编码风格和语法不同于C/C++.Ch是一种可嵌入解释器,它提供了C的扩展集集,带有醒目的扩展名.它不会生成中间代码或者字节机器码,而是直接解析并执行C代码.它并不分辨解释码还是编译码(应该是说它的代码和编译型的没有区别,通过后直接编译就可以运行).Ch是现有的当中最彻底的C解释器和C虚拟机.Ch可嵌入其他应用程序和硬件.
maojunhua 2004-07-07
  • 打赏
  • 举报
回复
和cygwin一样,还带了unix shell环境,常用的bash,cp,mv,vim都有

69,371

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧