摘要
为了提供一种即上网即使用的编译环境,提出了一种基于Web应用模式的在线式编译环境的设计方法。该方法设计一种中间件来无缝集成编译器等实用软件工具,将用户提交的程序在服务器端编译并运行,将运行结果返回客户端;运行时所需要的数据采用I/O重定向技术传给执行程序。实验表明,该设计方法是可行的,在线式编译环境为编程人员提供了一种便捷的开发与测试环境。
In order to provide a conveniently used compilation environment, this paper proposes a design of Web-based online compilation environment. The design integrates a set of practical software tools such as a compiler by using middleware, to compile the program submitted by the user and run it on the server, and return the results back to the user, the ran-time data is transferrd to the program via the I/0 redirection technology. Experiments show that the design is feasible, the on-line compilation environment provides the programmer with a convenient test and development environment.
出处
《计算机时代》
2015年第5期29-31,共3页
Computer Era
基金
贵州省科学技术联合基金(黔科合J字LKM[2013]20号)