The AI Language
Super Script Compiler is a powerful automation tool designed to streamline your file processing workflows with the help of AI. This tool leverages advanced AI capabilities to convert pseudo-code into functional Python scripts. Whether you're dealing with regular files or AI-generated instructions, Super Script Compiler automates file handling, code generation, and change tracking, ensuring that you always stay efficient and productive.
With built-in file hash tracking, the Super Script Compiler ensures only modified or new files are processed, reducing redundancy and optimizing performance.
- AI-Powered Code Generation: Automatically converts
.ai
files containing pseudo-code into functional Python scripts. - Intelligent File Tracking: Uses file hashing to detect and process only modified or new files, saving time and resources.
- Progress Monitoring: Visual progress bars provide real-time feedback during file processing.
- Automatic Cleanup: Unused files in the source directory are automatically removed if they no longer exist in the build directory.
-
Download the Binary
Download the latest binary from the provided link and place it in your desired directory. Link: github.com/Reconfigure-In/SuperScript/releases/tag/Alpha -
Make the Binary Executable
Ensure the binary has executable permissions by running:chmod +x ./SuperScript
Before running the Super Script Compiler, ensure that your project structure includes the following directories:
build/
: Place all the files you want to process in this directory. AI-related files should have a.ai
extension.src/
: This directory will be automatically created (if not already present) and will contain the processed files. Any pseudo-code converted by the AI will be saved here as.py
files.
-
Ensure the
build
directory contains the files you want to process. -
Execute the Super Script Compiler:
./SuperScript
-
The script will process all the files in the
build
directory and output the results to thesrc
directory. You'll see progress bars and logging output in the console, showing what’s being processed, skipped, or removed.
-
Place Files: Add your source files (e.g.,
.ai
,.txt
,.py
) in thebuild
directory. -
Run the Compiler: Upon running, the compiler processes all files:
- It converts
.ai
files into Python code using AI assistance. - Non-AI files are copied directly to the
src
directory. - Unchanged files are skipped to save time.
- It converts
-
Check Output: The processed files are stored in the
src
directory. AI-generated content is saved as.py
files, while unchanged or non-AI files are copied as they are. -
Automated Cleanup: Any files in the
src
directory that no longer exist in thebuild
directory are automatically deleted.
-
Add Pseudo-Code
Create a file in thebuild/
directory namedexample.ai
with some pseudo-code:# Pseudo-code example Define a function that adds two numbers
-
Run Super Script Compiler
Execute the binary and let the AI generate Python code for the pseudo-code:./SuperScript
-
Output
Theexample.ai
file will be converted and saved asexample.py
in thesrc/
directory:# Generated Python code def add_numbers(a, b): return a + b
- Missing Build Directory: If the
build
directory is not found, the script will terminate with an error message. - Empty AI Files: Any
.ai
file that is empty will be skipped, and a warning will be logged. - Unchanged Files: Files that haven't changed since the last run are skipped, reducing unnecessary reprocessing.
Super Script Compiler is a versatile tool designed to enhance developer productivity by seamlessly integrating AI into your workflow. Whether you're managing a large project or a small script repository, this tool automates the process, ensuring efficiency with every file processed.
Start using Super Script Compiler today and let the AI handle the heavy lifting for you!