Execute source files from compiled languages as scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
tastytea e4531464b5
Merge branch 'develop' into main
3 years ago
man Add --compiler, to override compiler command. 3 years ago
src Add --compiler, to override compiler command. 3 years ago
xdgcfg@9337964266 Improve build process. 3 years ago
.drone.yml Shrunk CI recipe. 4 years ago
.gitignore Initial commit. 4 years ago
.gitmodules Initial commit. 4 years ago
CMakeLists.txt Update short description in manpage and version bump 0.4.1. 3 years ago
LICENSE Initial commit. 4 years ago
README.adoc Fix manpage location. 3 years ago



compilescript allows you to execute files from compiled languages like scripts. By default it uses g++.

It compiles the source file, stores the binary in ${XDG_CACHE_HOME}/compilescript/ and executes it. If the binary in cache is newer than the source file, the compilation is skipped.


Have a look at the manpage.



Gentoo ebuilds are available via my repository.

From source


Get sourcecode

Download the current release and copy xdgcfg into xdgcfg/,

or clone with git:
git clone https://schlomp.space/tastytea/compilescript.git
cd compilescript
git submodule init
git submodule update


mkdir build
cd build
cmake ..
make install
cmake options:
  • -DCMAKE_BUILD_TYPE=Debug for a debug build

  • -DWITH_MAN=NO to not compile the manpage


Contributions are always welcome. You can submit them as pull requests or via email to tastytea@tastytea.de.

Copyright © 2018, 2019 tastytea <tastytea@tastytea.de>.
License GPLv3: GNU GPL version 3 <https://www.gnu.org/licenses/gpl-3.0.html>.
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.