the english to anything transpiler
inspired by https://github.com/theletterf/english-lang
enc is self hosting and the english definition is at ./src/enc.en
enc transpiles plain english description of code to any other programming language, using LLMs.
for example:
provided the following examples/hello.en:
will produce the following examples/hello.rs:
there are three editions of enc here:
- the original bootstrap python
- the python version built from enc.en using the bootstrap edition
- the rust version built from enc.en using the python edition
the default edition is the rust edition
-
copy .enc.env.example to .enc.env
-
modify your LLM provider and API keys as needed
-
make build
-
make hello
there are also make targets for the -bootstrap and -python editions, such as make hello-bootstrap or make hello-python
mise is recommended for a more contained/reproducible build
the bootstrap version of enc was one-shot vibe coded with aider and gemini-2.5-pro
subsequent releases were transpiled from english by enc and gemini-2.5-pro
model prices were pulled from aider
.png)


