Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
/ cpp-live-toolkit Public archive

C++ Live Toolkit are tools subset used to perform on-the-fly compilation and running of cpp code

Notifications You must be signed in to change notification settings

Mondonno/cpp-live-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C++ Live Toolkit

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.

List of tools

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.

C++ LCP

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

C++ Liver

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

Compilation Notes

In order to compile checkout commands included in the compile.txt.
Every line of this file represents diffrent command subset for every tool.

About

C++ Live Toolkit are tools subset used to perform on-the-fly compilation and running of cpp code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published