Skip to main content

The Everything Compiler: Compiles anything you throw at it.

Project description

The Everything Compiler

Note: This is an esoteric toy. It is strictly for educational and entertainment purposes. Do not use this in production. It solves dependency hell by hallucinating the dependencies. You have been warned.

The Everything Compiler (TEC) is the final evolution of the build toolchain. It does not care about syntax, types, standard libraries, or the laws of physics. It simply takes what you wrote, assumes your intent was pure, and forces the machine to execute it.

By leveraging state-of-the-art Large Language Models, TEC bypasses the traditional "parsing" and "semantic analysis" phases, replacing them with "vibes-based transpilation."

Never Debug Again

We believe that compiler errors are a failure of imagination. Why should a missing semicolon stop your genius? Why should a type mismatch prevent your code from changing the world?

With TEC, you will never see a syntax error again. If your code is wrong, TEC assumes you defined a new language feature and compiles it anyway. The only errors you will see are the ones hallucinated by the AI, which are at least more creative than segmentation fault.

Universal Compatibility

TEC supports every language that has ever existed, and—more importantly—every language that has not existed.

Real Languages

Compile Python, C++, Rust, Go, or Swift. TEC will transpile them all to native source code—be it C, C++, or Objective-C—and force it through your local compiler (clang, gcc, cl), often ignoring your actual build system entirely.

Imaginary Languages

Have you ever wanted to code in Flux-Imaginary, DreamScript, or plain English? Now you can.

main.flx:

use io
use math

fn main() {
    print("Enter numbers (empty line to stop):")
    // ... complex logic ...
    print("Average:", avg)
}

Command:

tec .

Result: A fully compiled, optimized native binary. The compiler simply reads the file, understands you want to calculate an average, and writes the code to make it happen.

Installation

Install it directly from PyPI:

pip install the-everything-compiler

You need to have a C compiler installed on your system. TEC will try to find clang, gcc, or cl in your PATH.

Usage

Initialization

First, go to your project directory and initialize the configuration. This generates a tec.toml file where you define your AI Oracle.

tec init

Configuration

Edit tec.toml to set your API key. We support Google Gemini and OpenAI.

[ai]
service = "google"
model = "gemini-3-flash-preview"
api_key = "YOUR_KEY_HERE"
# Or preferably set TEC_API_KEY env variable

Compiling

Navigate to any directory containing source files (of any kind) and run:

tec .

Debugging

If the Oracle is feeling capricious and the code fails to compile, TEC enters a Self-Correction Loop. It feeds the compiler error back to the AI, demands a fix, and retries up to 5 times.

To see what the AI is actually writing, use the save flag:

tec . --save-intermediate

or

tec . -s

This will save tec_output_0.c, tec_output_1.c, etc., allowing you to witness the hallucination process in real-time.

Contributing

Contributions are welcome, and new demos too! But you are probably better off using your skills for something else.

License

MIT License. See LICENSE.TXT for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

the_everything_compiler-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

the_everything_compiler-0.1.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file the_everything_compiler-0.1.0.tar.gz.

File metadata

  • Download URL: the_everything_compiler-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for the_everything_compiler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1167617b57011ea1e21c5e1527141b46adf03f6dccb757c498af51dc98a42ce
MD5 981743387d9750a569dbb3b697cd7c8b
BLAKE2b-256 c9f2ac51ff5188b1ab10ec067fbf8f8240a6410c518a3a39a04bfb33debb511b

See more details on using hashes here.

File details

Details for the file the_everything_compiler-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for the_everything_compiler-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8f08b86448fbd73936a007eb4a7af754d712fa1743209951765df955b82e64
MD5 9c179786cc1b9a992487c731407ecc29
BLAKE2b-256 6a6c9526ad0e068326dbd568dd047ca6567858b85213db5d47d3695491a12480

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page