A dedicated dedicated website for demonstrating the principles shown in the paper:
Autoencoders as Tools for Program Synthesis
You need to install the following packages on your machine:
- Node.js
- Yarn
- Python (3.7+)
- clang:
apt-get install clang - clang-format:
apt-get install clang-formatfor automatically formatting of generated code
Furthermore, install the packages from the requirements.txt file:
pip install -r requirements.txt
Make sure that the dependencies listed above are installed, then run
make
Verify that the file .libclang holds the correct path to libclang.so library file on your machine.
make tries to determine its location automatically, but mistakes can happen.
Edit if necessary.
- The app can be started by running
cd api && flask run
- The app can be started by running
gunicorn -w {NUMBER_OF_WORKERS} -b {ADDRESS} api.api:app - For more tips on deployment look here