Note This is a POC (proof of concept) for more advenced tools.
CLT (C++ Live Toolkit) is subset of tools that are very light in
size, and maintained to help programmers in compiling and
executing C++ code in the fly.
Here are listed tools that are inside toolkit.
If you have idea related to this project, we will be happy if you contribute a new tool.
- C++ Live Compile Repl (C++ LCP):
Cpp fast and light in size repl program that helps to compile ideas
in the file without creating useless files. - C++ Liver:
Live is a program that monitor changes on your files and compiles
them and runs automatically, without any interaction.
To use repl compile src/toolkit/repl.cpp
.
After that, run it, you will get something like this:
CLT C++ LRC Live Repl Compiler
cpp >> std::cout << "Hi!" << "\n";
Hi!
cpp >> // thats how it works
There are two directives included by deafult:
#include<iostream>
#include<cmath>
Type C++ code and it will be compiled live fast and output file will be
automatically executed.
Avaible commands
- .help
Standard help message - .quit
Quit the repl - .clear
Clears up the code cached in the variable. - .include
every_directive
You can add by it every directive what you need - .run
Runs constructed c++ code
You need to compile: src/toolkit/live.cpp
in order to use it
Syntax of the C++ Liver program is: ./liver name_of_file.cpp
It will listen on changes in the file/files.
Liver will compile and run your code on every edit.
You can also include more files!
./liver name_of_file_1.cpp name_of_file_2.cpp name_of_file_3.cpp name_of_file_4.cpp ... name_of_file_n.cpp
Dependenices
In order to compile checkout commands included in the compile.txt
.
Every line of this file represents diffrent command subset for every tool.