CeeSpot is a software tool that compiles and executes script source using a command interpreter.
With the advancements in machine and compiler speed, compiling and linking the code only takes subsecond time, making this feature more plausible. Some examples of how to use CeeSpot are as follows:
::::::::::::::
hello-c
::::::::::::::
#!/usr/bin/ceespot
#include
int main(int argc, char **argv) {
printf("hello, worldn");
return 0;
}
::::::::::::::
hello-cxx
::::::::::::::
#!/usr/bin/ceespot
# CC = g++
#include
using namespace std;
int main(int argc, char **argv) {
cout
::::::::::::::
hello-xaw
::::::::::::::
#include
#include
main(int argc,char **argv) {
XtAppContext app_context;
Widget toplevel,hello;
toplevel = XtVaAppInitialize(&app_context,"XHello",NULL,0,
&argc,argv,NULL,NULL);
hello = XtVaCreateManagedWidget("Hello World!",labelWidgetClass,
toplevel,(void*)0);
XtRealizeWidget(toplevel);
XtAppMainLoop(app_context);
return 0;
}.
Overall, CeeSpot is highly efficient and capable of executing compiled language as a script file. It has a wide range of applications with its ability to compile code instantly, thus saving time and effort.
Version 0.1: N/A